Skip to content

Commit

Permalink
Add JEDI 3DEnVar atmosphere only CI test stub (NOAA-EMC#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Feb 16, 2024
1 parent cf83885 commit a23b7f2
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 10 deletions.
22 changes: 22 additions & 0 deletions ci/cases/pr/C48C48_ufs_hybatmDA.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
experiment:
system: gfs
mode: cycled

arguments:
pslot: {{ 'pslot' | getenv }}
app: ATM
resdetatmos: 48
resensatmos: 48
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
idate: 2021032312
edate: 2021032400
nens: 2
gfs_cyc: 1
start: warm
yaml: {{ HOMEgfs }}/ci/cases/yamls/ufs_hybatmDA_defaults.ci.yaml

skip_ci_on_hosts:
- hera
- orion
- hercules
14 changes: 14 additions & 0 deletions ci/cases/yamls/ufs_hybatmDA_defaults.ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
defaults:
!INC {{ HOMEgfs }}/parm/config/gfs/yaml/defaults.yaml
base:
DOIAU: "NO"
DO_JEDIATMVAR: "YES"
DO_JEDIATMENS: "YES"
ACCOUNT: {{ 'SLURM_ACCOUNT' | getenv }}
esfc:
DONST: "NO"
nsst:
NST_MODEL: "1"
sfcanl:
DONST: "NO"

7 changes: 7 additions & 0 deletions parm/config/gfs/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -397,4 +397,11 @@ export FITSARC="YES"
export FHMAX_FITS=132
[[ "${FHMAX_FITS}" -gt "${FHMAX_GFS}" ]] && export FHMAX_FITS=${FHMAX_GFS}

# The monitor jobs are not yet supported for JEDIATMVAR
if [[ ${DO_JEDIATMVAR} = "YES" ]]; then
export DO_VERFOZN="NO" # Ozone data assimilation monitoring
export DO_VERFRAD="NO" # Radiance data assimilation monitoring
export DO_VMINMON="NO" # GSI minimization monitoring
fi

echo "END: config.base"
5 changes: 5 additions & 0 deletions parm/config/gfs/config.esfc
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ if [ $DOIAU_ENKF = "YES" ]; then
export DOSFCANL_ENKF="NO"
fi

# Turn off NST in JEDIATMENS
if [[ "${DO_JEDIATMENS}" == "YES" ]]; then
export DONST="NO"
fi

echo "END: config.esfc"
5 changes: 5 additions & 0 deletions parm/config/gfs/config.nsst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ echo "BEGIN: config.nsst"
# nstf_name(1) : NST_MODEL (NSST Model) : 0 = OFF, 1 = ON but uncoupled, 2 = ON and coupled
export NST_MODEL=2

# Set NST_MODEL for JEDIATMVAR or JEDIATMENS
if [[ "${DO_JEDIATMVAR}" == "YES" || "${DO_JEDIATMENS}" == "YES" ]]; then
export NST_MODEL=1
fi

# nstf_name(2) : NST_SPINUP : 0 = OFF, 1 = ON,
export NST_SPINUP=0
cdate="${PDY}${cyc}"
Expand Down
20 changes: 11 additions & 9 deletions parm/config/gfs/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ case ${step} in
;;

"prepatmiodaobs")
export wtime_prepatmiodaobs="00:10:00"
export wtime_prepatmiodaobs="00:30:00"
export npe_prepatmiodaobs=1
export nth_prepatmiodaobs=1
export npe_node_prepatmiodaobs=$(( npe_node_max / nth_prepatmiodaobs ))
Expand Down Expand Up @@ -196,8 +196,8 @@ case ${step} in

"atmanlinit")
# make below case dependent later
export layout_x=1
export layout_y=1
export layout_x=8
export layout_y=8

export layout_gsib_x=$(( layout_x * 3 ))
export layout_gsib_y=$(( layout_y * 2 ))
Expand All @@ -212,15 +212,16 @@ case ${step} in

"atmanlrun")
# make below case dependent later
export layout_x=1
export layout_y=1
export layout_x=8
export layout_y=8

export wtime_atmanlrun="00:30:00"
export npe_atmanlrun=$(( layout_x * layout_y * 6 ))
export npe_atmanlrun_gfs=$(( layout_x * layout_y * 6 ))
export nth_atmanlrun=1
export nth_atmanlrun_gfs=${nth_atmanlrun}
export npe_node_atmanlrun=$(( npe_node_max / nth_atmanlrun ))
export memory_atmanlrun="96GB"
export is_exclusive=True
;;

Expand Down Expand Up @@ -829,8 +830,8 @@ case ${step} in

"atmensanlinit")
# make below case dependent later
export layout_x=1
export layout_y=1
export layout_x=8
export layout_y=8

export wtime_atmensanlinit="00:10:00"
export npe_atmensanlinit=1
Expand All @@ -841,15 +842,16 @@ case ${step} in

"atmensanlrun")
# make below case dependent later
export layout_x=1
export layout_y=1
export layout_x=8
export layout_y=8

export wtime_atmensanlrun="00:30:00"
export npe_atmensanlrun=$(( layout_x * layout_y * 6 ))
export npe_atmensanlrun_gfs=$(( layout_x * layout_y * 6 ))
export nth_atmensanlrun=1
export nth_atmensanlrun_gfs=${nth_atmensanlrun}
export npe_node_atmensanlrun=$(( npe_node_max / nth_atmensanlrun ))
export memory_atmensanlrun="96GB"
export is_exclusive=True
;;

Expand Down
5 changes: 5 additions & 0 deletions parm/config/gfs/config.sfcanl
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ echo "BEGIN: config.sfcanl"
# Get task specific resources
. $EXPDIR/config.resources sfcanl

# Turn off NST in JEDIATMVAR
if [[ "${DO_JEDIATMVAR}" == "YES" ]]; then
export DONST="NO"
fi

echo "END: config.sfcanl"
2 changes: 1 addition & 1 deletion ush/python/pygfs/task/atm_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def initialize(self: Analysis) -> None:
'NMEM_ENS', 'DATA', 'current_cycle', 'ntiles']
for key in keys:
localconf[key] = self.task_config[key]
localconf.RUN = 'enkf' + self.task_config.RUN
localconf.RUN = 'enkfgdas'
localconf.dirname = 'ens'
FileHandler(self.get_fv3ens_dict(localconf)).sync()

Expand Down

0 comments on commit a23b7f2

Please sign in to comment.