Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
6848443
Initial-ish commit (manual rebase)
DavidNew-NOAA Jan 15, 2025
a93f906
Update gdas hash
DavidNew-NOAA Jan 15, 2025
43cce97
Missed one file from manual rebase
DavidNew-NOAA Jan 15, 2025
fbed521
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 15, 2025
457518c
Save progress
DavidNew-NOAA Jan 15, 2025
bef05e9
Cleanup whitespace and update GDAS hash
DavidNew-NOAA Jan 17, 2025
6e9080a
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 17, 2025
6bcbc12
Save progress
DavidNew-NOAA Jan 22, 2025
d0638c8
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 22, 2025
d6302a9
Checkpoint
DavidNew-NOAA Jan 22, 2025
0e46196
Debug
DavidNew-NOAA Jan 23, 2025
76d52a3
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 23, 2025
1b4fbb7
Update
DavidNew-NOAA Jan 28, 2025
5936ba0
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 28, 2025
aaafaf9
Separate ensemble centering for analysis calc job
DavidNew-NOAA Jan 29, 2025
b518f2e
Small update
DavidNew-NOAA Jan 29, 2025
202d192
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Jan 29, 2025
dff7e54
Update GDAS hash
DavidNew-NOAA Jan 29, 2025
0c29953
Update gdas hash
DavidNew-NOAA Jan 29, 2025
f548376
Save progress before redoing some stuff
DavidNew-NOAA Jan 30, 2025
4e597b5
Update GDAS hash
DavidNew-NOAA Jan 30, 2025
fc2f7e0
Use JEDI converstate in analcalc_fv3jedi
DavidNew-NOAA Jan 30, 2025
397d06c
Add snow and aero to analcalc_fv3jedi
DavidNew-NOAA Jan 30, 2025
ee3c227
Add aero and snow dependency to analcalc_fv3jedi
DavidNew-NOAA Jan 30, 2025
124197f
Change ecen_fv3jedi from gdas and enkfgdas
DavidNew-NOAA Jan 30, 2025
d61533c
Update gdas hash to revert oops hash
DavidNew-NOAA Jan 30, 2025
1403c94
Debug
DavidNew-NOAA Jan 31, 2025
607e23b
Add environments for different machines and debug some task dependencies
DavidNew-NOAA Jan 31, 2025
4e712b6
Coding norms
DavidNew-NOAA Jan 31, 2025
e201675
Some cleanup
DavidNew-NOAA Jan 31, 2025
4ce53f7
Update
DavidNew-NOAA Feb 3, 2025
9c9c203
Update GDAS hash
DavidNew-NOAA Feb 4, 2025
f753228
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 4, 2025
00d95b8
Update GDAS hash
DavidNew-NOAA Feb 7, 2025
4e8da07
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 7, 2025
8c68fb9
Update GDAS hash
DavidNew-NOAA Feb 9, 2025
050fd56
Update GDAS hash
DavidNew-NOAA Feb 10, 2025
e7b80c9
Address reviewer comments
DavidNew-NOAA Feb 12, 2025
9fc41c5
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 12, 2025
f48bfb6
Debug
DavidNew-NOAA Feb 12, 2025
b4e07f5
Interpolate analysis to Gaussian rather than increment
DavidNew-NOAA Feb 12, 2025
c23ca3e
pynorms
DavidNew-NOAA Feb 12, 2025
342b64b
norms round #2
DavidNew-NOAA Feb 12, 2025
acd998a
pynorms round #3
DavidNew-NOAA Feb 12, 2025
d9e0275
Shell norm fix
DavidNew-NOAA Feb 12, 2025
2dfba2f
Fix remaining shellnorms
DavidNew-NOAA Feb 12, 2025
eb4f19d
Hopefully fix final shell norm issues
DavidNew-NOAA Feb 12, 2025
23b27b7
Update GDAS hash
DavidNew-NOAA Feb 12, 2025
626ef47
Update gdas hash
DavidNew-NOAA Feb 14, 2025
86ac2b6
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 14, 2025
278426e
Restore prefixes for history files in rundirs
DavidNew-NOAA Feb 14, 2025
8263ffe
More revisions
DavidNew-NOAA Feb 14, 2025
3fb10a6
Debug
DavidNew-NOAA Feb 14, 2025
9ec7da4
Merge branch 'develop' into feature/calcanl
RussTreadon-NOAA Feb 14, 2025
ab87356
Add missing arch_tars dependencies (#3319)
AntonMFernando-NOAA Feb 18, 2025
12231fe
Add sfs as valid system (#3243)
WalterKolczynski-NOAA Feb 19, 2025
42d0709
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 20, 2025
3b149ba
Update
DavidNew-NOAA Feb 21, 2025
3694245
Update gdas hash
DavidNew-NOAA Feb 21, 2025
002da67
Update
DavidNew-NOAA Feb 21, 2025
317d0a8
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 21, 2025
0f59dad
Update gdas hash
DavidNew-NOAA Feb 21, 2025
2a41ba8
Update
DavidNew-NOAA Feb 24, 2025
6020831
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 24, 2025
d6694e0
Update machine environments
DavidNew-NOAA Feb 24, 2025
fab053c
Norm type changes
DavidNew-NOAA Feb 24, 2025
a374fa5
"ensemble_center" -> "ensemble_recenter"
DavidNew-NOAA Feb 24, 2025
e4ae3a7
Only need to compute analysis at middle of window
DavidNew-NOAA Feb 24, 2025
aad1555
Switch to conventional JEDI addincrement application for analcalc
DavidNew-NOAA Feb 24, 2025
7524f5c
Use ensemble version of conventional JEDI AddIncrement app for ensemb…
DavidNew-NOAA Feb 25, 2025
a055150
Save YAMLs for analysis calc and recentering jobs
DavidNew-NOAA Feb 25, 2025
a7b491c
Fix archiving/verification
DavidNew-NOAA Feb 25, 2025
adee8b6
Bugfixes
DavidNew-NOAA Feb 25, 2025
e39e4d6
Hopefully finalish debugging
DavidNew-NOAA Feb 26, 2025
2c3ecf4
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 26, 2025
0a7f696
Debug
DavidNew-NOAA Feb 26, 2025
0bec2ff
Update gdas hash
DavidNew-NOAA Feb 26, 2025
bc50e2b
Final changes, ojala
DavidNew-NOAA Feb 26, 2025
89204c5
Small revert
DavidNew-NOAA Feb 26, 2025
23fefe2
Fix a few archiving bugs
DavidNew-NOAA Feb 27, 2025
4ac3840
More archiving bugs
DavidNew-NOAA Feb 27, 2025
6718f6b
Fix bugs identified upon fresh build
DavidNew-NOAA Feb 27, 2025
9ba4d6e
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 27, 2025
4de2d46
Merge branch 'feature/calcanl' of https://github.com/DavidNew-NOAA/gl…
DavidNew-NOAA Feb 27, 2025
3ba888f
Update gdas hash
DavidNew-NOAA Feb 28, 2025
408de47
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Feb 28, 2025
354f44b
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 4, 2025
77f9a1f
Fix WCOSS2 env bug
DavidNew-NOAA Mar 4, 2025
bb3a47a
Merge branch 'develop' into feature/calcanl
KateFriedman-NOAA Mar 5, 2025
f48f3f4
Address reviewer comments (part 1)
DavidNew-NOAA Mar 5, 2025
da0ffcf
Address reviewer comments (part 1.5)
DavidNew-NOAA Mar 5, 2025
e90a23e
Enable warm starts with native grid increments
DavidNew-NOAA Mar 5, 2025
85ae640
Update gdas hash
DavidNew-NOAA Mar 5, 2025
6cd0ec0
Revision of last commit
DavidNew-NOAA Mar 5, 2025
4fe87c2
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 5, 2025
9116b65
Address reviewer comments in companion PRs
DavidNew-NOAA Mar 6, 2025
8dd74ce
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 6, 2025
7bb9f82
Merge branch 'feature/calcanl' of https://github.com/DavidNew-NOAA/gl…
DavidNew-NOAA Mar 6, 2025
3b3cf52
Small bug and shellnorms
DavidNew-NOAA Mar 6, 2025
095410f
Bug in bugfix
DavidNew-NOAA Mar 6, 2025
822111b
bug in bugfix's bug
DavidNew-NOAA Mar 6, 2025
16448be
Need more sleep
DavidNew-NOAA Mar 6, 2025
43b728d
Add APREFIX_ENS and GPREFIX_ENS for JEDI jobs
DavidNew-NOAA Mar 7, 2025
f8aed93
Stage surface data for aerosol backgrounds
DavidNew-NOAA Mar 8, 2025
4e66951
Revert "Stage surface data for aerosol backgrounds"
DavidNew-NOAA Mar 10, 2025
5853bb5
Update GDAS hash
DavidNew-NOAA Mar 10, 2025
f9a9e2d
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 10, 2025
46036ff
Address reviewer comment
DavidNew-NOAA Mar 10, 2025
21a3c10
Remote datetime import in ex script
DavidNew-NOAA Mar 10, 2025
5796a19
Revert accidentally reverted changes
DavidNew-NOAA Mar 10, 2025
769cb7e
Remove some redundant increment staging
DavidNew-NOAA Mar 10, 2025
af98419
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 10, 2025
bdec0ea
Remove COMIN_ATMOS_ANALYSIS_ENSSTAT
DavidNew-NOAA Mar 11, 2025
4f557a9
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 11, 2025
a8953be
Revert "Remove COMIN_ATMOS_ANALYSIS_ENSSTAT"
DavidNew-NOAA Mar 11, 2025
67e7f57
Update env/WCOSS2.env
DavidNew-NOAA Mar 12, 2025
d7124aa
Address reviewer comments
DavidNew-NOAA Mar 12, 2025
a49d8c2
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 12, 2025
d71c842
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 12, 2025
dfc2359
Update gdas hash to include GW-CI fixes
DavidNew-NOAA Mar 12, 2025
0eb3cc1
Merge branch 'feature/calcanl' of https://github.com/DavidNew-NOAA/gl…
DavidNew-NOAA Mar 12, 2025
70b9a69
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 13, 2025
46e3a10
Fix gfs_arch_tar job
DavidNew-NOAA Mar 13, 2025
bbbce0c
Merge branch 'develop' into feature/calcanl
DavidNew-NOAA Mar 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions env/HERA.env
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,17 @@ elif [[ "${step}" = "marineanlletkf" ]]; then
export NTHREADS_MARINEANLLETKF=${NTHREADSmax}
export APRUN_MARINEANLLETKF=${APRUN_default}

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

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"

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

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default} --cpus-per-task=${NTHREADS_ANALCALC_FV3JEDI}"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export MKL_NUM_THREADS=4
Expand Down
11 changes: 11 additions & 0 deletions env/HERCULES.env
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,17 @@ case ${step} in
export NTHREADS_MARINEANLLETKF=${NTHREADSmax}
export APRUN_MARINEANLLETKF="${APRUN_default}"
;;
"ecen_fv3jedi")

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
;;
"analcalc_fv3jedi")

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default} --cpus-per-task=${NTHREADS_ANALCALC_FV3JEDI}"
;;
"anal" | "analcalc")

