Skip to content

Commit f3f3e05

Browse files
Add MOS jobs to rocoto mesh (NOAA-EMC#2148)
Create separate jobs for GFS MOS - extracted from now-retired vrfy job Refs NOAA-EMC#2068
1 parent bb6151a commit f3f3e05

39 files changed

+910
-1
lines changed

env/WCOSS2.env

+8
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,12 @@ elif [[ "${step}" = "waveawipsbulls" ]]; then
283283

284284
unset PERL5LIB
285285

286+
elif [[ "${step:0:3}" = "mos" ]]; then
287+
288+
export FORT_BUFFERED=TRUE
289+
290+
if [[ "${step}" = "mos_stn_prep" ]]; then
291+
export OMP_PROC_BIND=true
292+
fi
293+
286294
fi

jobs/rocoto/mos_ext_grd_fcst.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_grd_fcst"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_grd_fcst" -c "base mos_ext_grd_fcst"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_GRD_FORECAST"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_ext_grd_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_grd_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_grd_prdgen" -c "base mos_ext_grd_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_GRD_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_ext_grd_prep.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_grd_prep"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_grd_prep" -c "base mos_ext_grd_prep"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_GRD_PREP"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_ext_stn_fcst.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_stn_fcst"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_stn_fcst" -c "base mos_ext_stn_fcst"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_STN_FORECAST"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_ext_stn_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_stn_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_stn_prdgen" -c "base mos_ext_stn_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_STN_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_ext_stn_prep.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_ext_stn_prep"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_ext_stn_prep" -c "base mos_ext_stn_prep"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_EXT_STN_PREP"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_grd_fcst.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_grd_fcst"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_grd_fcst" -c "base mos_grd_fcst"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_GRD_FORECAST"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_grd_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_grd_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_grd_prdgen" -c "base mos_grd_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_GRD_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_grd_prep.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_grd_prep"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_grd_prep" -c "base mos_grd_prep"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_GRD_PREP"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_stn_fcst.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_stn_fcst"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_stn_fcst" -c "base mos_stn_fcst"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_STN_FORECAST"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_stn_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_stn_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_stn_prdgen" -c "base mos_stn_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_STN_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_stn_prep.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_stn_prep"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_stn_prep" -c "base mos_stn_prep"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_STN_PREP"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_wx_ext_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_wx_ext_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_wx_ext_prdgen" -c "base mos_wx_ext_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_WX_EXT_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

jobs/rocoto/mos_wx_prdgen.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#! /usr/bin/env bash
2+
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
###############################################################
6+
# Source FV3GFS workflow modules
7+
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh"
8+
status=$?
9+
(( status != 0 )) && exit "${status}"
10+
11+
export job="mos_wx_prdgen"
12+
export jobid="${job}.$$"
13+
14+
###############################################################
15+
# Source jjob_header before invoking external JJOB
16+
17+
source "${HOMEgfs}/ush/jjob_header.sh" -e "mos_wx_prdgen" -c "base mos_wx_prdgen"
18+
19+
###############################################################
20+
# Execute the JJOB
21+
22+
"${HOMEgfs_mos}/jobs/JGFSMOS_WX_PRDGEN"
23+
status=$?
24+
25+
exit "${status}"

modulefiles/module_base.wcoss2.lua

+3
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ load(pathJoin("prepobs", os.getenv("prepobs_run_ver")))
3838
prepend_path("MODULEPATH", pathJoin("/lfs/h2/emc/global/save/emc.global/git/Fit2Obs/v" .. os.getenv("fit2obs_ver"), "modulefiles"))
3939
load(pathJoin("fit2obs", os.getenv("fit2obs_ver")))
4040

41+
append_path("MODULEPATH", pathJoin("/apps/ops/prod/nco/models/modulefiles"))
42+
load(pathJoin("mos_shared", os.getenv("mos_shared_ver")))
43+
4144
whatis("Description: GFS run environment")

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

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export DO_GENESIS_FSU="NO" # Cyclone genesis verification (FSU)
6464
export DO_VERFOZN="YES" # Ozone data assimilation monitoring
6565
export DO_VERFRAD="YES" # Radiance data assimilation monitoring
6666
export DO_VMINMON="YES" # GSI minimization monitoring
67+
export DO_MOS="NO" # GFS Model Output Statistics - Only supported on WCOSS2
6768

6869
# NO for retrospective parallel; YES for real-time parallel
6970
# arch.sh uses REALTIME for MOS. Need to set REALTIME=YES

0 commit comments

Comments
 (0)