Why would a_qaa be an "Invalid product name?"
Why would a_qaa be an "Invalid product name?"
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?
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?
Tags:
-
- User Services
- Posts: 1447
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 2 times
Why would a_qaa be an "Invalid product name?"
The product is wavelength-specific, you need to specify the wavelength of interest:
a_nnn_qaa
bb_nnn_qaa
where
If you leave
But you can replace
Sean
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 wavelengthsSean
Why would a_qaa be an "Invalid product name?"
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
Best, Barry
-
- User Services
- Posts: 1447
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 2 times
Why would a_qaa be an "Invalid product name?"
You're welcome...BTW, the GUI *does* indicate the product is wavelength specific:

Why would a_qaa be an "Invalid product name?"
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.
B.

-
- User Services
- Posts: 1447
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 2 times
Why would a_qaa be an "Invalid product name?"
You need to load a file (enter an input file) for the GUI to know what wavelengths you've got to work with...