forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- this is a placeholder with changes from last year's HFIP experiment; will likely need to be updated in the future
- Loading branch information
Showing
3 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tracker_gsl.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#! /usr/bin/env bash | ||
|
||
source "${HOMEgfs}/ush/preamble.sh" | ||
|
||
############################################################### | ||
# Source FV3GFS workflow modules | ||
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh" | ||
status=$? | ||
(( status != 0 )) && exit "${status}" | ||
|
||
export job="tracker" | ||
export jobid="${job}.$$" | ||
|
||
############################################################### | ||
# Execute the JJOB | ||
|
||
"${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_TRACKER" | ||
status=$? | ||
|
||
exit "${status}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#! /usr/bin/env bash | ||
|
||
source "${HOMEgfs}/ush/preamble.sh" | ||
|
||
############################################################### | ||
# Source FV3GFS workflow modules | ||
source "${HOMEgfs}/ush/load_fv3gfs_modules.sh" | ||
status=$? | ||
(( status != 0 )) && exit "${status}" | ||
|
||
export job="tracker" | ||
export jobid="${job}.$$" | ||
|
||
############################################################### | ||
# Execute the JJOB | ||
|
||
"${HOMEgfs}/jobs/JGFS_ATMOS_CYCLONE_TRACKER" | ||
|
||
# GSL - rename tracker file and change AVNO to $ACTFNAME ## JKH | ||
export TRACKDIR="${ROTDIR}/../../tracks" | ||
if [ ! -d $TRACKDIR ]; then mkdir $TRACKDIR ; fi | ||
typeset -u ucatcf=$ATCFNAME | ||
YMD=${PDY} HH=${cyc} generate_com -x COM_ATMOS_TRACK | ||
if [ -f ${COM_ATMOS_TRACK}/avnop.t${cyc}z.cyclone.trackatcfunix ]; then | ||
cat $COM_ATMOS_TRACK/avnop.t${cyc}z.cyclone.trackatcfunix | sed s:AVNO:${ucatcf}:g > $TRACKDIR/tctrk.atcf.${CDATE}.${ATCFNAME}.txt | ||
cp -p $TRACKDIR/tctrk.atcf.${CDATE}.${ATCFNAME}.txt $COM_ATMOS_TRACK/tctrk.atcf.${CDATE}.${ATCFNAME}.txt | ||
rm -f $COM_ATMOS_TRACK/avnop.t${cyc}z.cyclone.trackatcfunix $COM_ATMOS_TRACK/avno.t${cyc}z.cyclone.trackatcfunix | ||
echo "$COM_ATMOS_TRACK/avno*.t${cyc}z.cyclone.trackatcfunix deleted...." | ||
else | ||
echo "no track file created...." | ||
fi | ||
|
||
status=$? | ||
|
||
exit "${status}" |