Skip to content

Commit

Permalink
Refactor UFSDA ATM var and ens layout (NOAA-EMC#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA authored Oct 24, 2023
1 parent 8940add commit e2c624d
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
7 changes: 2 additions & 5 deletions parm/config/gfs/config.atmanl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ export STATICB_TYPE="gsibec"
export BERROR_YAML=${HOMEgfs}/sorc/gdas.cd/parm/atm/berror/staticb_${STATICB_TYPE}.yaml
export INTERP_METHOD='barycentric'

export layout_x=1
export layout_y=1

export io_layout_x=1
export io_layout_y=1
export io_layout_x=@IO_LAYOUT_X@
export io_layout_y=@IO_LAYOUT_Y@

export JEDIEXE=${HOMEgfs}/exec/fv3jedi_var.x

Expand Down
7 changes: 2 additions & 5 deletions parm/config/gfs/config.atmensanl
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ export OBS_LIST=${HOMEgfs}/sorc/gdas.cd/parm/atm/obs/lists/lgetkf_prototype.yaml
export ATMENSYAML=${HOMEgfs}/sorc/gdas.cd/parm/atm/lgetkf/lgetkf.yaml
export INTERP_METHOD='barycentric'

export layout_x=1
export layout_y=1

export io_layout_x=1
export io_layout_y=1
export io_layout_x=@IO_LAYOUT_X@
export io_layout_y=@IO_LAYOUT_Y@

export JEDIEXE=${HOMEgfs}/exec/fv3jedi_letkf.x

Expand Down
13 changes: 13 additions & 0 deletions parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,15 @@ elif [[ ${step} = "waveawipsgridded" ]]; then

elif [[ "${step}" = "atmanlinit" ]]; then

# make below case dependent later
export layout_x=1
export layout_y=1

layout_gsib_x=$(echo "${layout_x} * 3" | bc)
export layout_gsib_x
layout_gsib_y=$(echo "${layout_y} * 2" | bc)
export layout_gsib_y

export wtime_atmanlinit="00:10:00"
export npe_atmanlinit=1
export nth_atmanlinit=1
Expand Down Expand Up @@ -790,6 +799,10 @@ elif [[ ${step} = "stage_ic" ]]; then

elif [[ "${step}" = "atmensanlinit" ]]; then

# make below case dependent later
export layout_x=1
export layout_y=1

export wtime_atmensanlinit="00:10:00"
export npe_atmensanlinit=1
export nth_atmensanlinit=1
Expand Down
8 changes: 8 additions & 0 deletions parm/config/gfs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ base:
DO_JEDILANDDA: "NO"
DO_MERGENSST: "NO"

atmanl:
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1

atmensanl:
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1

aeroanl:
IO_LAYOUT_X: 1
IO_LAYOUT_Y: 1
Expand Down

0 comments on commit e2c624d

Please sign in to comment.