Skip to content

Commit a23b7f2

Browse files
Add JEDI 3DEnVar atmosphere only CI test stub (NOAA-EMC#2309)
1 parent cf83885 commit a23b7f2

File tree

8 files changed

+70
-10
lines changed

8 files changed

+70
-10
lines changed

ci/cases/pr/C48C48_ufs_hybatmDA.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
experiment:
2+
system: gfs
3+
mode: cycled
4+
5+
arguments:
6+
pslot: {{ 'pslot' | getenv }}
7+
app: ATM
8+
resdetatmos: 48
9+
resensatmos: 48
10+
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
11+
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
12+
idate: 2021032312
13+
edate: 2021032400
14+
nens: 2
15+
gfs_cyc: 1
16+
start: warm
17+
yaml: {{ HOMEgfs }}/ci/cases/yamls/ufs_hybatmDA_defaults.ci.yaml
18+
19+
skip_ci_on_hosts:
20+
- hera
21+
- orion
22+
- hercules
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
defaults:
2+
!INC {{ HOMEgfs }}/parm/config/gfs/yaml/defaults.yaml
3+
base:
4+
DOIAU: "NO"
5+
DO_JEDIATMVAR: "YES"
6+
DO_JEDIATMENS: "YES"
7+
ACCOUNT: {{ 'SLURM_ACCOUNT' | getenv }}
8+
esfc:
9+
DONST: "NO"
10+
nsst:
11+
NST_MODEL: "1"
12+
sfcanl:
13+
DONST: "NO"
14+

parm/config/gfs/config.base.emc.dyn

+7
Original file line numberDiff line numberDiff line change
@@ -397,4 +397,11 @@ export FITSARC="YES"
397397
export FHMAX_FITS=132
398398
[[ "${FHMAX_FITS}" -gt "${FHMAX_GFS}" ]] && export FHMAX_FITS=${FHMAX_GFS}
399399

400+
# The monitor jobs are not yet supported for JEDIATMVAR
401+
if [[ ${DO_JEDIATMVAR} = "YES" ]]; then
402+
export DO_VERFOZN="NO" # Ozone data assimilation monitoring
403+
export DO_VERFRAD="NO" # Radiance data assimilation monitoring
404+
export DO_VMINMON="NO" # GSI minimization monitoring
405+
fi
406+
400407
echo "END: config.base"

parm/config/gfs/config.esfc

+5
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ if [ $DOIAU_ENKF = "YES" ]; then
1616
export DOSFCANL_ENKF="NO"
1717
fi
1818

19+
# Turn off NST in JEDIATMENS
20+
if [[ "${DO_JEDIATMENS}" == "YES" ]]; then
21+
export DONST="NO"
22+
fi
23+
1924
echo "END: config.esfc"

parm/config/gfs/config.nsst

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ echo "BEGIN: config.nsst"
1010
# nstf_name(1) : NST_MODEL (NSST Model) : 0 = OFF, 1 = ON but uncoupled, 2 = ON and coupled
1111
export NST_MODEL=2
1212

13+
# Set NST_MODEL for JEDIATMVAR or JEDIATMENS
14+
if [[ "${DO_JEDIATMVAR}" == "YES" || "${DO_JEDIATMENS}" == "YES" ]]; then
15+
export NST_MODEL=1
16+
fi
17+
1318
# nstf_name(2) : NST_SPINUP : 0 = OFF, 1 = ON,
1419
export NST_SPINUP=0
1520
cdate="${PDY}${cyc}"

parm/config/gfs/config.resources

+11-9
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ case ${step} in
9191
;;
9292

9393
"prepatmiodaobs")
94-
export wtime_prepatmiodaobs="00:10:00"
94+
export wtime_prepatmiodaobs="00:30:00"
9595
export npe_prepatmiodaobs=1
9696
export nth_prepatmiodaobs=1
9797
export npe_node_prepatmiodaobs=$(( npe_node_max / nth_prepatmiodaobs ))
@@ -196,8 +196,8 @@ case ${step} in
196196

197197
"atmanlinit")
198198
# make below case dependent later
199-
export layout_x=1
200-
export layout_y=1
199+
export layout_x=8
200+
export layout_y=8
201201

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

213213
"atmanlrun")
214214
# make below case dependent later
215-
export layout_x=1
216-
export layout_y=1
215+
export layout_x=8
216+
export layout_y=8
217217

218218
export wtime_atmanlrun="00:30:00"
219219
export npe_atmanlrun=$(( layout_x * layout_y * 6 ))
220220
export npe_atmanlrun_gfs=$(( layout_x * layout_y * 6 ))
221221
export nth_atmanlrun=1
222222
export nth_atmanlrun_gfs=${nth_atmanlrun}
223223
export npe_node_atmanlrun=$(( npe_node_max / nth_atmanlrun ))
224+
export memory_atmanlrun="96GB"
224225
export is_exclusive=True
225226
;;
226227

@@ -829,8 +830,8 @@ case ${step} in
829830

830831
"atmensanlinit")
831832
# make below case dependent later
832-
export layout_x=1
833-
export layout_y=1
833+
export layout_x=8
834+
export layout_y=8
834835

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

842843
"atmensanlrun")
843844
# make below case dependent later
844-
export layout_x=1
845-
export layout_y=1
845+
export layout_x=8
846+
export layout_y=8
846847

847848
export wtime_atmensanlrun="00:30:00"
848849
export npe_atmensanlrun=$(( layout_x * layout_y * 6 ))
849850
export npe_atmensanlrun_gfs=$(( layout_x * layout_y * 6 ))
850851
export nth_atmensanlrun=1
851852
export nth_atmensanlrun_gfs=${nth_atmensanlrun}
852853
export npe_node_atmensanlrun=$(( npe_node_max / nth_atmensanlrun ))
854+
export memory_atmensanlrun="96GB"
853855
export is_exclusive=True
854856
;;
855857

parm/config/gfs/config.sfcanl

+5
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ echo "BEGIN: config.sfcanl"
88
# Get task specific resources
99
. $EXPDIR/config.resources sfcanl
1010

11+
# Turn off NST in JEDIATMVAR
12+
if [[ "${DO_JEDIATMVAR}" == "YES" ]]; then
13+
export DONST="NO"
14+
fi
15+
1116
echo "END: config.sfcanl"

ush/python/pygfs/task/atm_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def initialize(self: Analysis) -> None:
9494
'NMEM_ENS', 'DATA', 'current_cycle', 'ntiles']
9595
for key in keys:
9696
localconf[key] = self.task_config[key]
97-
localconf.RUN = 'enkf' + self.task_config.RUN
97+
localconf.RUN = 'enkfgdas'
9898
localconf.dirname = 'ens'
9999
FileHandler(self.get_fv3ens_dict(localconf)).sync()
100100

0 commit comments

Comments
 (0)