3.3.7. Invsplit

3.3.7.1. Description
3.3.7.2. Processing Order
3.3.7.3. Files and Environment Variables

3.3.7.1. Description

The Invsplit program splits an ORL inventory file into multiple raw inventory files, based on the state codes. 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 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.

3.3.7.2. Processing Order

This optional program can be run prior to running the Smkinven program to import the emission inventories.

3.3.7.3. Files and Environment Variables

3.3.7.3.1. 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.
SPLITS ASCII

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
3.3.7.3.2. Input Environment Variables

None

3.3.7.3.3. 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