processing an L1A file downloaded from modaps with l2gen
Posted: Thu Jan 18, 2018 6:27 pm America/New_York
Hi folks!
I'm trying to convert an MODIS L1A file I retrieved from modaps (specifically ftp://nrt3.modaps.eosdis.nasa.gov/allData/61/MOD01/2018/018/MOD01.A2018018.2025.061.NRT.hdf) to L2, however when I try it I get the following error:
dolphin]$ export OCDATAROOT=/local-working/seadas-7.4/ocssw/run/data/
dolphin]$ l2gen ifile=MOD01.A2018018.2025.061.NRT.hdf
-E- /data5/swdev/seadas/build/src/l2gen/getformat.c Line 485: Unrecognized HDF-EOS file /home/alaroy/Downloads/MOD01.A2018018.2025.061.NRT.hdf
-E- /data5/swdev/seadas/build/src/l2gen/msl12_input.c Line 1450: Could not find type for file /home/alaroy/Downloads/MOD01.A2018018.2025.061.NRT.hdf.
-E- /data5/swdev/seadas/build/src/l2gen/msl12_input.c: Error reading program options.
-E- ./l2gen: Error parsing input parameters.
I specifically want to process L1A files from modaps in order to have an additional data path available in case the primary path fails. Is there some l2gen command line option that I'm missing that supports processing this data? If not is there a format converter out there somewhere that will turn a file in the MODAPS format into one supported by l2gen?
I'm trying to convert an MODIS L1A file I retrieved from modaps (specifically ftp://nrt3.modaps.eosdis.nasa.gov/allData/61/MOD01/2018/018/MOD01.A2018018.2025.061.NRT.hdf) to L2, however when I try it I get the following error:
dolphin]$ export OCDATAROOT=/local-working/seadas-7.4/ocssw/run/data/
dolphin]$ l2gen ifile=MOD01.A2018018.2025.061.NRT.hdf
-E- /data5/swdev/seadas/build/src/l2gen/getformat.c Line 485: Unrecognized HDF-EOS file /home/alaroy/Downloads/MOD01.A2018018.2025.061.NRT.hdf
-E- /data5/swdev/seadas/build/src/l2gen/msl12_input.c Line 1450: Could not find type for file /home/alaroy/Downloads/MOD01.A2018018.2025.061.NRT.hdf.
-E- /data5/swdev/seadas/build/src/l2gen/msl12_input.c: Error reading program options.
-E- ./l2gen: Error parsing input parameters.
I specifically want to process L1A files from modaps in order to have an additional data path available in case the primary path fails. Is there some l2gen command line option that I'm missing that supports processing this data? If not is there a format converter out there somewhere that will turn a file in the MODAPS format into one supported by l2gen?