From c27eba613ba5f0e99e9afae27765c587fc935dde Mon Sep 17 00:00:00 2001 From: HelinWei-NOAA <48133472+HelinWei-NOAA@users.noreply.github.com> Date: Fri, 10 Jun 2022 11:05:31 -0400 Subject: [PATCH] Update gldas_forcing.sh Add atmos subfolder to GDA and relevant DMPDIR paths --- ush/gldas_forcing.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ush/gldas_forcing.sh b/ush/gldas_forcing.sh index e8d0c51..6bc9c18 100755 --- a/ush/gldas_forcing.sh +++ b/ush/gldas_forcing.sh @@ -40,7 +40,8 @@ sdat0=`sh $FINDDATE $sdate d-1` cd $xpath rm -f fort.* grib.* -pathp1=$CPCGAUGE/gdas.$sdate/00 +COMPONENT=${COMPONENT:-"atmos"} +pathp1=$CPCGAUGE/gdas.$sdate/00/$COMPONENT pathp2=$DCOMIN/$sdate/wgrbbul/cpc_rcdas yyyy=`echo $sdate |cut -c 1-4` cpc_precip="PRCP_CU_GAUGE_V1.0GLB_0.125deg.lnx.$sdate.RT"