Skip to content

Commit

Permalink
Get the right CPC precip data and fix GLDAS build fails on Orion
Browse files Browse the repository at this point in the history
  • Loading branch information
wx20hw authored and wx20hw committed Jan 5, 2021
1 parent 4b3091e commit 486b67f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions modulefiles/gdas2gldas.orion
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module load intel/2020
module load impi/2020

module use -a $MOD_PATH
module use -a /apps/contrib/NCEPLIBS/lib/modulefiles
module load w3nco/2.1.0
module load nemsio/2.3.0
module load bacio/2.2.0
Expand Down
1 change: 1 addition & 0 deletions modulefiles/gldas2gdas.orion
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module load intel/2020
module load impi/2020

module use -a $MOD_PATH
module use -a /apps/contrib/NCEPLIBS/lib/modulefiles
module load w3nco/2.1.0
module load nemsio/2.3.0
module load bacio/2.2.0
Expand Down
3 changes: 3 additions & 0 deletions ush/gldas_forcing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ pathp1=$CPCGAUGE/gdas.$sdate/00
pathp2=$DCOMIN/prod/$sdate/wgrbbul/cpc_rcdas
yyyy=`echo $sdate |cut -c 1-4`
cpc_precip="PRCP_CU_GAUGE_V1.0GLB_0.125deg.lnx.$sdate.RT"
if [ $RUN_ENVIR = "emc" ] && [ $sdate -gt $bdate ]; then
cpc_precip="PRCP_CU_GAUGE_V1.0GLB_0.125deg.lnx.$sdate.RT_early"
fi
cpc=$pathp1/$cpc_precip
if [ ! -s $cpc ]; then cpc=$pathp2/$cpc_precip ; fi
if [ $RUN_ENVIR = "nco" ]; then cpc=$pathp2/$cpc_precip ; fi
Expand Down

0 comments on commit 486b67f

Please sign in to comment.