Skip to content

Commit

Permalink
Merge pull request #396 from JessicaMeixner-NOAA/coupled-sprint/updat…
Browse files Browse the repository at this point in the history
…ewaves

Update wave related scripts
  • Loading branch information
WalterKolczynski-NOAA authored Aug 17, 2021
2 parents 0448d98 + 1629ac5 commit 13c3332
Show file tree
Hide file tree
Showing 59 changed files with 44,570 additions and 267 deletions.
30 changes: 17 additions & 13 deletions jobs/JGLOBAL_WAVE_PREP
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,23 @@ if [ $RUN_ENVIR = "nco" ]; then
export COMIN_WAV_ICE=${COMIN_WAV_ICE:-$(compath.py gfs/prod)}/${CDUMP}.${PDY}/${cyc}/atmos
export COMIN_WAV_RTOFS=${COMIN_WAV_RTOFS:-$(compath.py ${WAVECUR_DID}/prod)}
else
if [ ! -d $DMPDIR/${WAVECUR_DID}.${RPDY} ]; then export RPDY=`$NDATE -24 ${PDY}00 | cut -c1-8`; fi
if [ ! -L $ROTDIR/${WAVECUR_DID}.${RPDY} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/${WAVECUR_DID}.${RPDY} $ROTDIR/${WAVECUR_DID}.${RPDY}
fi
BRPDY=`$NDATE -24 ${RPDY}00 | cut -c1-8`
if [ ! -L $ROTDIR/${WAVECUR_DID}.${BRPDY} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/${WAVECUR_DID}.${BRPDY} $ROTDIR/${WAVECUR_DID}.${BRPDY}
fi
if [ ! -L $ROTDIR/${CDUMP}.${PDY}/${cyc}/atmos/${WAVICEFILE} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/$CDUMP.${PDY}/$cyc/${WAVICEFILE} $ROTDIR/$CDUMP.${PDY}/$cyc/atmos/${WAVICEFILE}
fi
export COMIN_WAV_ICE=${COMIN_WAV_ICE:-$ROTDIR/$RUN.$PDY/$cyc/atmos}
export COMIN_WAV_RTOFS=${COMIN_WAV_RTOFS:-$ROTDIR}
if [ $WW3CURINP = "YES" ]; then
if [ ! -d $DMPDIR/${WAVECUR_DID}.${RPDY} ]; then export RPDY=`$NDATE -24 ${PDY}00 | cut -c1-8`; fi
if [ ! -L $ROTDIR/${WAVECUR_DID}.${RPDY} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/${WAVECUR_DID}.${RPDY} $ROTDIR/${WAVECUR_DID}.${RPDY}
fi
BRPDY=`$NDATE -24 ${RPDY}00 | cut -c1-8`
if [ ! -L $ROTDIR/${WAVECUR_DID}.${BRPDY} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/${WAVECUR_DID}.${BRPDY} $ROTDIR/${WAVECUR_DID}.${BRPDY}
fi
export COMIN_WAV_RTOFS=${COMIN_WAV_RTOFS:-$ROTDIR}
fi
if [ $WW3ICEINP = "YES" ]; then
if [ ! -L $ROTDIR/${CDUMP}.${PDY}/${cyc}/atmos/${WAVICEFILE} ]; then # Check if symlink already exists in ROTDIR
$NLN $DMPDIR/$CDUMP.${PDY}/$cyc/${WAVICEFILE} $ROTDIR/$CDUMP.${PDY}/$cyc/atmos/${WAVICEFILE}
fi
export COMIN_WAV_ICE=${COMIN_WAV_ICE:-$ROTDIR/$RUN.$PDY/$cyc/atmos}
fi
fi

# Execute the Script
Expand Down
13 changes: 13 additions & 0 deletions parm/wave/ak_10m_interp.inp.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$ Input file for interpolation of GLO30m_ext Grid
$------------------------------------------------
$ Start Time DT NSteps
TIME DT NSTEPS
$ Total number of grids
3
$ Grid extensions
'gnh_10m'
'aoc_9km'
'ak_10m'
$
0
$
12 changes: 12 additions & 0 deletions parm/wave/at_10m_interp.inp.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$ Input file for interpolation of GLO30m_ext Grid
$------------------------------------------------
$ Start Time DT NSteps
TIME DT NSTEPS
$ Total number of grids
2
$ Grid extensions
'gnh_10m'
'at_10m'
$
0
$
12 changes: 12 additions & 0 deletions parm/wave/ep_10m_interp.inp.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$ Input file for interpolation of GLO30m_ext Grid
$------------------------------------------------
$ Start Time DT NSteps
TIME DT NSTEPS
$ Total number of grids
2
$ Grid extensions
'gnh_10m'
'ep_10m'
$
0
$
14 changes: 14 additions & 0 deletions parm/wave/glo_15mxt_interp.inp.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$ Input file for interpolation of GLO30m_ext Grid
$------------------------------------------------
$ Start Time DT NSteps
TIME DT NSTEPS
$ Total number of grids
4
$ Grid extensions
'gnh_10m'
'aoc_9km'
'gsh_15m'
'glo_15mxt'
$
0
$
14 changes: 14 additions & 0 deletions parm/wave/glo_30m_interp.inp.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$ Input file for interpolation of GLO30m_ext Grid
$------------------------------------------------
$ Start Time DT NSteps
TIME DT NSTEPS
$ Total number of grids
4
$ Grid extensions
'gnh_10m'
'aoc_9km'
'gsh_15m'
'glo_30m'
$
0
$
Loading

0 comments on commit 13c3332

Please sign in to comment.