-
Notifications
You must be signed in to change notification settings - Fork 292
Support loading/saving netCDF with multiple coordinate systems #3388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Agreed to delay with til Iris 3, as it is no longer such a high priority for the user requesting this |
Just found that this is also has unexpected relevance to UGRID encoding. So... for regular structured data, with X+Y dimensions and 2 separate X+Y coordinates,
For example (using a rotated pole grid) ...
However...
But there is a real problem with this because, I think, the way CF is written does not envisage that you might have trouble telling apart the "main" and "aux" coords, and it does not envisage that a variables "main" coords might be true-lat-lon, and the "aux" ones in a different coordinate system. In fact, CF explicitly describes the grid-mapping as an aspect of the data, and the coords only have that context by reference. So in this case, we could add a grid-mapping on the data variable, and Iris could work out that this applies to the aux-coords with standard_names "grid_xx", and not to the "lat(long)itude" ones Whereas, if this data were to use an extended grid-mapping, that would be a good unambiguous way of encoding what it is. |
Waiting to hear that somebody would actually want this, so closing. Can be reopened if desired. |
From #4719 (comment): Encoding axis ordering in We propose a new We could potentially detect situations where this is NEEDED to make sense of the Iris also needs to be able to understand this on loading. Name of property is definitely up for debate |
Another possible thing to consider in context of this is the rotate_winds function. |
In CF-1.7 the use of the grid_mapping attribute was expanded to store multiple coordinate systems. See example 5.10
Ref (for background, if needed): trac ticket 70
We should handle reading and writing files of these types of files.
The text was updated successfully, but these errors were encountered: