What is the best way to deal with multiple models using different components within the SRW App? #602
Replies: 6 comments 6 replies
-
Although having one cfg file looks nicer, I believe option one would be more practical. |
Beta Was this translation helpful? Give feedback.
-
@MatthewPyle-NOAA @aerorahul Could you provide any clarity here on what NCO will require? I've been assuming that since git submodules give you everything no matter what you compile, getting everything from SRW would be the same, even though it's managed with manage_externals. |
Beta Was this translation helpful? Give feedback.
-
Page 17 of the NCO EE2 standards document here states the following: 10. Remove all references to developer work areas and all development tools (benchmarking, etc.) There should be no development tools, scripts, or source code that does not result in an executable or function in the operational suite. Exceptions are granted on a case-by-case basis, and should not be used to circumvent the requirement. |
Beta Was this translation helpful? Give feedback.
-
So, when we clone the model as an external, we get all of the subcomponents of that, but compile only a very few of those. I'm curious how this might be different at the App level. |
Beta Was this translation helpful? Give feedback.
-
There is a mechanism in the SRW build that only builds the necessary components for a given system (RRFS, CMAQ, etc.). We are trying to get at whether it makes sense to clone all the code bases, though, whether they're used or not. |
Beta Was this translation helpful? Give feedback.
-
I am a fan of keeping it simple. Why not different externals.cfg files for different configurations? I know you want to keep the model moving along with the different configurations but that can be a best practice to do this at the same time for all the configurations (we probably only have a handful). Why over complicate something that does not need to? |
Beta Was this translation helpful? Give feedback.
-
Currently, this isn't an issue for the ufs-srweather-app repository. However, once the Online-CMAQ, RRFS, and RRFS-WRF-Hydro systems are integrated into the ufs-srweather-app repository, there might be push back from NCO with respect to cloning more components than are needed for each system. Two possible ways to deal with this are:
./manage_externals/checkout_externals ufs_utils ufs-weather-model arl_nexus aqm-utils
within the aqm_manage_externals script.
Are there any preference with respect to which of these methods to use? Are there any other options that would work better than these? This is simply to open the floor for discussion in case this becomes an issue in the future (topic started through discussions in PR #549).
Beta Was this translation helpful? Give feedback.
All reactions