Skip to content
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

A cube should only have a coord-system through dim-coords #6051

Open
pp-mo opened this issue Jul 15, 2024 · 0 comments
Open

A cube should only have a coord-system through dim-coords #6051

pp-mo opened this issue Jul 15, 2024 · 0 comments

Comments

@pp-mo
Copy link
Member

pp-mo commented Jul 15, 2024

Currently, a cube cube will have a coord-system if any of its coords do.
It is the first found, looking at dim-coords first.

But I think that is really a mistake.
When we support the extended grid-mapping syntax, it will become possible for auxcoords to have a coord system, but this would not be the "coord-system of the cube".

So I think the cube coord-system "of a cube" should be that of its dim-coords only, or None.

For example, if the cube is on a projection grid, it will typically also have 2d "true" lats+lons as aux-coords.
If the dim-coords don't have a coord system (for some reason), the cube should not report that it is "on" a latlon grid, as that would be definitely wrong.

Relates: #3388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant