CMAQ evaluation tools
With CMAQ running semi-successfully on System X (THH "waiting too long for completion" hangups crop up occasionally but are system- and not code-related), I am now using the evaluation tools to compare model output to observations. Here is the order of reformatting:
1) AQS AIRS files, including STN/IMPROVE and PAMS speciation in AIRS formats, downloaded from http://www.epa.gov/ttn/airs/airsaqs/detaildata/downloadaqsdata.htm
2) Use the rd_airs program to convert these to an intermediate format
3) Use the airs2ext program to convert the intermediate format to CASTNET format
4) Use sitecmp to compare the CASTNET-formatted data to your model output, the ACONC files
On compiling the evaluation tools:
1) The Makefile assumes the Portland Fortran90 compiler, so I had to recompile a Portland Fortran version of IOAPI.
2) I had to specify the locations of the libioapi.a and libnetcdf.a files in the Makefile.
3) The correctly formatted EXT files are in $IOAPI/ioapi/fixed_src.
4) For the sitecmp program, XSTAT3.EXT does not exist, but the version of this file that came with the unified version of CMAQ is covered by definitions in PARMS3.EXT, so I commented out the line for XSTAT3.EXT.
5) To get the program combine to compile, I had to modify the Makefile and put module_specdef.o ahead of all the other .o files. We will be calculating PM2.5 as
PM25T25,ug/m3,
(ASO4I[2]+ANO3I[2]+ANH4I[2]+AORGAI[2]+1.167*AORGPAI[2]+AORGBI[2]+AECI[2])*PM25AT[1]+
(ASO4J[2]+ANO3J[2]+ANH4J[2]+AORGAJ[2]+1.167*AORGPAJ[2]+AORGBJ[2]+AECJ[2]+ANAJ[2]+ACLJ[2]+A25J[2])*PM25AC[1]+
(ASO4K[2]+ANAK[2]+ACLK[2]+ACORS[2]+ASOIL[2])*PM25CO[1]
as obtained from Prakash Bhave at NOAA/EPA.