Page 1 of 1

MODIS l2gen code

Posted: Sat May 28, 2022 8:48 am America/New_York
by zhanggz1994
Hello,What can I do if the following error occurs when I process MODIS L1B data using OCSSW L2Gen code:
reading Thuillier_F0.dat
-W- /home/dshea/focs/oel_hdf4/libl1/l1_hmodis_hdf.c:400: Cannot open file:
Error reading ; please specify a valid geolocation file.

Thanks

Re: MODIS l2gen code

Posted: Tue May 31, 2022 1:29 pm America/New_York
by OB.DAAC - amscott
Hi,

If you can provide more details we can look into it further? Here is an older post that might help: https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=39090;hl=please%20specify%20valid%20geolocation%20file

Re: MODIS l2gen code

Posted: Tue May 31, 2022 3:00 pm America/New_York
by OB SeaDAS - xuanyang02
l2gen takes L1B and geo files as input. See https://seadas.gsfc.nasa.gov/help-8.2.0/processors/ProcessL2gen.html#COMMAND_LINE_HELP

It seems that l2gen can't find the geo file that goes with your L1B file. It might be helpful that you share the command line or the par file for l2gen.