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

Remove optional arguments from CCPP framework/metadata #415

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Oct 25, 2021

Description

This PR removes invalid optional and intent attributes from the CCPP metadata in GFS_typedefs.meta. Metadata for variable/derived data type definitions do not use these attributes (they do not make sense there), only CCPP schemes use(d) them.

Submodule pointers for ccpp-framework and ccpp-physics are updated to remove support the optional attribute in the CCPP framework/metadata. The implementation of optional in CCPP was always flaky and we now have a better way to deal with potentially unallocated variables (active attribute).

Issue(s) addressed

Fixes NCAR/ccpp-framework#407

Testing

For regression testing with the UFS, see ufs-community/ufs-weather-model#887.

Dependencies

NCAR/ccpp-framework#408
earth-system-radiation/rte-rrtmgp#143
NCAR/ccpp-physics#763
#415
ufs-community/ufs-weather-model#887

Associated SCM PR: MISSING

Copy link
Collaborator

@junwang-noaa junwang-noaa left a comment

Choose a reason for hiding this comment

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

Looks good to me, will approve when it's time for commit

@climbfuji
Copy link
Collaborator Author

Superseded by #416.

@climbfuji climbfuji closed this Nov 4, 2021
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.

Remove optional keyword from CCPP metadata (8 hours)
2 participants