export MKL_NUM_THREADS=4
Expand Down
11 changes: 11 additions & 0 deletions env/JET.env
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ elif [[ "${step}" = "marineanlvar" ]]; then
export APRUNCFP="${launcher} -n \$ncmd ${mpmd_opt}"
export APRUN_MARINEANLVAR="${APRUN_default}"

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

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"

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

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default}"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export MKL_NUM_THREADS=4
Expand Down
11 changes: 11 additions & 0 deletions env/ORION.env
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ elif [[ "${step}" = "marineanlletkf" ]]; then
export NTHREADS_MARINEANLLETKF=${NTHREADSmax}
export APRUN_MARINEANLLETKF="${APRUN_default}"

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

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"

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

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default} --cpus-per-task=${NTHREADS_ANALCALC_FV3JEDI}"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export MKL_NUM_THREADS=4
Expand Down
11 changes: 11 additions & 0 deletions env/S4.env
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ elif [[ "${step}" = "marinebmat" ]]; then
elif [[ "${step}" = "marinerun" ]]; then
echo "WARNING: ${step} is not enabled on S4!"

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

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpus-per-task=${NTHREADS_ECEN_FV3JEDI}"

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

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default}"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export MKL_NUM_THREADS=4
Expand Down
13 changes: 12 additions & 1 deletion env/WCOSS2.env
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ elif [[ "${step}" = "aeroanlgenb" ]]; then
elif [[ "${step}" = "prepobsaero" ]]; then

