This page contains links to a variety of CAMx pre- and post-processors and other tools. These source codes are distributed by Ramboll Environ as free software, and they contain notices like this:
Copyright (C) 2016 Ramboll Environ
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Ramboll Environ occasionally posts updates for certain widely-used programs when necessary, but does not actively support or maintain every one. Users can e-mail questions, comments, suggestions or improvements to CAMx.
All of the files on this server were created using the Linux/Unix tar command. In all cases the tar file is compressed to save space. To unpack the contents use the command:
tar xzvf file.tgz
Archive of AVGDIF program. Use to compare two CAMx format files and print a table of differences. Useful for checking differences between CAMx runs on different machines for the test case. See the file sample.job in the archive for usage. Updated 15 May 2013 to fix a minor bug reading v6+ file headers.
Archive of BNDEXTR program. Use this program to extract boundary conditions for 1-way nesting. Updated 20 September 2016 to support CAMx polar and mercator projections. See the example job for usage.
Archive of BIN2ASC and ASC2BIN programs. Use these programs to convert UAM/CAMx Fortran binary files to ASCII text files. See the README file for usage. Updated 7 May 2010 to fix a minor bug in processing point source files.
Archive of CAMx2IOAPI program that converts CAMx input emission files and output average concentration and deposition files to I/O-API format. See sample job script for more information. You will need I/O-API and NetCDF libraries to compile and run this program. Updated 8 April 2016 to include VBS SOA species names and to recognize CAMx Polar and Mercator projections.
Archive of CAMxPOST set of post-processing utilities. Used to combine observations and predictions, calculate statistics, plot time series. See the README file in the archive for usage. Updated 2 October 2009 to correct a minor bug in CAMxSTAT and to add additional output from EXTSTAT (with associated updates for the template spreadsheets).
Archive of CAMxtrct code. Use to extract single species to separate CAMx binary or text file formats. See the file sample.job in the archive for usage. Updated 8 April 2016 for general code cleanup, add CB6 VOC, minor bug fixes.
Archive of CMAQ2CAMx interface program that converts CMAQ emissions and IC/BC files to CAMx formats. See README and job scripts for more information. You will need I/O-API and NetCDF libraries to compile and run this program. Updated 8 April 2016 to process CAMx Polar and Mercator projections. Updated 22 September 2016 to fix a minor bug checking map projection type for in-line point source files.
Archive of a program that generates CAMx initial and boundary condition input files from GEOS-Chem output. See the Release Notes and job scripts in the archive for a description of the program and how it is applied. Updated 8 April 2016 to handle GEOS-Chem UCX stratospheric chemistry and to process CAMx Polar and Mercator projections Updated 22 September 2016 to fix several bugs, accommodate variable number of GOES-Chem layer structures, and to add a new species mapping file.
Archive of ICBCPREP program. Use this program to prepare simple, static CAMx initial condition (IC) and boundary condition (BC) files. See the file sample.job in the archive for usage.
Archive of KVPATCH program. Applies minimum Kv values to layers below a user-defined height based on input landuse fields and surface layer stability within that depth. See the README file included with the source code for details. Updated 6 May 2013 for CAMx v6+ input file formats; updated 1 July 2013 to fix various bugs; updated 8 May 2014 to apply cloud patch only over land.
Archive of METCONVERT program. Use this program to convert CAMx pre-v6 meteorological input files to CAMx v6+ formats. See the sample job script for details on how to configure and operate the program. Updated 26 January 2017 to fix an indexing bug processing 11-category LU files and a bug writing lat/lon projection parameters.
Archive of the METSTAT system, which provides the ability to generate time series and statistical MM5/WRF model performance for winds, temperature, and humidity. See README for usage. Updated 9 December 2013 to fix a minor bug defining the input file unit.
Archive of the MERGE-LULAI program, which provides the ability to merge GIS-derived landuse and LAI fields with a pre-existing CAMx v6+ 2D surface file. Updated 8 April 2016 to fix a bug reading date/time stamps. Updated 16 September 2016 to fix a bug in processing GIS-derived water LU. See sample job script and source code for usage.
Archive of a program that generates CAMx v6+ meteorological input files from MM5 v3 output files. See the README in the archive for a description of the program and how it is applied.
Archive of a program that generates CAMx and CMAQ initial and boundary condition input files from MOZART4 output (using both GEOS and NCEP met). See the README in the archive for a description of the program and how it is applied. You will need I/O-API and NetCDF libraries to compile and run this program. Updated 8 April 2016 to generate CAMx top boundary condition files, handle missing MOZART species and to process CAMx Polar and Mercator projections.
Archive of O3MAP program with test problem. Use to prepare ozone column input file for TUV and CAMx. See README file and sample job script in the archive for usage. This program replaces AHOMAP for use with CAMx v6+. Updated 8 April 2016 to process CAMx Polar and Mercator projections. Updated 20 September 2016 to handle CAMx domains crossing the International Date Line (+/- 180 degrees), and to improve efficiency in filling missing TOMS data by interpolation. Download ozone column data (lat/lon grid) in TXT format from ftp://toms.gsfc.nasa.gov/pub/omi/data/ or https://ozoneaq.gsfc.nasa.gov/data/ozone/.
Archive of PA postprocessing programs that extract IPR, IRR and CPA data from one or more CAMx Process Analysis binary files, and reformat the data for subsequent analyses (e.g., using spreadsheets or PAVE). Updated 4 April 2012 to update the Excel macro to accommodate Office/Excel 2007 and to allow more than 99 reactions in processing IRR output.
Archive of PIGSET program. Use this program to select and set sources for Plume-in-Grid (PiG) treatment in a CAMx simulation. Also converts an ASCII point source file to BINARY format. See the file pigset.sample.job in the archive for usage. Updated 23 May 2014 to improve checks on internal variable dimensions for large point source files.
Archive of PREPVBS scripts that run the XSPCMAP program. Use these to prepare VBS POA and IVOC emissions for each basis set (anthropogenic, meat cooking, fires, biogenic) as this automated process has been removed from CAMx. You must separately download the XSPCMAP program (see below). See the sample job script and species mapping tables for more information. Updated 22 December 2016 to add CB6r4 and to revise anthropogenic and biogenic classification of VBS SOA precursors.
Archive of a program that generates CAMx v6+ meteorological input files from RAMS v4/5/6 output files. See the sample namelist and README files in the archive for usage.
Archive of the REGNMAP program that generates a partial region map for the CAMx source apportionment Probing Tool. This program uses output from SMOKE spatial allocation reports. See the sample scripts and CAMx User's Guide for more information.
Archive of SEASALT program that generates aerosol emissions of sodium, chloride and sulfate, and gas emissions of halomethane compounds, using CAMx-ready meteorological and landuse files. Archive includes a merging program that allows emissions to be merged in with pre-existing CAMx-ready gridded emission files. See the PDF document and sample job for description and usage. Updated 8 April 2016 to optionally read a CAMx-formatted ocean mask file, add sea ice, process CAMx Polar and Mercator projections, and general code cleanup and speedup. Updated 20 September 2016 to fix a minor wind calculation bug and to introduce the ability to scale emissions of sodium, chloride and suflate.
Archive of TUV version 4.8 for CAMx v6.00 through v6.20 with test problem. Use this program to develop clear-sky photolysis rate inputs. See sample jobs in the archive for usage. Updated 25 February 2015 to support halogen reactions and to fix minor height interpolation bugs. This version has changed pointers to photolysis reactions -- Use the new sample job script provided in the archive -- do not use old TUV job scripts. TUV originates from UCAR (http://cprm.acd.ucar.edu/Models/TUV/).
Archive of TUV version 4.8 for CAMx v6.30+ with test problem. Use this program to develop clear-sky photolysis rate inputs. See sample jobs in the archive for usage. Updated 8 April 2016 to support SAPRC07TC and for consistency with the new snow albedo treatment in CAMx. This version has changed pointers to photolysis reactions -- Use the new sample job script provided in the archive -- do not use old TUV job scripts. TUV originates from UCAR (http://cprm.acd.ucar.edu/Models/TUV/).
Archive of WATERMASK program. Use this program to convert a CAMx landuse file containing all water coverage in index=1 to a new landuse file that differentiates between salt/ocean water coverage (index=1) and fresh water coverage (index=3). See the included PDF document and sample job for usage. Updated 27 January 2017 to address an inconsistent definition of fortran type in the makefile, and to help avoid accidentally clobbering an edited watermask file if the Run ID is not set properly.
Archive of WINDOW program. Use this program to window/aggregate/interpolate BINARY format surface emissions files. See the sample job for usage. Updated 6 May 2013 to fix a minor bug when using buffer cells with the same input and output resolution.
Archive of a program that generates CAMx v6+ meteorological input files from WRF/ARW v3 output files. See the README in the archive for a description of the program and how it is applied. Updated 8 April 2016 to introduce Polar and Mercator projections, introduce new snow cover inputs for CAMx, fix a minor bug when processing precipitation from WRF output files that contain only a single output time, and to fix a minor array indexing bug for U10/V10 diagnostic fields. Updated 20 September 2016 to improve the reading/processing of USGS (24 category), MODIS IGBP (20 and 21 category), and MODIS NCLD (40 and 50 catgegory) landuse fields. Updated 8 February 2017 to allow CAMx grid cell size to be defined as a fraction (e.g., 4/3) instead of a decimal (e.g., 1.33) to ensure the best decimal representation.
Archive of the XSPCMAP program that creates new output variables from a linear combination of input variables as defined by a species mapping table. I/O is in the form of CAMx binary gridded files. See the sample script, mapping table, and fortran source code for more information.