Why would a_qaa be an "Invalid product name?"

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
blesht
Posts: 86
Joined: Mon Sep 19, 2005 3:06 pm America/New_York
Answers: 0

Why would a_qaa be an "Invalid product name?"

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

Why would this happen?

Tags:

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Why would a_qaa be an "Invalid product name?"

by OB.DAAC - SeanBailey » Mon Feb 20, 2017 2:58 pm America/New_York

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

blesht
Posts: 86
Joined: Mon Sep 19, 2005 3:06 pm America/New_York
Answers: 0

Why would a_qaa be an "Invalid product name?"

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.

Best, Barry

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Why would a_qaa be an "Invalid product name?"

by OB.DAAC - SeanBailey » Mon Feb 20, 2017 4:28 pm America/New_York

You're welcome...BTW, the GUI *does* indicate the product is wavelength specific:

blesht
Posts: 86
Joined: Mon Sep 19, 2005 3:06 pm America/New_York
Answers: 0

Why would a_qaa be an "Invalid product name?"

by blesht » Mon Feb 20, 2017 4:47 pm America/New_York

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.

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1470
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Why would a_qaa be an "Invalid product name?"

by OB.DAAC - SeanBailey » Mon Feb 20, 2017 7:19 pm America/New_York

You need to load a file (enter an input file) for the GUI to know what wavelengths you've got to work with...

blesht
Posts: 86
Joined: Mon Sep 19, 2005 3:06 pm America/New_York
Answers: 0

Why would a_qaa be an "Invalid product name?"

by blesht » Tue Feb 21, 2017 5:12 pm America/New_York

Ah - thanks!

Post Reply