You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if plotting routines support other CRS than the default lat-long.
The current plotting code using GeoDataFrame assumes that the CRS is in lat-long. Model data are not always in lat-long, and it is good to keep the original coordinate system in the visualization, though the data coordinate system can be converted into lat-long before plotting.
I think passing a CRS to the plotting routines can provide a way to do this.
Thanks for pointing to issue 840. It is very helpful. The issue looks like more about projections of plots, not the CRS of the data.
I will create a MVCE data for this later.
@philipc2 I looked through the codes, and I realized that this is more than just plotting. _read_ugrid assumes the coordinates are in lat and long, so, the variable names are renamed. It appears that uxarray works with a geographic coordinate system mostly, and I see no simple way to use other coordinate systems like UTM with uxarray so far. I guess I need to ponder a bit more about this. Any advice on this will be appreciated.
Activity
philipc2 commentedon Jul 10, 2024
There's some discussion about this in #840
Do you have a dataset example that is in a different projection I could use for testing?
kjnam commentedon Jul 10, 2024
Thanks for pointing to issue 840. It is very helpful. The issue looks like more about projections of plots, not the CRS of the data.
I will create a MVCE data for this later.
kjnam commentedon Jul 10, 2024
@philipc2 I looked through the codes, and I realized that this is more than just plotting.
_read_ugridassumes the coordinates are in lat and long, so, the variable names are renamed. It appears thatuxarrayworks with a geographic coordinate system mostly, and I see no simple way to use other coordinate systems like UTM with uxarray so far. I guess I need to ponder a bit more about this. Any advice on this will be appreciated.