Quick Fire Emission Dataset (QFED): Difference between revisions

Line 82: Line 82:
QFED has been successfully build and run on discover using '''qfed-1_0_a5''' tag with Python-2.5.4, pyhdf-0.8.3, Baselibs-3.2.1 and Intel-11.0.083 compiler. First, lets set some environmental variables:
QFED has been successfully build and run on discover using '''qfed-1_0_a5''' tag with Python-2.5.4, pyhdf-0.8.3, Baselibs-3.2.1 and Intel-11.0.083 compiler. First, lets set some environmental variables:


  setenv QFED ${HOME}/qfed/Linux/                                                   # QFED installation directory
  # QFED installation directory
set QFED = ${HOME}/qfed/Linux/
   
   
  setenv PATH ${QFED}/bin/:${SHARE}/dasilva/bin/:${PATH}                            # QFED scripts and n4zip utility
  # pyhdf - python interface to the HDF library
  setenv PYHDF '/usr/local/other/pyhdf/0.8.3/'                                     # pyhdf - python interface to the HDF library
  set PYHDF = '/usr/local/other/pyhdf/0.8.3/'
  setenv PYTHONPATH ${QFED}/lib/Python/:\                                          # Python modules
   
                  ${PYHDF}/lib/python2.5/site-packages/:\
# IGBP-INPE dataset
                  ${PYTHONPATH}                     
  set QFED_IGBP = '/discover/nobackup/rgovinda/Emissions/Vegetation/GL_IGBP_INPE/'
 
  setenv QFED_IGBP '/discover/nobackup/rgovinda/Emissions/Vegetation/GL_IGBP_INPE/' # IGBP-INPE dataset
# MODIS Fire products
  setenv MODIS_FIRE '/discover/nobackup/dao_ops/intermediate/flk/modis/'           # MODIS Fire products
  set MODIS_FIRE = '/discover/nobackup/dao_ops/intermediate/flk/modis/'
 
  setenv QFED_L3a ${HOME}/tmp/QFED-test/                                           # QFED Level3a output directory
# QFED Level3a and Level3 output directories
  setenv QFED_L3b ${HOME}/tmp/QFED-test/                                           # QFED Level3b output directory
  set QFED_L3a = ${HOME}/tmp/QFED-test/
  set QFED_L3b = ${HOME}/tmp/QFED-test/
# QFED scripts and n4zip utility
setenv PATH ${QFED}/bin/:${SHARE}/dasilva/bin/:${PATH}
# QFED and pyhdf python modules
setenv PYTHONPATH ${QFED}/lib/Python/:${PYHDF}/lib/python2.5/site-packages/:${PYTHONPATH}


To generate the QFED FRP (QFED-L3a) files for July 19, 2010 (DOY = 200) using both MODIS Aqua and Terra data, we will execute the qfed_l3a.py script, e.g.
To generate the QFED FRP (QFED-L3a) files for July 19, 2010 (DOY = 200) using both MODIS Aqua and Terra data, we will execute the qfed_l3a.py script, e.g.
Line 102: Line 110:
Next we will generate the actual emissions files for the same day by running the qfed_l3b.py script
Next we will generate the actual emissions files for the same day by running the qfed_l3b.py script


  qfed_l3b --input=${QFED_L3a} --output=${QFED_L3b} --ndays=1 2010 200
  qfed_l3b.py --input=${QFED_L3a} --output=${QFED_L3b} --ndays=1 2010 200