# environment variables used by all HWRF jobs. This file is # parsed by the hwrf_stream_parse.pl program. # There are additional files used to create the storm*.holdvars.txt: # # hwrf_vitals.in -- settings obtained from message* or syndat_tcvitals # The parsed version of that file is earlier than this one in the # final holdvars file. # hwrf_proc_config.in -- number of cores used for various tasks # # This is also used, but not by NCO: # # hwrf_para_config.in -- additional settings for non-NCO (para) mode # Insert the contents of the vitals and processor config files: @** insert ./${stormlabel}.vitals.in @** insert ./${stormlabel}.proc_config.in # Mandatory settings: export PARAFLAG=@[PARAFLAG] # NO=NCO mode, YES=development mode export MODEL=@[MODEL] # ATMOS or COUPLED export storm_num=@[storm_num] # Storm message number (1..5) export MERGE_SUBMITS_FORECAST=YES # YES=hwrf_merge submits hwrf_forecast export ATMOS_INPUT=@[ATMOS_INPUT] # Mandatory paths: export HOMEhwrf=@[HOMEhwrf] # HWRF install location (/nwprod/hwrf-version) export DATA=@[DATA] # HWRF run directory (/path/to/2012081306/12l) export HISTDATA=@[HISTDATA] # where to get previous cycle export COMIN=@[COMIN] # where to get parent (GFS) model inputs export COMOUT=@[COMOUT] # where to send output # NCO-Specific Settings: export SENDCOM=YES export envir=@[envir:-test] export outid=LL @** if PARAFLAG==YES export SENDSMS=NO export SENDDBN=NO @** else export SENDSMS=YES export SENDDBN=YES @** endif export mesagdir=@[mesagdir:-DATA] @** if MODEL==COUPLED @** if OCEAN==POM # Mandatory POM settings @** if PARAFLAG==YES export SPINUP_DATA=@[SPINUP_DATA:-$CDSCRUB/$user/DATA/OCEAN/] @** else export SPINUP_DATA=@[SPINUP_DATA:-$DATA/OCEAN/] @** endif @** elseif OCEAN==HYCOM # Mandatory HyCOM settings (not used by NCO HWRF) export previous_domain="@[previous_domain]" @** endif @** endif # ---------------------------------------------------------------------- # Everything past here should not need to be modified by NCO # Options; defaults are set for operational (NCO) HWRF: @[NWPROD=${NWPROD:-/nwprod}] # path to NCEP-wide nwprod export model_ver=@[model_ver:-v6.0.0] export INIT=@[INIT:-YES] export FIND_GFS_VORTEX=@[FIND_GFS_VORTEX:-YES] export NWPROD=@[NWPROD] export GSI=@[GSI:-YES] export WAVEWATCH=@[WAVEWATCH:-NO] export GWD=@[GWD:-YES] export SEASPRAY=@[SEASPRAY:-NO] export OCEAN=@[OCEAN:-POM] export ATLEXT=@[ATLEXT:-NO] export CASE_ROOT=@[CASE_ROOT:-FORECAST] export IO_FORM=@[IO_FORM:-1] export RUN_SATPOST=@[RUN_SATPOST:-YES] export RUN_PREP_HYBRID=@[RUN_PREP_HYBRID:-YES] export MAKE_GRIB2=@[MAKE_GRIB2:-YES] # ---------------------------------------------------------------------- # Everything past here should not need to be changed # Required constants: export MODIN=GFS export ATMOS_DOMAINS=3 export HIRES=NO export RESTART=YES export AUTO_RSTART=NO export GOOD_AWK=nawk # overridden later for other platforms export C_EXE=hwrf_wm3c export DIAG=1 export IDIAG=0 export C_RESTART=n export C_PERIOD=540 export C_NSECS=453600 export C_NSBC=4 # Derived paths: export utilexec=@[NWPROD]/util/exec export utilscript=@[NWPROD]/util/ush export SPINUP_EXE=@[NWPROD]/exec export PRE_SORTVIT=@[NWPROD]/ush export FIXED_DATA=@[NWPROD]/fix export PARAM_DATA=@[NWPROD]/parm export STORM_TCVITALS=@[DATA]/@[stormlabel].vitals export C_execdir="$EXEChwrf" export W_execdir="$EXEChwrf" export Oexecdir="$EXEChwrf" export Oexecdir_EA="$EXEChwrf" export WGRIB_PATH="$utilexec/wgrib" export COPYGB_PATH="$utilexec/copygb" export NDATE_PATH="$utilexec/ndate" export MDATE_PATH="$utilexec/mdate" export ATCFdir=@[ATCFdir:-/com/tpc/prod/atcf] export EXEChwrf="$HOMEhwrf/exec" export PARMhwrf="$HOMEhwrf/parm" export KICKhwrf="$HOMEhwrf/kick_scripts" export EXhwrf="$HOMEhwrf/scripts" export JOBhwrf="$HOMEhwrf/jobs" export USHhwrf="$HOMEhwrf/ush" @** if PARAFLAG==YES export FIXhwrf="$HOMEhwrf/emcfix" @** else export FIXhwrf="$HOMEhwrf/fix" @** endif export FIX_GSI_PATH="$FIXhwrf/hwrf-gsi" export FIX_GSI_CRTM_PATH="$FIX_GSI_PATH/CRTM_Coefficients" # Ensure certain things are in the path: export PATH=:.:$PATH:$utilexec # Convenience variables expected by scripts: export LOGN="$USER" export member="@[member:-.]" export user="$USER/$member" # Critical work directories: export TMPDIR=@[DATA]/tmp export CSTREAM=@[DATA]/$STORM.$YMDH # ---------------------------------------------------------------------- # Parse the PARA (non-NCO) mode input file if needed: @** if PARAFLAG==YES @** include ${PARMhwrf}/hwrf_para_config.in @** endif