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
gold2718
left a comment
There was a problem hiding this comment.
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" |
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/ufsatm#81
ufs-community/ufs-weather-model#84
See ufs-community/ufs-weather-model#84 for regression testing information.