AMF Code

From AtmosWiki
Jump to: navigation, search
AMF(Air Mass Factor) is used to convert satellite slant column into vertical column [Palmer et al., JGR, 2001]. Currently we have codes for NO2,SO2 and HCHO
The most recent version of the AMF Code can be found here.

Running the AMF Code on the Glooscap Cluster

Running the AMF code as an array job on a cluster typically allows hundreds of satellite orbits to be processed in parallel. This is the preferred approach for AMF calculations when AMFs are being calculated for multiple orbits. For example, the increase in processing time is roughly a factor of 400 for a month of satellite data run on the Glooscap cluster versus a month run on a single stetson node.

In addition to the information below, there are instructions for using Glooscap to run Matlab, IDL, GEOS-Chem etc on the Glooscap Cluster page.

To run the AMF code on Glooscap, first login to Glooscap using:

ssh [username]@glooscap.ace-net.ca

Modify your .bashrc file in your Glooscap home directory to include the following:

module purge
ulimit -s unlimited
export PATH=/home/rmartin/group/sajeev/geos-chem-libraries-intel11/bin:/home/rmartin/group/sajeev/geos-chem-libraries-intel11/software/intel/Compiler/11.1/080/bin/intel64:$PATH
export LD_LIBRARY_PATH=/home/rmartin/group/sajeev/geos-chem-libraries-intel11/lib:/home/cnowlan/hdf_build/hdfeos5/hdfeos5/lib:/home/rmartin/group/sajeev/geos-chem-libraries-intel11/software/intel/Compiler/11.1/080/lib/intel64:/home/rmartin/group/sajeev/geos-chem-libraries-intel11/hdf-4.2.9/lib:$LD_LIBRARY_PATH

Modify .cshrc file to include:

setenv LD_LIBRARY_PATH /home/rmartin/group/sajeev/geos-chem-libraries-intel11/lib:/home/cnowlan/hdf_build/hdfeos5/hdfeos5/lib:/home/rmartin/group/sajeev/geos-chem-libraries-intel11/software/intel/Compiler/11.1/080/lib/intel64:/home/rmartin/group/sajeev/geos-chem-libraries-intel11/hdf-4.2.9/lib:${LD_LIBRARY_PATH}

The following directory contains the AMF code and a sample script to submit to the cluster:

/home/cnowlan/AMFv5.10/

To run the AMF code, use

sh omi_so2_GEOS5_acenet.sh

This file can be viewed from stetson through the mount /acenet/home/cnowlan-acenet-home/AMFv5.10/omi_so2_GEOS5_acenet.sh.