Skip to content

Commit

Permalink
Make JEDI cycling toggle switches YAML configurable and their names m…
Browse files Browse the repository at this point in the history
…ore explicit (#1607)

* make some JEDI cycling options configurable through YAML
  • Loading branch information
CoryMartin-NOAA committed May 12, 2023
1 parent a8edbc7 commit 255d99b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions parm/config/gefs/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ export imp_physics=@IMP_PHYSICS@

# Shared parameters
# DA engine
export DO_JEDIVAR="NO"
export DO_JEDIENS="NO"
export DO_JEDIATMVAR="NO"
export DO_JEDIATMENS="NO"
export DO_JEDIOCNVAR="NO"
export DO_JEDILANDDA="NO"
export DO_MERGENSST="NO"
Expand Down
10 changes: 5 additions & 5 deletions parm/config/gfs/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,11 @@ export imp_physics=@IMP_PHYSICS@

# Shared parameters
# DA engine
export DO_JEDIVAR="NO"
export DO_JEDIENS="NO"
export DO_JEDIOCNVAR="NO"
export DO_JEDILANDDA="NO"
export DO_MERGENSST="NO"
export DO_JEDIATMVAR="@DO_JEDIATMVAR@"
export DO_JEDIATMENS="@DO_JEDIATMENS@"
export DO_JEDIOCNVAR="@DO_JEDIOCNVAR@"
export DO_JEDILANDDA="@DO_JEDILANDDA@"
export DO_MERGENSST="@DO_MERGENSST@"

# Hybrid related
export DOHYBVAR="@DOHYBVAR@"
Expand Down
4 changes: 2 additions & 2 deletions parm/config/gfs/config.base.nco.static
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ export imp_physics=8

# Shared parameters
# DA engine
export DO_JEDIVAR="NO"
export DO_JEDIENS="NO"
export DO_JEDIATMVAR="NO"
export DO_JEDIATMENS="NO"

# Hybrid related
export DOHYBVAR="YES"
Expand Down
6 changes: 6 additions & 0 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
base:
DO_JEDIATMVAR: "NO"
DO_JEDIATMENS: "NO"
DO_JEDIOCNVAR: "NO"
DO_JEDILANDDA: "NO"
DO_MERGENSST: "NO"
aeroanl:
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1
Expand Down
4 changes: 2 additions & 2 deletions workflow/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def __init__(self, conf: Configuration) -> None:
self.do_vrfy = _base.get('DO_VRFY', True)
self.do_fit2obs = _base.get('DO_FIT2OBS', True)
self.do_metp = _base.get('DO_METP', False)
self.do_jediatmvar = _base.get('DO_JEDIVAR', False)
self.do_jediatmens = _base.get('DO_JEDIENS', False)
self.do_jediatmvar = _base.get('DO_JEDIATMVAR', False)
self.do_jediatmens = _base.get('DO_JEDIATMENS', False)
self.do_jediocnvar = _base.get('DO_JEDIOCNVAR', False)
self.do_jedilandda = _base.get('DO_JEDILANDDA', False)
self.do_mergensst = _base.get('DO_MERGENSST', False)
Expand Down

0 comments on commit 255d99b

Please sign in to comment.