Skip to content

Commit

Permalink
Update global_cycle_driver.sh for GFS OPS directory convention (#655)
Browse files Browse the repository at this point in the history
GFS OPS now uses an 'atmos' subdirectory. Update script accordingly.

Fixes #652.
  • Loading branch information
GeorgeGayno-NOAA committed Jun 10, 2022
1 parent a2b0817 commit 1730d37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ush/global_cycle_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export machine=${machine:-"WCOSS_C"}
export CASE=${CASE:-C768} # resolution of tile: 48, 96, 192, 384, 768, 1152, 3072
export CDATE=${CDATE:-${cdate:-2017031900}} # format yyyymmddhh yyyymmddhh ...
export CDUMP=${CDUMP:-gfs} # gfs or gdas
export COMPONENT=${COMPONENT:-atmos}

pwd=$(pwd)
export NWPROD=${NWPROD:-$pwd}
Expand All @@ -38,9 +39,9 @@ export DELTSFC=${DELTSFC:-6}
PDY=$(echo $CDATE | cut -c1-8)
cyc=$(echo $CDATE | cut -c9-10)

export FNTSFA=${FNTSFA:-$DMPDIR/$CDATE/$CDUMP/${CDUMP}.t${cyc}z.rtgssthr.grb}
export FNSNOA=${FNSNOA:-$DMPDIR/$CDATE/$CDUMP/${CDUMP}.t${cyc}z.snogrb_t1534.3072.1536}
export FNACNA=${FNACNA:-$DMPDIR/$CDATE/$CDUMP/${CDUMP}.t${cyc}z.seaice.5min.blend.grb}
export FNTSFA=${FNTSFA:-$DMPDIR/${CDUMP}.${PDY}/${cyc}/${COMPONENT}/${CDUMP}.t${cyc}z.rtgssthr.grb}
export FNSNOA=${FNSNOA:-$DMPDIR/${CDUMP}.${PDY}/${cyc}/${COMPONENT}/${CDUMP}.t${cyc}z.snogrb_t1534.3072.1536}
export FNACNA=${FNACNA:-$DMPDIR/${CDUMP}.${PDY}/${cyc}/${COMPONENT}/${CDUMP}.t${cyc}z.seaice.5min.blend.grb}

export CYCLVARS=${CYCLVARS:-"FSNOL=-2.,FSNOS=99999.,"}

Expand Down

0 comments on commit 1730d37

Please sign in to comment.