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

Convert all schemes to new metadata, new unit conversion micrometer<->meter, merge gsd/develop #221

Merged

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Sep 4, 2019

  • convert src/ccpp_types.F90 to new metadata format (scripts/common.py: register missing CCPP internal variables)
  • scripts/conversion_tools/unit_conversion.py: register unit conversion from micrometer to meter and vice versa
  • scripts/convert_metadata_schemes_using_typedef_dims.py: add missing variables to GFS_typedefs-based dimensions dictionary that are not used by FV3
  • scripts/metadata_parser.py: warn or raise exception (currently warn) if old metadata is found

@climbfuji
Copy link
Collaborator Author

!! | local_name | standard_name | long_name | units | rank | type | kind | intent | optional |
!! |-----------------------------------|-------------------------- |-------------------------------------------------------|---------|------|-----------|----------|--------|----------|
!! | ccpp_t | ccpp_t | definition of type ccpp_t | DDT | 0 | ccpp_t | | none | F |
!! \htmlinclude ccpp_types.html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change requires updates to the Technical Documentation (chapter 6) to reflect that ccpp_types.F90 no longer has a table. Let me know if you have time to do these changes or I can do them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please, make those changes if you can! Thanks, Dom

@ligiabernardet
Copy link
Collaborator

I am not clear on the process to create the SciDoc from all the .meta files. Does the user have to run metadata2html.py individually to convert each .meta file, or is there a more automated way to create all the .html files needed to include in the SciDoc?

@climbfuji
Copy link
Collaborator Author

climbfuji commented Sep 5, 2019 via email

…ger needed since we can parse the separate .meta files directly
Copy link
Collaborator

@grantfirl grantfirl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is still marked as a draft. I can approve what I see here if required for the VLab commit.

@climbfuji climbfuji marked this pull request as ready for review September 9, 2019 02:26
@climbfuji climbfuji requested a review from llpcarson as a code owner September 9, 2019 02:26
@climbfuji climbfuji merged commit 2d95f96 into NCAR:gmtb/develop Sep 9, 2019
@climbfuji climbfuji deleted the gmtb_develop_monster_merge_20190904 branch June 27, 2022 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants