Page 1 of 1

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 12:42 pm America/New_York
by blesht
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

Why would this happen?

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 2:58 pm America/New_York
by OB.DAAC - SeanBailey
The product is wavelength-specific, you need to specify the wavelength of interest:

a_nnn_qaa
bb_nnn_qaa

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

Sean

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 3:12 pm America/New_York
by blesht
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.

Best, Barry

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 4:28 pm America/New_York
by OB.DAAC - SeanBailey
You're welcome...BTW, the GUI *does* indicate the product is wavelength specific:

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 4:47 pm America/New_York
by blesht
Hmmm.   That's not what I see (SeaDAS7.3.2 on Mac under Sierra 10.12.3). The a_qaa choice indicate it can be expanded.  I have a screen shot but need to figure out how to post it.

B.

Why would a_qaa be an "Invalid product name?"

Posted: Mon Feb 20, 2017 7:19 pm America/New_York
by OB.DAAC - SeanBailey
You need to load a file (enter an input file) for the GUI to know what wavelengths you've got to work with...

Why would a_qaa be an "Invalid product name?"

Posted: Tue Feb 21, 2017 5:12 pm America/New_York
by blesht
Ah - thanks!