-
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
Update master from dtc/develop 2020/03/17 #268
Update master from dtc/develop 2020/03/17 #268
Conversation
…ated unit conversions in ccpp_prebuild.py
…from new to old metadata
…d_20200111 master: fix travis build
…ster dtc/develop: update from master 2020/01/27
dtc/develop: combined PR with bugfixes for ccpp_prebuild.py
fb13ec5
to
5d5f8ec
Compare
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.
This looks okay but in investigating the change, I came across this comment in ccpp_prebuild:
each variable can be passed to a subroutine only once, there can be no overlapping/conflicting
Does this mean there should be a check that no subroutine has two dummy arguments with the same standard_name
property? I do not think I have such a check now. The only use cases I can think of are to do unit conversion or kind conversion but the framework should handle both of those.
Yes, that is correct - a standard_name can only appear once in the metadata for a specific subroutine. This would be a dangerous feature to have - what happens if both variables were modified inside in a different way? |
That is obviously a bad thing but what if one was |
Update: That check is already active because a scheme's variables are in a As Emily Litella said, "Never mind" |
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
See ufs-community/ufs-weather-model#84 for a description of the changes.
Associated PRs:
NOAA-EMC/NEMS#43
NCAR/ccpp-physics#410
#268
NOAA-EMC/fv3atm#81
ufs-community/ufs-weather-model#84
See ufs-community/ufs-weather-model#84 for regression testing information.