forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ocnpost
29 lines (22 loc) · 819 Bytes
/
config.ocnpost
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /usr/bin/env bash
########## config.ocnpost ##########
echo "BEGIN: config.ocnpost"
# Get task specific resources
source "${EXPDIR}/config.resources" ocnpost
# Convert netcdf files to grib files using post job
#-------------------------------------------
case "${OCNRES}" in
"025") export MAKE_OCN_GRIB="YES";;
"050") export MAKE_OCN_GRIB="NO";;
"100") export MAKE_OCN_GRIB="NO";;
"500") export MAKE_OCN_GRIB="NO";;
*) export MAKE_OCN_GRIB="NO";;
esac
if [[ "${machine}" = "WCOSS2" ]] || [[ "${machine}" = "HERCULES" ]]; then
#Currently the conversion to netcdf uses NCL which is not on WCOSS2 or HERCULES
#This should be removed when this is updated
export MAKE_OCN_GRIB="NO"
fi
# No. of forecast hours to process in a single job
export NFHRS_PER_GROUP=3
echo "END: config.ocnpost"