Skip to content

Commit f98433f

Browse files
Add new jjob for ocean analysis bmat (#1239)
Adds jjob for ocean analysis bmat. The intent is to have separate tasks for the ocean analysis and generation of the b matrix. Once this is merged, additional modifications will be made to GDASApp to allow it to be run with the other global-workflow components of ocean/ice DA Refs: NOAA-EMC/GDASApp#263
1 parent 5ebad4c commit f98433f

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/bin/bash
2+
export STRICT="NO"
3+
source "${HOMEgfs}/ush/preamble.sh"
4+
5+
6+
export DATA="${DATAROOT}/${RUN}ocnanal_${cyc}"
7+
source "${HOMEgfs}/ush/jjob_header.sh" -e "ocnanalrun" -c "base ocnanal ocnanalrun"
8+
9+
10+
##############################################
11+
# Set variables used in the script
12+
##############################################
13+
14+
15+
##############################################
16+
# Begin JOB SPECIFIC work
17+
##############################################
18+
19+
export COMOUT=${COMOUT:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/ocean}
20+
21+
###############################################################
22+
# Run relevant script
23+
24+
EXSCRIPT=${GDASPREPPY:-${HOMEgfs}/sorc/gdas.cd/scripts/exgdas_global_marine_analysis_bmat.sh}
25+
${EXSCRIPT}
26+
status=$?
27+
[[ ${status} -ne 0 ]] && exit "${status}"
28+
29+
##############################################
30+
# End JOB SPECIFIC work
31+
##############################################
32+
33+
##############################################
34+
# Final processing
35+
##############################################
36+
if [[ -e "${pgmout}" ]] ; then
37+
cat "${pgmout}"
38+
fi
39+
40+
##########################################
41+
# Do not remove the Temporary working directory (do this in POST)
42+
##########################################
43+
cd "${DATAROOT}" || exit 1
44+
45+
exit 0

0 commit comments

Comments
 (0)