MOBILE6 Input Conversion Tool

This utility converts a specific format of MOBILE6 input files into the input files needed when running MOBILE6 through SMOKE.

Usage

Program file

Download the program file convert_m6_inputs.pl and confirm that it is executable.

At the command prompt, type the following:

convert_m6_inputs.pl <input directory> <output directory>

<input directory> is a directory that contains the MOBILE6 input files. These files are expected to use the following naming convention:

[A-Z](5 digit FIPS code)(2 digit particle size).IN

The utility reads all files in the input directory that are named *10.IN. Each file must contain exactly one run with multiple scenarios. The first 12 scenarios in the file must correspond to the inputs for January through December. This format matches the MOBILE6 input files created and used by Pechan.

<output directory> is the directory where the output files will be written. If this directory does not exist, it will be created along with separate directories inside of it for each month (January through December). Each output file is written to the proper directory and named using the 5 digit FIPS code from the original input file name.

Limitations