Welcome to the Earthdata Forum! Here, the scientific user community and subject matter experts from NASA Distributed Active Archive Centers (DAACs), and other contributors, discuss research needs, data, and data applications.
by blesht » Mon Feb 20, 2017 12:42 pm America/New_York
Hi. I'm trying to generate some MODIS L2 files that have only the Lee IOP values (a_qaa and bb_qaa). I have a script that invokes l2gen. The script has the following line:
echo l2prod=a_qaa bb_qaa l2_flags >> .parin
However, the script fails as below:
Opening: /Volumes/3TBDrive/MODIS/L2v73qaa/Michigan/2016/A2016001182500.L2.hdf Reading Thuillier_F0.dat The following products will be included in /Volumes/3TBDrive/MODIS/L2v73qaa/Michigan/2016/A2016001182500.L2.hdf. 0 a_qaa 1 bb_qaa 2 l2_flags
/Users/seadas/ocssw/build/src/l2gen/get_l2prod_index.c - Invalid product name : a_qaa
The product is wavelength-specific, you need to specify the wavelength of interest:
where nnn is replaced by the integer wavelength (e.g. a_412_qaa). If you leave nnn it will try to generate products for bands for which it cannot. But you can replace nnn with vvv to get all the visible wavelengths
by blesht » Mon Feb 20, 2017 3:12 pm America/New_York
Thanks, Sean. That would explain why, in an older version of the code (I just uncovered), I requested "a_488_qaa." I was using the SeaDAS7.3.2 l2gen GUI to explore product options and didn't notice anything that suggested I needed to specify the wavelength. Should have figured that out, I guess.