-
Notifications
You must be signed in to change notification settings - Fork 64
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
Migrate to new metadata format step 1 #205
Migrate to new metadata format step 1 #205
Conversation
…se, skip optional and intent attributes for variable/type definitions
…ormat and convert back into old format, currently tested for schemes and module variable definitions, not yet for DDTs
…ct answer when checking logicals
…ype and kind definitions when initializing from a metadata table
Associated PRs: https://github.com/NCAR/FV3/pull/181 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay, could use some improvement.
…riable names that denote the start of a new variable block
…y: define and export LITERAL, use in logical expressions for array references
…py: add capability to parse variable and type definition metadata tables in new metadata format on a per-file basis
…uard to prevent using multi-dimensional character arrays
…red, this only works if all DDTs are defined in the same file and in the correct order
…tments to convert type/variable definitions and fill in dimensions, array references, ...
…e tables one by one, filling in dimension information from type definitions
…into new_metadata_format_step1_20190725
See https://github.com/NCAR/NEMSfv3gfs/pull/210 for regression testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
This PR and associated PRs enable parsing metadata in the new metadata format on a file-by-file basis. All type and variable definitions in FV3 are converted to the new metadata with the correct dimensions filled in. In addition, one physics scheme (ysuvdif.F90) is also converted to the new metadata.
Changes for ccpp-framewqork: