diff --git a/scripts/exgdas_gldas.sh.ecf b/scripts/exgdas_gldas.sh.ecf index 1183d0e..663742d 100755 --- a/scripts/exgdas_gldas.sh.ecf +++ b/scripts/exgdas_gldas.sh.ecf @@ -93,7 +93,8 @@ ln -fs $EXECgldas/gldas_${model} $RUNDIR/LIS #--------------------------------------------------------------- ### 1) Get gdas 6-tile netcdf restart file and gdas forcing data #--------------------------------------------------------------- -${USHgldas}/gldas_get_data.sh $gldas_sdate $gldas_cdate $USHgldas + +${USHgldas}/gldas_get_data.sh $gldas_sdate $gldas_cdate export err=$? $ERRSCRIPT || exit 2 diff --git a/ush/gldas_get_data.sh b/ush/gldas_get_data.sh index 336b84b..3900ade 100755 --- a/ush/gldas_get_data.sh +++ b/ush/gldas_get_data.sh @@ -15,9 +15,8 @@ fi bdate=$1 edate=$2 -USHgldas=$3 -if [ $MACHINE = "WCOSS_DELL_P3" ]; then +if [ $machine = "WCOSS_DELL_P3" ] || [ $machine = "WCOSS_C" ]; then touch ./cfile fi @@ -52,7 +51,7 @@ while [ $f -le $cycint ]; do fcsty=anl if [ $f -ge 1 ]; then fcsty=fcst; fi - if [ $MACHINE = "WCOSS_DELL_P3" ]; then + if [ $machine = "WCOSS_DELL_P3" ] || [ $machine = "WCOSS_C" ]; then echo "${USHgldas}/gldas_process_data.sh $rflux $fcsty $fflux $gflux $f" >> ./cfile else ${USHgldas}/gldas_process_data.sh $rflux $fcsty $fflux $gflux $f @@ -66,7 +65,7 @@ done done #------------------------------- -if [ $MACHINE = "WCOSS_DELL_P3" ]; then +if [ $machine = "WCOSS_DELL_P3" ] || [ $machine = "WCOSS_C" ]; then $APRUN_GLDAS_DATA_PROC ./cfile fi