export NTHREADS_PREPOBSAERO=${NTHREADS1}
export APRUN_PREPOBSAERO="${APRUN_default} --ppn ${tasks_per_node}--cpu-bind depth --depth=${NTHREADS_PREPOBSAERO}"
export APRUN_PREPOBSAERO="${APRUN_default} --ppn ${tasks_per_node} --cpu-bind depth --depth ${NTHREADS_PREPOBSAERO}"

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

Expand Down Expand Up @@ -139,6 +139,17 @@ elif [[ "${step}" = "atmanlfv3inc" ]]; then
export NTHREADS_ATMANLFV3INC=${NTHREADSmax}
export APRUN_ATMANLFV3INC="${APRUN_default}"

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

export NTHREADS_ECEN_FV3JEDI=${NTHREADSmax}
export APRUN_CORRECTION_INCREMENT="${launcher} -n ${ntasks_correction_increment} --cpu-bind depth --depth ${NTHREADS_ECEN_FV3JEDI}"
export APRUN_ENSEMBLE_RECENTER="${launcher} -n ${ntasks_ensemble_recenter} --cpu-bind depth --depth ${NTHREADS_ECEN_FV3JEDI}"

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

export NTHREADS_ANALCALC_FV3JEDI=${NTHREADSmax}
export APRUN_ANALCALC_FV3JEDI="${APRUN_default}"

