Skip to content

Commit 7d10418

Browse files
Updates for wave jobs to develop (NOAA-EMC#5176)
This brings in changes from two dev/gfsv17 PRs: NOAA-EMC#4878 NOAA-EMC#4911
1 parent b74f5d3 commit 7d10418

46 files changed

Lines changed: 127 additions & 1119 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ "${err}" -ne 0 ]]; then
1111
exit "${err}"
1212
fi
1313

14-
export job="wavepostsbs"
14+
export job="wavepostgridded"
1515

1616
###############################################################
1717
# shellcheck disable=SC2153
@@ -22,7 +22,7 @@ for FORECAST_HOUR in "${fhr_list[@]}"; do
2222
fhr3=$(printf '%03d' "${FORECAST_HOUR}")
2323
jobid="${job}_f${fhr3}.$$"
2424
# Execute the JJOB
25-
"${HOMEglobal}/dev/jobs/JGLOBAL_WAVE_POST_SBS"
25+
"${HOMEglobal}/dev/jobs/JGLOBAL_WAVE_POST_GRIDDED"
2626
err=$?
2727
if [[ "${err}" -ne 0 ]]; then
2828
exit "${err}"

dev/job_cards/rocoto/waveprep.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

dev/jobs/JGLOBAL_ARCHIVE_TARS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ declare -rx COMIN_MED_RESTART="${COMIN}/model/med/restart"
5353
declare -rx COMIN_SNOW_ANALYSIS="${COMIN}/analysis/snow"
5454
declare -rx COMIN_SNOW_ANLMON="${COMIN}/products/snow/anlmon"
5555
declare -rx COMIN_ICE_ANALYSIS="${COMIN}/analysis/ice"
56-
declare -rx COMIN_ICE_BMATRIX="${COMIN}/bmatrix/ice"
56+
declare -rx COMIN_ICE_BMATRIX="${COMIN}/analysis/ice/bmatrix"
5757
declare -rx COMIN_ICE_HISTORY="${COMIN}/model/ice/history"
5858
declare -rx COMIN_ICE_RESTART="${COMIN}/model/ice/restart"
5959
declare -rx COMIN_ICE_GRIB="${COMIN}/products/ice/grib2"
@@ -65,7 +65,7 @@ declare -rx COMIN_OCEAN_RESTART="${COMIN}/model/ocean/restart"
6565
declare -rx COMIN_OCEAN_GRIB="${COMIN}/products/ocean/grib2"
6666
declare -rx COMIN_OCEAN_NETCDF="${COMIN}/products/ocean/netcdf"
6767
declare -rx COMIN_OCEAN_ANALYSIS="${COMIN}/analysis/ocean"
68-
declare -rx COMIN_OCEAN_BMATRIX="${COMIN}/bmatrix/ocean"
68+
declare -rx COMIN_OCEAN_BMATRIX="${COMIN}/analysis/ocean/bmatrix"
6969
declare -rx COMIN_WAVE_GRID="${COMIN}/products/wave/gridded"
7070
declare -rx COMIN_WAVE_HISTORY="${COMIN}/model/wave/history"
7171
declare -rx COMIN_WAVE_STATION="${COMIN}/products/wave/station"

dev/jobs/JGLOBAL_ATMOS_SFCANL_REGRID

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ declare -rx COMIN_ATMOS_ENKF_ANALYSIS_STAT="${ROTDIR}/enkfgdas.${PDY}/${cyc}/ens
4242
# COMIN_SOIL_ANALYSIS_MEM (alias of COMIN_ATMOS_ENKF_ANALYSIS_STAT)
4343
# COMOUT_ATMOS_ANALYSIS_MEM (alias of COMOUT_ATMOS_ANALYSIS)
4444

45-
mkdir -p "${COMOUT_ATMOS_RESTART}"
46-
4745
# Use CFP to stage and save files in parallel
4846
export USE_CFP=YES
4947

dev/jobs/JGLOBAL_FORECAST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ else
8787
fi
8888

8989
if [[ "${DO_WAVE}" == "YES" ]]; then
90-
declare -rx COMIN_WAVE_PREP="${COMIN}/model/wave/prep"
90+
declare -rx COMIN_WAVE_INIT="${COMIN}/model/wave/init"
9191
declare -rx COMOUT_WAVE_RESTART="${COMOUT}/model/wave/restart"
9292
declare -rx COMOUT_WAVE_HISTORY="${COMOUT}/model/wave/history"
9393
declare -rx COMIN_WAVE_RESTART_PREV="${COMIN_RESTART_PREV}/model/wave/restart"

dev/jobs/JGLOBAL_MARINE_ANALYSIS_INITIALIZE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ declare -rx COMIN_OCEAN_HISTORY_PREV="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/model/o
4242
declare -rx COMIN_ICE_HISTORY_PREV="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/model/ice/history"
4343
declare -rx COMIN_ICE_RESTART_PREV="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/model/ice/restart"
4444

45-
declare -rx COMIN_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ocean"
46-
declare -rx COMIN_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ice"
45+
declare -rx COMIN_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ocean/bmatrix"
46+
declare -rx COMIN_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ice/bmatrix"
4747

4848
###############################################################
4949
# Run relevant script

