Add imp_physics and landsfcmdl to gaussian sfcanl attributes (#147)#148
Conversation
|
Tagging @BrianCurtis-NOAA @barlage for awareness. |
|
The fix and code changes make sense to accomplish a fix to the problem identified. If you need an "official" review (that will allow merge), make sure you give me the necessary permissions. On another note (read: learning moment): Is there a need to make the attributes of nc files that deal with the surface consistent across the UFSWM/GFS etc spectrum, or would that cause more problems? The difference of adding |
|
@BrianCurtis-NOAA - Thanks for taking a look.
I generally think consistency across files that are similar types is important, though I don't think there's a strict requirement. At this point in v17 development, I would hesitate to make more changes than necessary, but looking forward to post-v17, consistency across these files should be more closely considered. The UPP is used for both the forecast and analysis files, so at minimum we should make sure that the files have the needed variables so that UPP can treat the forecast and analysis consistently, which relates to your next comment:
This is correct. The gaussian_sfcanl utility itself does not do anything with these variables, which I'm guessing is why they weren't included in the first place. But adding them as attributes to the resulting gaussian grid sfcanl file allows for the UPP to compute certain fields consistently with the model forecast. |
|
@aerorahul - Any other tests or suggestions? |
Nopes. This works for v17. |
Description
The gaussian grid sfcanl file does not have the needed global attributes for upp. The attributes of imp_physics and landsfcmdl are missing and needed for upp to compute cloud and land fields consistently with the model. Upp assumes default values but the imp_physics default is inconsistent with what is used in GFSv17.
Resolves #147
Refs NOAA-EMC/global-workflow#4113
Type of change
Change characteristics
How has this been tested?
Global-workflow CI tests (including cycling) on WCOSS2 as well as standalone UPP tests by @WenMeng-NOAA
Checklist