NOAA-EMC / RTOFS_GLO

0 stars 1 forks source link

GETGES_COM define issue in RTOFS JRTOFS_GLO_ANALYSIS and FORECAST PRE scripts (bugzilla #1135) #14

Open DanIredell-NOAA opened 2 years ago

DanIredell-NOAA commented 2 years ago

http://www2.spa.ncep.noaa.gov/bugzilla/show_bug.cgi?id=1135

Please address the GETGES_COM define issue in RTOFS JRTOFS_GLO_ANALYSIS and FORECAST PRE scripts at next upgrade.

The GETGES_COM defined in jobs/JRTOFS_GLO_ANALYSIS_PRE, JRTOFS_GLO_FORECAST_STEP1_PRE, and JRTOFS_GLO_FORECAST_STEP2_PRE, as “export GETGES_COM=${GETGES_COM:-${COMINgdas/"/gfs/prod/gdas"/}}” which will prevent the jobs to run with non-prod gfs data (from ush/rtofs_atmforcing_getges.sh).

for example 1, export COMINgdas=/gpfs/dell1/nco/ops/com/gfs/prod/gdas export GETGES_COM=/gpfs/dell1/nco/ops/com

for example 2, export COMINgdas=/gpfs/dell1/nco/ops/com/gfs/test/gdas export GETGES_COM=/gpfs/dell1/nco/ops/com/gfs/test/gdas

Suggestion for the define of GETGES_COM export COMINgdas=${COMINgdas:-$(compath.py gfs/prod/gdas)}

export GETGES_COM=${GETGES_COM:-${COMINgdas/"/gfs/prod/gdas"/}}

export GETGES_COM=${GETGES_COM:-${COMROOT}}

DanIredell-NOAA commented 1 year ago

This issue has been resolved with the port to WCOSS2. GETGES_COM is now defined in the job scripts as follows:

export GETGES_COM=${GETGES_COM:-$(compath.py ${envir}/com/gfs/${gfs_ver})}

where envir defaults to prod but can be over-ridden gfs_ver is set in ./versions/run.ver