-
Notifications
You must be signed in to change notification settings - Fork 33
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
avoid attributes of bounds of auxilliary coordinates (vertices_latitudes
/ vertices_longitude
)
#729
Comments
vertices_latitudes
/ vertices_longitude
)
vertices_latitudes
/ vertices_longitude
)vertices_latitudes
/ vertices_longitude
)
vertices_latitudes
/ vertices_longitude
)vertices_latitudes
/ vertices_longitude
)
@larsbuntemeyer my reading of the CF conventions section 7.1 on cell boundaries includes
The I note that the examples in the CF conventions documentation are fairly minimal in the attributes included for the bounds variables. It might be useful if there were some more expansive examples, but I can see that it would also be valuable to keep that document concise. |
Thanks @matthew-mizielinski for the link. I think you are right and the output should be fine and compliant. I was unsure, because cf-checker and also compliance-checker give me same warnings for my examples (and also the MPI file) about that those attributes should not be there. However, i guess that those details might not be implemented. I'll go and maybe search their issues... |
Ok, it seems to have been a recommendation before CF-1.11 that
which has change in latest recommendation of CF-1.11 (December 2023) to
That just simply doesn't seem to be implemented in the compliance-checker yet... |
@larsbuntemeyer @matthew-mizielinski You said "Even if i remove the units attribute, it will write some original_units attribute." How did you remove the units attribute? Did you edit the cmip6_grids.json file? I would have thought we could easily remove the "units" attribute for vertices by simply setting |
If i check for CF-1.7, it correctly warns:
gives
I think the warning about the cell boundaries here is correct for CF-1.7 but relaxed since CF-1.11. They are not misleading but i wouldn't know how to get rid of them if wanted to cmorize today for CF-1.7 conventions.
Yes, that's what i tried, i set |
For example in MPI ocean model grids, there is an auxilliary 2D coordinate
longitude
/latitude
that has boundsvertices_longitude
/vertices_latitude
with attributesunits
,missing_value
and_FillValue
:It seems that those bounds shouldn't have any attributes, at least, according to CF conventions. For upcoming CORDEX cmor tables, we will heavily use auxilliary coordinates. My issue is: does the cmor API, e.g., for cmor_grid allow to avoid writing
missing_value
and_FillValue
. Even if i remove theunits
attribute, it will write someoriginal_units
attribute.The text was updated successfully, but these errors were encountered: