From 4b3091ef12dbb11f47f1dc70f4bdbfba57f14fbc Mon Sep 17 00:00:00 2001 From: HelinWei-NOAA <48133472+HelinWei-NOAA@users.noreply.github.com> Date: Thu, 19 Nov 2020 23:43:05 -0500 Subject: [PATCH] bring GLDAS changes made by NCO back to EMC repositories (#17) --- jobs/JGDAS_ATMOS_GLDAS | 3 +++ ush/gldas_forcing.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/jobs/JGDAS_ATMOS_GLDAS b/jobs/JGDAS_ATMOS_GLDAS index 1837969..8567e59 100755 --- a/jobs/JGDAS_ATMOS_GLDAS +++ b/jobs/JGDAS_ATMOS_GLDAS @@ -95,6 +95,9 @@ else fi [[ ! -d $COMOUT ]] && mkdir -m 775 -p $COMOUT +export COMINgdas=${COMINgdas:-$ROTDIR} +export DCOMIN=${DCOMIN:-${DCOMROOT:-"/gpfs/dell1/nco/ops/dcom"}} + export model=${model:-noah} export MODEL=${MODEL:-`echo $model |tr '[a-z]' '[A-Z]'`} diff --git a/ush/gldas_forcing.sh b/ush/gldas_forcing.sh index 2b22997..75dfa61 100755 --- a/ush/gldas_forcing.sh +++ b/ush/gldas_forcing.sh @@ -46,6 +46,7 @@ yyyy=`echo $sdate |cut -c 1-4` cpc_precip="PRCP_CU_GAUGE_V1.0GLB_0.125deg.lnx.$sdate.RT" cpc=$pathp1/$cpc_precip if [ ! -s $cpc ]; then cpc=$pathp2/$cpc_precip ; fi +if [ $RUN_ENVIR = "nco" ]; then cpc=$pathp2/$cpc_precip ; fi if [ ! -s $cpc ]; then echo "WARNING: GLDAS MISSING $cpc, WILL NOT RUN." exit 3