#PBS -N hwrf%STORMNUM%_ensda_pre_%CYC% #PBS -j oe #PBS -S /bin/bash #PBS -q %QUEUE% #PBS -A %PROJ%-%PROJENVIR% #PBS -l walltime=00:15:00 #PBS -l select=1:ncpus=1:mpiprocs=1:mem=8G #PBS -l debug=true model=hwrf %include %include export cyc="%CYC%" export storm_num="%STORMNUM%" # versions file for hwrf sets $model_ver and $code_ver module use ${HOMEhwrf}/modulefiles/ module load HWRF/runensda module list ${HOMEhwrf}/jobs/JHWRF_ENSDA_PRE %include %manual TASK ensda_pre PURPOSE: Determines if the next cycle will have a flight observing the hurricane inner core region. Turns on ENSDA if so, and turns off if not. NOTE: Only one storm can have ENSDA turned on at a time. Events: Ensda - if set, the ensemble should run, and if clear, the ensemble should not run. The determination of whether to use ENSDA is done as follows: 1. If this cycle had an inner core observation flight by the Hurricane Hunter aircraft, then this cycle runs ENSDA. 2. If this cycle had no flight, then it runs ENSDA if the next cycle will have such a flight. This is done by looking for a trigger file sent by the Aircraft Operations Center (AOC). For details, see the ush/hwrf/ensda.py file within HWRF, specifically the read_trigger_file function. 3. If neither this cycle nor next cycle is under Hurricane Hunter aircraft observation, ENSDA is turned off. %end