NOAA-EMC / global-workflow

Global Superstructure/Workflow supporting the Global Forecast System (GFS)
https://global-workflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
70 stars 161 forks source link

Create the input.nml file from global_control.nml.IN template #2733

Open dpsarmie opened 3 days ago

dpsarmie commented 3 days ago

Description

This PR aims to bridge the GW ad regression test workflow. The regression tests have a new global_control.nml.IN for all global regression tests. The idea is to allow the GW framework to use this template to generate the input.nml that is used in the GW.

By pulling from a unified namelist, changes made on the regression test side can easily be added to the GW side and vice versa.

The parsing scripts in ./ush/ will be changed to use atparse to generate the input.nml file from the global_control.nml.IN namelist.

This PR will resolve #2731 and https://github.com/ufs-community/ufs-weather-model/issues/1664.

Type of change

Change characteristics

How has this been tested?

Checklist

dpsarmie commented 3 days ago

This is currently a work in progress. The UFS regression tests are currently being updated to work with GFSv17 and officially deprecating v16. This will probably cause changes to the global namelist template, so this will remain a draft until then.

Once I'm done updating the RT side and have a finalized global_control.nml.IN file, I'll circle back to this and finish up the rest.

The commit should be ~90% of the way there. Jun and I wanted to get this PR posted in case other people on the GW side wanted to look at the changes and to gather any input.

The global_control.nml.IN file added here will be removed in the final commit (just here for testing). The 'unified' namelist will be on the UFS regression test side once the PR is complete.