The latest scripts have some useful enhancements over previous SMOKE script versions. These updates are intended to reproduce many of the features users have independently added to their scripts to support the ways SMOKE is most commonly used. These changes includes:
Improved automatic creation of output and input directories
Optional automatic deleting of SMOKE intermediate and output files for reruns
Built-in ability to model nonroad sources as a separate source category
Built-in feature for incrementing model days
Simplified Assigns files
Better internal documentation of options available for each program
Automated selection of mass or mole based speciation matrices, based on units selected by the user
Log file renaming without prompting users
Automated list file building for intermediate lists of files (e.g., PTMPLIST
, METLIST
, MEFLIST
files)
Optional debug settings in script to switch production scripts to debug scripts easily (for advanced users)
The features of the new scripts that are needed when adapting old scripts to run with SMOKE v1.5 and later are as follows:
The Smkinven output files must be deleted. This can be accomplished by adding the RUN_PART1
environment variable to the main script and set it to Y. In the Assigns file, call the smk_rmfiles.scr
as the last call prior to exiting the Assigns file.
The Smkinven INVNAME1
and INVNAME2
environment variables must be set. To do this, make sure to use the new smk_run.csh
instead of the old smk_run.scr
script in your main run scripts.
If not processing for toxics, the INVTABLE
environment variable is the only new required logical file name. This must be added to your old Assigns files. The SIPOLS
and ACTVNAMS
settings can be removed.
If processing for toxics, we do not recommend that you try to run with your old scripts. If you do, you will at least need to add the NHAPEXCLUDE
and ARTOPNT
files to your scripts. You will also have to add options to Smkinven.
As of SMOKE v2.3, two new environment variables [A|M|P]TMPNAME
and [A|M|P]TSUPNAME
are used to set the directory and file prefix for naming the output files [A|M|P]TMP
and [A|M|P]TSUP
. The files are named using the starting date of each time period.For example, if ATMPNAME
is set to /data/ntmp.nctox., then the ATMP
file for a given time period will be put in the data directory and named ntmp.nctox.start date.ncf.