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

I/O: Add standard name metadata to all output variables - Re: CF-Compliance #2937

Open
AaronDonahue opened this issue Aug 5, 2024 · 1 comment

Comments

@AaronDonahue
Copy link
Contributor

We have been talking about making our output CF-Compliant for awhile. I'm adding this Issue so we can track that effort.

My understanding is that we simply need to add the standard_name metadata to a variable to make it CF-Compliant. The trick is that we would want to ensure that every variable has the correct "standard name" according to the CF guidlines, see https://cfconventions.org/Data/cf-standard-names/current/build/cf-standard-name-table.html

Ideas we have considered:

  • Add a "standard_name" internal variable to the field class that can be set by add_field
  • Have a lookup dictionary available to I/O that will check an EAMxx field name for a predefined standard name.
@bartgol
Copy link
Contributor

bartgol commented Aug 6, 2024

I don't see a reason to add more internal data to the class, since nobody would ever look at it, except I/O. I thought we already started this effort via the LongNames attribute of AtmosphereOutput. Isn't that what option 2 is about? Maybe we should simply expand that map...

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

No branches or pull requests

2 participants