
========================================================================================

This package includes sample IDL codes for OMI & CMAQ NO2 VCD comparison, 
discussed in
"OMI NO2 column densities over North American urban cities: 
the effect of satellite footprint resolution" 



Please, find detailed information from http://www.geosci-model-dev-discuss.net/gmd-2015-195/ 
or from the finalized draft.
Feel free to contact authors for any question and/or 
the latest version of sample codes.



                                          Feb. 3, 2016
Hyun Cheol Kim (hyun.kim@noaa.gov)


========================================================================================

1) Untar sample codes



   tar xvfz routines_sample_no2_omi_cmaq.tgz



2) Download sample CMAQ files

   

mkdir data

   wget https://www.dropbox.com/s/mpuc4m7dw2r81y6/subset.t12z.conc.20130805.ncf?dl=0 -O data/subset.t12z.conc.20130805.ncf
   
wget https://www.dropbox.com/s/al3x3k6ehshn2ti/subset.t12z.metcro3d.20130805.ncf?dl=0 -O data/subset.t12z.metcro3d.20130805.ncf



3) Set IDL path 


4) Run IDL code



   IDL> sample_no2_omi_cmaq



5) What the sampel routine does...

	

   - Download TEMIS OMI data
 & map data
   - Perform spatial regridding of OMI data onto target model domain
	
   - Calculate Averaging Kernel
	
   - Build CMAQ NO2 VCD
	
   - Genrate Downscaled OMI using CMAQ NO2 VCD
	
   - Make plots for (CMAQ NO2 VCD with and without AK, and OMI NO2 VCD with and without Downscaling)	



6) Note
	

   - This package is prepared with IDL Version 8.2.1.
   - We acknowledge the use of free subroutines, especially the polygon routines provided by Dr. JD Smith
	
   - This package can be modified and/or redistributed for academic purpose only. 
	
   - This package is distributed without any warranty. 
