Skip to content

Commit

Permalink
Merge pull request #116 from RobertoPadilla-NOAA/feature/gfsv16_wave_…
Browse files Browse the repository at this point in the history
…prdgen

Feature/gfsv16 wave prdgen
  • Loading branch information
KateFriedman-NOAA authored Aug 25, 2020
2 parents 45ad029 + ce3816d commit a1b08c9
Show file tree
Hide file tree
Showing 268 changed files with 5,612 additions and 0 deletions.
41 changes: 41 additions & 0 deletions jobs/JGLOBAL_WAVE_GEMPAK
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash


date
set -xa
export PS4='$SECONDS + '
#
export NET=${NET:-gfs}
export RUN=${RUN:-gfs}
export COMPONENT=${COMPONENT:-wave}
export machine=${machine:-WCOSS_DELL_P3}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))}
###################################
# Set COM Paths
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
#export pid=$$
export pgmout="OUTPUT.$$"

export DBN_ALERT_TYPE=NFC_WAVEENS_GEMPAK
export SENDCOM=${SENDCOM:-YES}
export SENDDBN=${SENDDBN:-YES}
# Set PDY
sh setpdy.sh
. PDY
env
msg="Begin job for $job"
postmsg "$jlogfile" "$msg"

########################################################
# Execute the script.
/${HOMEgfs}/scripts/exgfs_wave_nawips.sh.ecf

###################################
# Remove temp directories
if [ "$KEEPDATA" != "YES" ]; then
cd $DATAROOT
rm -rf $DATA
fi

date
41 changes: 41 additions & 0 deletions jobs/JGLOBAL_WAVE_PRDGEN_BULLS
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
set -xa

export NET=${NET:-gfs}
export RUN=${RUN:-gfs}
export COMPONENT=${COMPONENT:-wave}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))} # parent directory of current job card

###################################
# Set COM Paths
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
export PCOM=${PCOM:-${COMOUT}/wmo}
export SENDCOM=${SENDCOM:-YES}
export SENDDBN_NTC=${SENDDBN_NTC:-YES}

if [ $SENDCOM = YES ]; then
mkdir -p $COMOUT $PCOM
fi
# Set PDY
setpdy.sh
. PDY
env

###################################
# Execute the Script

$HOMEgfs/scripts/exgfs_wave_prdgen_bulls.sh.ecf

###################################
# Remove temp directories

if [ "$KEEPDATA" != "YES" ]; then
cd $DATAROOT
rm -rf $DATA
fi
date

43 changes: 43 additions & 0 deletions jobs/JGLOBAL_WAVE_PRDGEN_GRIDDED
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
set -xa

# PATH for working directory
export NET=${NET:-gfs}
export RUN=${RUN:-gfs}
export COMPONENT=${COMPONENT:-wave}
export HOMEgfs=${HOMEgfs:-$(dirname $(dirname $0))} # parent directory of current job card

###################################
# Set COM Paths
###################################
export COMIN=${COMIN:-$(compath.py ${NET}/${envir}/${RUN}.${PDY})/${cyc}/$COMPONENT}
export COMOUT=${COMOUT:-${COMROOT}/${NET}/${envir}/${RUN}.${PDY}/${cyc}/$COMPONENT/gempak}
export PCOM=${PCOM:-${COMOUT}/wmo}
export SENDCOM=${SENDCOM:-YES}
export SENDDBN_NTC=${SENDDBN_NTC:-YES}
if [ $SENDCOM = YES ]; then
mkdir -p $COMOUT $PCOM
fi

# Set PDY
setpdy.sh
. PDY
env

###################################
# Execute the Script
###################################
$HOMEgfs/scripts/exgfswave_prdgen_gridded.native.sh.ecf

###################################
# Remove temp directories
###################################
if [ "$KEEPDATA" != "YES" ]; then
cd $DATAROOT
rm -rf $DATA
fi
date

32 changes: 32 additions & 0 deletions modulefiles/modulefile_gfswave_gempak.wcoss_dell_p3
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#%Module
## Roberto.Padilla@noaa.gov IMSG@NOAA/NWS/NCEP/EMC
##
## GEMPAK
##_____________________________________________________
proc ModulesHelp { } {
puts stderr "Set environment for PRDGENvX.XX.X "
puts stderr "codes in the sorc directory. "
puts stderr "This module initializes the environment "
puts stderr "for the DELL implementation. \n"
}
module-whatis " PRDGEN-wave lsf runtime jobs whatis description"

set ver v1.2.0

set sys [uname sysname]


module load EnvVars/1.0.2
module load ips/18.0.1.163
module load impi/18.0.1
module load lsf/10.1
module load HDF5-serial/1.10.1
module load NetCDF/4.5.0
module load CFP/2.0.2
module load prod_util/1.1.4
module load grib_util/1.1.0
module load prod_envir/1.0.3
module load util_shared/1.1.2
module load bufr/11.2.0
module load sigio/2.0.1
module load gempak/7.3.1
32 changes: 32 additions & 0 deletions modulefiles/modulefile_gfswave_prdgen.wcoss_dell_p3
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#%Module
## Roberto.Padilla@noaa.gov IMSG@NOAA/NWS/NCEP/EMC
##
## NFCENS
##_____________________________________________________
proc ModulesHelp { } {
puts stderr "Set environment for PRDGENvX.XX.X "
puts stderr "codes in the sorc directory. "
puts stderr "This module initializes the environment "
puts stderr "for the DELL implementation. \n"
}
module-whatis " PRDGEN-wave lsf runtime jobs whatis description"

set ver v1.0.0

set sys [uname sysname]


module load EnvVars/1.0.2
module load ips/18.0.1.163
module load impi/18.0.1
module load lsf/10.1
module load HDF5-serial/1.10.1
module load NetCDF/4.5.0
module load CFP/2.0.2
module load prod_util/1.1.4
module load grib_util/1.1.0
module load prod_envir/1.0.3
module load util_shared/1.1.2
module load bufr/11.2.0
module load sigio/2.0.1
module load gempak/7.3.1
32 changes: 32 additions & 0 deletions modulefiles/runtime_gfswave_gempak.wcoss_dell_p3
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#%Module
## Roberto.Padilla@noaa.gov IMSG@NOAA/NWS/NCEP/EMC
##
## GEMPAK
##_____________________________________________________
proc ModulesHelp { } {
puts stderr "Set environment for PRDGENvX.XX.X "
puts stderr "codes in the sorc directory. "
puts stderr "This module initializes the environment "
puts stderr "for the DELL implementation. \n"
}
module-whatis " PRDGEN-wave lsf runtime jobs whatis description"

set ver v1.2.0

set sys [uname sysname]


module load EnvVars/1.0.3
module load ips/18.0.5.274
module load impi/18.0.1
module load lsf/10.1
module load HDF5-serial/1.10.1
module load NetCDF/4.5.0
module load CFP/2.0.2
module load prod_util/1.1.4
module load grib_util/1.1.1
module load prod_envir/1.0.3
module load util_shared/1.1.2
module load bufr/11.2.0
module load sigio/2.0.1
module load gempak/7.3.1
Loading

0 comments on commit a1b08c9

Please sign in to comment.