Skip to content

Commit

Permalink
Parameterize some things in config.atmanl and config.atmensanl (NOAA-…
Browse files Browse the repository at this point in the history
…EMC#2661)

This PR adds some parameters in config.atmanl and config.atmensanl that
can be altered with the defaults.yaml. The motivation is to make these
files match those in the GDASApp JJOB tests (example:
https://github.com/NOAA-EMC/GDASApp/blob/develop/test/atm/global-workflow/config.atmanl),
so we can just use the Global Workflow config.atmanl and
config.atmensanl in the tests rather than custom ones in GDASApp that
have to be separately updated every time the ones in the Global Workflow
are updated.
  • Loading branch information
DavidNew-NOAA authored Jun 6, 2024
1 parent 54ea0b7 commit acf3aaa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions parm/config/gfs/config.atmanl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
echo "BEGIN: config.atmanl"

export JCB_BASE_YAML="${PARMgfs}/gdas/atm/jcb-base.yaml.j2"
export JCB_ALGO_YAML="${PARMgfs}/gdas/atm/jcb-prototype_3dvar.yaml.j2"
export JCB_ALGO_YAML=@JCB_ALGO_YAML@

export STATICB_TYPE="gsibec"
export STATICB_TYPE=@STATICB_TYPE@
export LOCALIZATION_TYPE="bump"
export INTERP_METHOD='barycentric'

Expand Down
2 changes: 1 addition & 1 deletion parm/config/gfs/config.atmensanl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
echo "BEGIN: config.atmensanl"

export JCB_BASE_YAML="${PARMgfs}/gdas/atm/jcb-base.yaml.j2"
export JCB_ALGO_YAML="${PARMgfs}/gdas/atm/jcb-prototype_lgetkf.yaml.j2"
export JCB_ALGO_YAML=@JCB_ALGO_YAML@

export INTERP_METHOD='barycentric'

Expand Down
3 changes: 3 additions & 0 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ base:
FHMAX_ENKF_GFS: 12

atmanl:
JCB_ALGO_YAML: "${PARMgfs}/gdas/atm/jcb-prototype_3dvar.yaml.j2"
STATICB_TYPE: "gsibec"
LAYOUT_X_ATMANL: 8
LAYOUT_Y_ATMANL: 8
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1

atmensanl:
JCB_ALGO_YAML: "${PARMgfs}/gdas/atm/jcb-prototype_lgetkf.yaml.j2"
LAYOUT_X_ATMENSANL: 8
LAYOUT_Y_ATMENSANL: 8
IO_LAYOUT_X: 1
Expand Down

0 comments on commit acf3aaa

Please sign in to comment.