Skip to content

Commit

Permalink
updates to populate EXPDIR and ROTDIR for JEDI hybatmDA ci (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Feb 8, 2024
1 parent 5b2f440 commit a41a0db
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ci/cases/pr/C48C48_ufs_hybatmDA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ arguments:
resensatmos: 48
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
icsdir: {{ 'ICSDIR_ROOT' | getenv }}/C96C48
icsdir: {{ 'ICSDIR_ROOT' | getenv }}/C48C48
idate: 2021032312
edate: 2021032400
nens: 2
gfs_cyc: 1
start: cold
yaml: {{ HOMEgfs }}/ci/cases/yamls/ufs_hybatmDA_defaults_ci.yaml
start: warm
yaml: {{ HOMEgfs }}/ci/cases/yamls/ufs_hybatmDA_defaults.ci.yaml

skip_ci_on_hosts:
- orion
Expand Down
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
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 workflow/setup_expt.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def link_files_from_src_to_dst(src_dir, dst_dir):
src_dir = os.path.join(inputs.icsdir, current_cycle_dir, src_atm_anl_dir)
dst_dir = os.path.join(rotdir, current_cycle_dir, dst_atm_anl_dir)
makedirs_if_missing(dst_dir)
for ftype in ['abias', 'abias_pc', 'abias_air', 'radstat']:
for ftype in ['abias', 'abias_pc', 'abias_air', 'radstat', 'atms_n20.satbias.nc4', 'atms_n20.satbias_cov.nc4', 'atms_n20.tlapse.txt' ]:
fname = f'{inputs.cdump}.t{idatestr[8:]}z.{ftype}'
src_file = os.path.join(src_dir, fname)
if os.path.exists(src_file):
Expand Down

0 comments on commit a41a0db

Please sign in to comment.