elif [[ "${step}" = "anal" ]] || [[ "${step}" = "analcalc" ]]; then

export OMP_PLACES=cores
Expand Down
67 changes: 67 additions & 0 deletions jobs/JGDAS_ENKF_ECEN_FV3JEDI
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#! /usr/bin/env bash

# Ignore possible spelling error (nothing is misspelled)
# shellcheck disable=SC2153

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "ecen_fv3jedi" -c "base ecen_fv3jedi"

##############################################
# Set variables used in the script
##############################################

GDATE=$(date --utc +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
Comment thread Fixed
gPDY=${GDATE:0:8}
gcyc=${GDATE:8:2}
GDUMP="gdas"
GDUMP_ENS="enkfgdas"

##############################################
# Begin JOB SPECIFIC work
##############################################

# Generate COM variables from templates
YMD=${PDY} HH=${cyc} RUN=${GDUMP} declare_from_tmpl -rx \
COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL
YMD=${PDY} HH=${cyc} RUN=${GDUMP} declare_from_tmpl -rx \
COMOUT_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL
MEMDIR='ensstat' RUN=${GDUMP_ENS} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMIN_ATMOS_ANALYSIS_ENSSTAT:COM_ATMOS_ANALYSIS_TMPL
Comment thread
DavidNew-NOAA marked this conversation as resolved.
MEMDIR='ensstat' RUN=${GDUMP_ENS} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
COMOUT_ATMOS_ANALYSIS_ENSSTAT:COM_ATMOS_ANALYSIS_TMPL
Comment thread
DavidHuber-NOAA marked this conversation as resolved.
RUN=${GDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl -rx \
COMIN_ATMOS_HISTORY_PREV:COM_ATMOS_HISTORY_TMPL

##############################################
# Run relevant script
##############################################

EXSCRIPT=${GDASATMRUNPY:-${SCRgfs}/exgdas_enkf_ecen_fv3jedi.py}
${EXSCRIPT}
status=$?
if [[ ${status} -ne 0 ]]; then
exit "${status}"
fi

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################

if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

##############################################
# Remove the Temporary working directory
##############################################

cd "${DATAROOT}" || ( echo "FATAL ERROR: ${DATAROOT} does not exist, ABORT!"; exit 1 )
if [[ ${KEEPDATA} = "NO" ]]; then
rm -rf "${DATA}"
fi

exit 0
67 changes: 67 additions & 0 deletions jobs/JGLOBAL_ATMOS_ANALYSIS_CALC_FV3JEDI
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#! /usr/bin/env bash

# Ignore possible spelling error (nothing is misspelled)
# shellcheck disable=SC2153
# shellcheck disable=SC2312

source "${HOMEgfs}/ush/preamble.sh"
source "${HOMEgfs}/ush/jjob_header.sh" -e "analcalc_fv3jedi" -c "base analcalc_fv3jedi"

##############################################
# Set variables used in the script
##############################################

GDATE=$(date --utc +%Y%m%d%H -d "${PDY} ${cyc} - ${assim_freq} hours")
Comment thread Fixed
gPDY=${GDATE:0:8}
gcyc=${GDATE:8:2}
GDUMP="gdas"
export rCDUMP="${RUN/enkf}"

##############################################
# Begin JOB SPECIFIC work
##############################################

# Generate COM variables from templates
YMD=${PDY} HH=${cyc} RUN=${RUN} declare_from_tmpl -rx \
COMIN_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL
YMD=${PDY} HH=${cyc} RUN=${RUN} declare_from_tmpl -rx \
COMOUT_ATMOS_ANALYSIS:COM_ATMOS_ANALYSIS_TMPL
RUN=${GDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl -rx \
COMIN_ATMOS_HISTORY_PREV:COM_ATMOS_HISTORY_TMPL

##############################################
# Run relevant script
##############################################

EXSCRIPT=${GDASATMRUNPY:-${SCRgfs}/exglobal_atmos_analysis_calc_fv3jedi.py}
${EXSCRIPT}
status=$?
if [[ ${status} -ne 0 ]]; then
exit "${status}"
fi

# Write analysis log file
echo "${rCDUMP} ${PDY}${cyc} atmanl and sfcanl done at $(date)" > "${COMOUT_ATMOS_ANALYSIS}/${RUN}.t${cyc}z.loganl.txt"
Comment thread
DavidNew-NOAA marked this conversation as resolved.

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################

if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

##############################################
# Remove the Temporary working directory
##############################################

cd "${DATAROOT}" || ( echo "FATAL ERROR: ${DATAROOT} does not exist, ABORT!"; exit 1 )
if [[ ${KEEPDATA} = "NO" ]]; then
rm -rf "${DATA}"
fi

exit 0
18 changes: 18 additions & 0 deletions jobs/rocoto/analcalc_fv3jedi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source UFSDA workflow modules
. "${HOMEgfs}/ush/load_ufsda_modules.sh"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

export job="analcalc_fv3jedi"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGLOBAL_ATMOS_ANALYSIS_CALC_FV3JEDI
status=$?
exit "${status}"
18 changes: 18 additions & 0 deletions jobs/rocoto/ecen_fv3jedi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source UFSDA workflow modules
. "${HOMEgfs}/ush/load_ufsda_modules.sh"
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

export job="ecen_fv3jedi"
export jobid="${job}.$$"

###############################################################
# Execute the JJOB
"${HOMEgfs}"/jobs/JGDAS_ENKF_ECEN_FV3JEDI
status=$?
exit "${status}"
24 changes: 20 additions & 4 deletions parm/archive/enkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,26 @@ enkf:
{% for fhr in range(fhmin, fhmax + 1, fhout) %}
- "logs/{{ cycle_YMDH }}/{{ RUN }}_epos{{ '%03d' % (fhr - fhmin) }}.log"
{% endfor %}
{% if not DO_JEDIATMENS %}
- "logs/{{ cycle_YMDH }}/{{ RUN }}_echgres.log"
{% endif %}
{% endif %}
- "logs/{{ cycle_YMDH }}/{{ RUN }}_esfc.log"
{% if not DO_JEDIATMENS %}
{% for grp in range(IAUFHRS | length) %}
- "logs/{{ cycle_YMDH }}/{{ RUN }}_ecen{{ '%03d' % grp }}.log"
{% endfor %}
{% endif %}

{% if lobsdiag_forenkf %}
{% if DO_JEDIATMENS %}
{% set steps = ["atmensanlinit", "atmensanlobs", "atmensanlsol", "atmensanlfv3inc", "atmensanlfinal"] %}
{% set steps = ["atmensanlinit", "atmensanlobs", "atmensanlsol", "atmensanlfv3inc", "atmensanlfinal", "ecen_fv3jedi"] %}
{% else %}
{% set steps = ["eobs", "ediag", "eupd"] %}
{% endif %}
{% else %}
{% if DO_JEDIATMENS %}
{% set steps = ["atmensanlinit", "atmensanlletkf", "atmensanlfv3inc", "atmensanlfinal"] %}
{% set steps = ["atmensanlinit", "atmensanlletkf", "atmensanlfv3inc", "atmensanlfinal", "ecen_fv3jedi"] %}
{% else %}
{% set steps = ["eobs", "eupd"] %}
{% for mem in range(1, nmem_ens + 1) %}
Expand Down Expand Up @@ -61,12 +65,14 @@ enkf:
{% set da_files = ["atmensanlobs.yaml",
"atmensanlsol.yaml",
"atmensanlfv3inc.yaml",
"atminc.ensmean.nc",
"correction_increment.yaml",
"ensemble_recenter.yaml",
"atmensstat"] %}
{% else %}
{% set da_files = ["atmensanlletkf.yaml",
"atmensanlfv3inc.yaml",
"atminc.ensmean.nc",
"correction_increment.yaml",
"ensemble_recenter.yaml",
"atmensstat"] %}
{% endif %}
{% endif %}
Expand All @@ -84,23 +90,33 @@ enkf:

# Ensemble mean analyses/increments
# 6-hr analysis/increment
{% if not DO_JEDIATMENS %}
{% if do_calc_increment %}
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}atmanl.ensmean.nc"
{% else %}
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}atminc.ensmean.nc"
{% endif %}
{% else %}
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}cubed_sphere_grid_atmanl.ensmean.nc"
{% endif %}

