uxarray icon indicating copy to clipboard operation
uxarray copied to clipboard

Support other coordinate systems

Open kjnam opened this issue 11 months ago • 5 comments

Proposed new feature or change:

Hi, I believe uxarray uses the lat/long coordinate system internally. It would be awesome if uxarray can support different coordinate systems including projected coordinate systems. (There are different lat/long geographical coordinate system as well.) This may be a bit out of scope of uxarray, but it is often convenient to use local coordinate systems and to keep the original coordinate systems for a small domain. Thanks for the great work!

kjnam avatar Mar 02 '24 00:03 kjnam

Hi @kjnam

This is definitely something that we've considered, especially given some of our visualization efforts.

I'll bring this up during our next group meeting!

philipc2 avatar Mar 04 '24 04:03 philipc2

@philipc2 Thanks. 👍 Looking forward to it. Since we use local projected coordinate systems often in our simulations, this is important when we use uxarray plotting routines. Maybe we can start with a flag that prevents clipping and antemeridian with the lat/long assumption.

kjnam avatar Mar 04 '24 16:03 kjnam

@philipc2 Thanks. 👍 Looking forward to it. Since we use local projected coordinate systems often in our simulations, this is important when we use uxarray plotting routines. Maybe we can start with a flag that prevents clipping and antemeridian with the lat/long assumption.

Would you happen to have a sample grid that I could take a look into?

philipc2 avatar Mar 04 '24 21:03 philipc2

@philipc2 This is from a hypothetical case, which does not have a coordinate system; https://cadwr.box.com/s/usbnppoi27036jq8hji7qig4gxinidhc. I guess you can try this.

kjnam avatar Mar 04 '24 21:03 kjnam

https://cadwr.box.com/s/usbnppoi27036jq8hji7qig4gxinidhc

Thanks! I'll give this a look.

philipc2 avatar Mar 04 '24 21:03 philipc2