#PBS -N hwrf%STORMNUM%_unpost_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:05:00
#PBS -l place=vscatter,select=1:ncpus=1:mpiprocs=1:mem=1G
#PBS -l debug=true
model=hwrf
export cyc="%CYC%"
%include
%include
export cyc="%CYC%"
export storm_num="%STORMNUM%"
# versions file for hwrf sets $model_ver and $code_ver
module load envvar/${envvar_ver}
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load intel/${intel_ver}
module load cray-pals/${cray_pals_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
module load bufr/${bufr_ver}
module load hdf5/${hdf5_ver}
module load netcdf/${netcdf_ver}
# module load pnetcdf/${pnetcdf_ver}
module load udunits/${udunits_ver}
module load gsl/${gsl_ver}
module load nco/${nco_ver}
module load python/${python_ver}
module load cfp/${cfp_ver}
module list
${HOMEhwrf}/jobs/JHWRF_UNPOST
%include
%manual
TASK unpost
PURPOSE: Resets internal post-processing information so the
forecast/post family jobs will redo all post-processing.
The HWRF post-processing jobs in the forecast/post family are
restartable. That is, if they are killed and rerun, they will
automatically restart where they left off. Sometimes you want that,
such as if a node goes down and you need to resubmit the post while
the forecast is still running. Sometimes you want to rerun the entire
post-processing, such as if the forecast model crashes, and you have
to fall back to a different forecast method (say, no ocean coupling).
That is what the unpost is for. It resets all internal state
information, so that any future post or products jobs will redo all
past work. This ensures the forecaster does not get 36 hours of a
failed forecast follwed by 90 hours of a totally different forecast.
Instead, the forecaster will see all 126 hours from the same forecast.
%end