{% if DOIAU %}
# IAU increments/analyses

{% for fhr in IAUFHRS if fhr != 6 %}
{% if not DO_JEDIATMENS %}
{% if do_calc_increment %}
# Store analyses instead of increments
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}atma{{ '%03d' % fhr }}.ensmean.nc"
{% else %}
{% if not DO_JEDIATMENS %}
# Store increments
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}atmi{{ '%03d' % fhr }}.ensmean.nc"
{% endif %}
{% endif %}
{% else %}
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}cubed_sphere_grid_atma{{ '%03d' % fhr }}.ensmean.nc"
{% endif %}
{% endfor %}

{% endif %} # End IAU
Expand Down
6 changes: 6 additions & 0 deletions parm/archive/enkf_grp.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ enkf_grp:
{% if not lobsdiag_forenkf %}
- "{{ COMIN_ATMOS_RESTART_MEM | relpath(ROTDIR) }}/{{ head }}gsistat"
{% endif %}
{% if DO_JEDIATMENS %}
{% for itile in range(6) %}
- "{{ COMIN_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ head }}cubed_sphere_grid_ratminc.tile{{ itile+1 }}.nc"
{% endfor %}
{% else %}
{% if do_calc_increment %}
- "{{ COMIN_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ head }}atmanl.nc"
{% else %}
- "{{ COMIN_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ head }}ratminc.nc"
{% endif %}
{% endif %}
{% endfor %} # first_group_mem to last_group_mem
Loading