The assigns files are located in
. The nctox case assigns file is called $SMKROOT
/assignsASSIGNS.nctox.cmaq.cb4p25.us12-nc
. One Assigns file is provided for the nctox case, and you can create your own files by copying it to a new name and changing
it. At least one Assigns file must come with each preconfigured run (such as the nctox case) for SMOKE.
The Assigns files are divided into three major sections. The first section contains environment variables for controlling the setup of a case, such as the dates being modeled, the name of the grid, and the name of the chemical mechanism. The second section lists all of the input files in SMOKE (by source category) and users can change these adapt the Assigns files to their cases by changing the input files. The third section calls helper scripts to create input and output directories and configure the compiler environment variables. It is wise to copy an existing Assigns files to new files and modify the new files, so that you do not lose the default configuration.
In addition, there are a number of helper scripts used by the Assigns files. Unless users are changing the way SMOKE behaves when running from scripts, it should not be necessary to change these scripts. Changing them could result in behavior different from what is documented in this chapter. The helper scripts and their purposes are:
check_settings.scr
: Set all environment variables used in Assigns file to default values if they are not already defined by a calling script
(e.g., when invoking the Assigns file from the UNIX prompt instead of a script).
set_case.scr
: Set the environment variables that control output file names (ABASE
, BBASE
, MBASE
, PBASE
, EBASE
, ASCEN
, BSCEN
, MSCEN
, PSCEN
, and ESCEN
). See also the SMK_FUTURE_YN
, FYEAR
, SMK_CONTROL_YN
, and CNTLCASE
script settings in Section 4.3.4, “Script settings”
set_dirs.scr
: Set the SMOKE directory structure
setmerge_files.scr
: Set Smkmerge output file names, depending on run script settings
smk_mkdir
: Create input and output directories
smk_rmfiles.scr
: Remove SMOKE intermediate and output files
sysflags
: Set the compiler options needed for compiling SMOKE
unset.scr
: Unset environment variables that do not need to be defined after the Assigns file has been run