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

Improve CF Conformance: 5.8 Domain Variables #951

Open
5 of 6 tasks
jamesdoyle21 opened this issue Oct 3, 2022 · 3 comments
Open
5 of 6 tasks

Improve CF Conformance: 5.8 Domain Variables #951

jamesdoyle21 opened this issue Oct 3, 2022 · 3 comments
Assignees

Comments

@jamesdoyle21
Copy link

jamesdoyle21 commented Oct 3, 2022

5.8 Domain Variables
Requirements:

  • Domain variables must have a dimensions attribute.

  • The type of the dimensions attribute is a string whose value is a blank separated list of dimension names. All specified dimensions must exist in the file. The string may be empty.

  • The dimensions of each variable named by the coordinates attribute must be a subset of zero or more of the dimensions named by the dimensions attribute, with two exceptions. First, a label variable which will have a trailing dimension for the maximum string length. Second a ragged array (Chapter 9, Discrete sampling geometries and Appendix H) uses special, more indirect, methods to connect the domain and coordinates.

  • The dimensions of each variable named by the cell_measures attribute must be a subset of zero or more of the dimensions named by the dimensions attribute.

Recommendations:

  • Domain variables should have a long_name attribute.

  • Domain variables should not have any of the attributes marked in [attribute-appendix] as applicable to data variables except those which are also marked as applicable to domain variables.

@benjwadams
Copy link
Contributor

Parts of these are in the develop_1_9 branch.

@leilabbb leilabbb self-assigned this Nov 18, 2022
@benjwadams
Copy link
Contributor

...which has now been merged in. I will review the changes and update this list.

@benjwadams benjwadams self-assigned this May 22, 2024
@benjwadams
Copy link
Contributor

#1089 implements point 4/4 in required section.

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

3 participants