Concentration / Utility Programs / Convert to ASCII

The Convert to ASCII menu option uses the con2asc program to convert the binary concentration file to a simple ASCII file composed of one record per grid point for all grid points where concentrations at any level are non-zero. Concentrations for multiple levels and pollutant species are all listed on the same record for each grid point. The primary purpose of the conversion is to create a file that can be imported into other applications. An illustration of the GUI menu is shown below for the sample concentration simulation.

The Concentration Setup menu determines the file name selection option on the GUI. There are some additional checkboxes that correspond to various command line conversion options.

con2asc -[options (default)]

-c[Convert entire file flag]

-i[Input file name (cdump)]

-m[Minimum output format flag]

-o[Output file name base (Input File Name)]

-z[Zero points output flag]

The format of each record in the output file is given by:

Each output record is identified by the day (Julian: 1 to 365) and hour (UTC) of the ending time of each sample. The ASCII conversion of the first file generated by the sample calculation is shown below in the illustration.



Table of Contents