dev/jobs/JGLOBAL_MARINE_BMAT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ declare -rx COMIN_ICE_HISTORY_PREV="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/model/ice
5858
declare -rx COMIN_OCEAN_HISTORY_ENS_PREV="${ROTDIR}/${GDUMP_ENS}.${gPDY}/${gcyc}/model/ocean/history"
5959
declare -rx COMIN_ICE_HISTORY_ENS_PREV="${ROTDIR}/${GDUMP_ENS}.${gPDY}/${gcyc}/model/ice/history"
6060

61-
declare -rx COMOUT_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ocean"
62-
declare -rx COMOUT_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ice"
61+
declare -rx COMOUT_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ocean/bmatrix"
62+
declare -rx COMOUT_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ice/bmatrix"
6363
declare -rx COMOUT_CONF="${ROTDIR}/${RUN}.${PDY}/${cyc}/conf"
6464

6565
mkdir -m 775 -p "${COMOUT_OCEAN_BMATRIX}"

dev/jobs/JGLOBAL_MARINE_BMAT_INITIALIZE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ declare -rx COMIN_ICE_HISTORY_PREV="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/model/ice
5959
declare -rx COMIN_OCEAN_HISTORY_ENS_PREV="${ROTDIR}/${GDUMP_ENS}.${gPDY}/${gcyc}/model/ocean/history"
6060
declare -rx COMIN_ICE_HISTORY_ENS_PREV="${ROTDIR}/${GDUMP_ENS}.${gPDY}/${gcyc}/model/ice/history"
6161

62-
declare -rx COMOUT_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ocean"
63-
declare -rx COMOUT_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/bmatrix/ice"
62+
declare -rx COMOUT_OCEAN_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ocean/bmatrix"
63+
declare -rx COMOUT_ICE_BMATRIX="${ROTDIR}/${RUN}.${PDY}/${cyc}/analysis/ice/bmatrix"
6464

6565
mkdir -p "${COMOUT_OCEAN_BMATRIX}"
6666
mkdir -p "${COMOUT_ICE_BMATRIX}"

dev/jobs/JGLOBAL_WAVE_INIT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ if [[ 10#${ENSMEM:--1} -ge 0 ]]; then
2525
else
2626
declare -rx COMOUT="${ROTDIR}/${RUN}.${PDY}/${cyc}"
2727
fi
28-
declare -rx COMOUT_WAVE_PREP="${COMOUT}/model/wave/prep"
28+
declare -rx COMOUT_WAVE_INIT="${COMOUT}/model/wave/init"
2929

30-
mkdir -p "${COMOUT_WAVE_PREP}"
30+
mkdir -p "${COMOUT_WAVE_INIT}"
3131

3232
# Additional variables are set in scripts/exglobal_wave_init.sh in order to loop over
3333
# ensemble members (gefs only):
@@ -38,7 +38,7 @@ export wavempexec=${wavempexec:-"mpirun -n"}
3838
export wave_mpmd=${wave_mpmd:-"cfp"}
3939

4040
# Execute the Script
41-
"${SCRglobal}/exgfs_wave_init.sh" && true
41+
"${SCRglobal}/exglobal_wave_init.sh" && true
4242
export err=$?
4343
if [[ ${err} -ne 0 ]]; then
4444
err_exit "Failed to generate wave grids for model initialization."

dev/jobs/JGLOBAL_WAVE_POST_BNDPNT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /usr/bin/env bash
22
set -x
33

4-
source "${HOMEglobal}/ush/jjob_header.sh" -e "wavepostbndpnt" -c "base wave wavepostsbs wavepostbndpnt"
4+
source "${HOMEglobal}/ush/jjob_header.sh" -e "wavepostbndpnt" -c "base wave wavepostgridded wavepostbndpnt"
55

66
#{% if false %}
77
source "${HOMEglobal}/ush/jjob_standard_vars.sh"
@@ -17,7 +17,7 @@ source "${USHglobal}/set_strict.sh"
1717
export MP_PULSE=0
1818

1919
# Set COM Paths
20-
declare -rx COMIN_WAVE_PREP="${ROTDIR}/${RUN}.${PDY}/${cyc}/model/wave/prep"
20+
declare -rx COMIN_WAVE_INIT="${ROTDIR}/${RUN}.${PDY}/${cyc}/model/wave/init"
2121
declare -rx COMIN_WAVE_HISTORY="${ROTDIR}/${RUN}.${PDY}/${cyc}/model/wave/history"
2222
declare -rx COMOUT_WAVE_STATION="${ROTDIR}/${RUN}.${PDY}/${cyc}/products/wave/station"
2323

@@ -31,7 +31,7 @@ export DOBLL_WAV='NO' # Bulletin post
3131
export DOBNDPNT_WAV='YES' # Boundary points
3232

3333
# Execute the Script
34-
"${SCRglobal}/exgfs_wave_post_pnt.sh" && true
34+
"${SCRglobal}/exglobal_wave_post_pnt.sh" && true
3535
export err=$?
3636
if [[ ${err} -ne 0 ]]; then
3737
err_exit "ex-script of JGLOBAL_WAVE_POST_BNDPNT failed!"

0 commit comments

Comments
 (0)