Skip to content

Commit 0214fc7

Browse files
committed
Fix graphic error
1 parent aefc1cf commit 0214fc7

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

jobs/rocoto/atmos_products.sh

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,15 @@ status=$?
1313
if (( status != 0 )); then exit "${status}"; fi
1414

1515
export job="atmos_products"
16+
export jobid="${job}.$$"
1617

17-
# shellcheck disable=SC2153
18-
IFS=', ' read -r -a fhr_list <<< "${FHR_LIST}"
18+
# Negatation needs to be before the base
19+
fhr3_base="10#${FHR3}"
20+
export FORECAST_HOUR=$(( ${fhr3_base/10#-/-10#} ))
1921

20-
export FORECAST_HOUR jobid
21-
for FORECAST_HOUR in "${fhr_list[@]}"; do
22-
fhr3=$(printf '%03d' "${FORECAST_HOUR}")
23-
jobid="${job}_f${fhr3}.$$"
24-
###############################################################
25-
# Execute the JJOB
26-
###############################################################
27-
"${HOMEgfs}/jobs/JGLOBAL_ATMOS_PRODUCTS"
28-
status=$?
29-
[[ ${status} -ne 0 ]] && exit "${status}"
30-
done
22+
###############################################################
23+
# Execute the JJOB
24+
###############################################################
25+
"${HOMEgfs}/jobs/JGLOBAL_ATMOS_PRODUCTS"
3126

32-
exit 0
27+
exit $?

parm/archive/master_gfs.yaml.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ datasets:
1616
{% filter indent(width=4) %}
1717
{% include "gfs_flux.yaml.j2" %}
1818
{% include "gfs_netcdfb.yaml.j2" %}
19-
{% include "gfs_pgrb2b.yaml.j2" %}
2019
{% endfilter %}
2120
{% if MODE == "cycled" %}
2221
# Archive Gaussian analysis data

0 commit comments

Comments
 (0)