From 6c2c77aa440073d9704e1ddff997bd3159fcf873 Mon Sep 17 00:00:00 2001 From: HelinWei-NOAA <48133472+HelinWei-NOAA@users.noreply.github.com> Date: Sun, 12 Apr 2020 19:17:56 -0400 Subject: [PATCH] set up the right path to get CPC gauage precp data (#5) * set up the right path to get CPC gauage precp data * make further change to make sure realtime and restrospective runs will use the same prcp data --- scripts/exgdas_gldas.sh.ecf | 2 +- ush/gldas_forcing.sh | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/exgdas_gldas.sh.ecf b/scripts/exgdas_gldas.sh.ecf index 872b9bf..2db330c 100755 --- a/scripts/exgdas_gldas.sh.ecf +++ b/scripts/exgdas_gldas.sh.ecf @@ -28,7 +28,7 @@ export WGRIB2=${WGRIB2:-$utilexec/wgrib2} export COPYGB=${COPYGB:-$utilexec/copygb} export NDATE=${NDATE:-/gpfs/dell1/nco/ops/nwprod/prod_util.v1.1.0/exec/ips/ndate} export DCOMIN=${DCOMIN:-${DCOMROOT:-"/gpfs/dell1/nco/ops/dcom"}} -export CPCGAUGE=${CPCGAUGE:-/gpfs/dell2/emc/modeling/noscrub/emc.glopara/stat/cpcUniGauge} +export CPCGAUGE=${CPCGAUGE:-/gpfs/dell3/emc/global/dump} export COMINgdas=${COMINgdas:-$ROTDIR} export OFFLINE_GLDAS=${OFFLINE_GLDAS:-"NO"} export ERRSCRIPT=${ERRSCRIPT:-'eval [[ $err = 0 ]]'} diff --git a/ush/gldas_forcing.sh b/ush/gldas_forcing.sh index 43c47e2..618ab04 100755 --- a/ush/gldas_forcing.sh +++ b/ush/gldas_forcing.sh @@ -40,14 +40,12 @@ sdat0=`sh $FINDDATE $sdate d-1` cd $xpath rm -f fort.* grib.* -pathp1=$DCOMIN/us007003/$sdate/wgrbbul/cpc_rcdas -pathp2=$DCOMIN/$sdate/wgrbbul/cpc_rcdas +pathp1=$CPCGAUGE/gdas.$sdate/00 +pathp2=$DCOMIN/prod/$sdate/wgrbbul/cpc_rcdas yyyy=`echo $sdate |cut -c 1-4` -pathp3=$CPCGAUGE/$yyyy 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 [ ! -s $cpc ]; then cpc=$pathp3/$cpc_precip ; fi if [ ! -s $cpc ]; then echo "GLDAS MISSING $cpc" echo "GLDAS WILL NOT RUN."