5.3.8. Invsplit Description Processing Order Files and Environment Variables Description

The Invsplit program splits an IDA, SMOKE ORL, or EMS-95 raw inventory file into multiple raw inventory files, based on the state codes (the first two digits of the state/county codes in the IDA files). The number of output files is set at run time based on the input file that defines the splitting. Up to 80 new files can be created from a single IDA inventory file, which is more than enough files to split a U.S. inventory into a separate file for each state. The program works on area, on-road mobile, nonroad mobile, and point inventories. Separating a single inventory file into multiple files allows the inventory data to be recombined with other data more easily. Processing Order

This optional program can be run prior to running the Smkinven program to import the emission inventories. Files and Environment Variables Input Files
File Name Format Description
ARINV, MBINV, or PTINV ASCII Input inventory file; the logical name used depends on the SMK_SOURCE setting. The ARINV file is for nonpoint (stationary area) and nonroad mobile sources, the MBINV file is for on-road mobile sources, and the PTINV file is for point sources.

Space-delimited file that lists the state codes and indicates which output file should include the emissions for that state. The first column is for the state codes and the second column is the output file number. In this example, states 1 and 4 will be written to the OUTFILE01 output file logical name, state 37 to OUTFILE02, and state 45 to OUTFILE03. The numbers in the second column need not be sequential.

01    1
04    1
37    2
45    3 Input Environment Variables

None Output Files
File Name Format Description
OUTFILEnn ASCII One or more inventory files in the same inventory format input by the ARINV, MBINV, or PTINV input file for a given program run. The actual logical file name of these files is OUTFILE01, OUTFILE02, OUTFILE03, ... OUTFILEnn, where nn = the largest number in the second column of the SPLITS file. The output file names are not necessarily sequential, depending on whether or not sequential numbers are used in the second column of the splits file.
LOGFILE ASCII Log generated from executing Invsplit