Page 1 of 1

Trouble to run measured remote sensing reflectance as seabass (.sb) to run l2gen

Posted: Sun Dec 03, 2023 10:31 pm America/New_York
by misgech
I am trying to run IOP option by using multiple .sb files, but couldn't fix the following errors in my macOS Air computer. I am using docker terminal to run and using SGLI satellite mission.

The terminal code is :
/root/ocssw/bin/l2gen ifile=/Users/input_data/20180110.sb l2prod=“Rrs_380, Rrs_412, Rrs_443, Rrs_490, Rrs_530, Rrs_565, Rrs_670" ofile=/Users/input_data/20180110_qaa.nc suite=QAA

errors
-E- OCDATAROOT environment variable is not defined.
-E- /home/dshea/ocssw/src/l2gen/msl12_input.c: Error reading program options.

Loading characteristics for (null)
-E- /home/dshea/ocssw/oel_util/libpiutils/rdsensorinfo.c: OCDATAROOT env variable undefined.
-E- /root/ocssw/bin/l2gen: Error parsing input parameters.

Please help me to solve this problem.
waiting for your response. Thanks

Re: Trouble to run measured remote sensing reflectance as seabass (.sb) to run l2gen

Posted: Mon Dec 04, 2023 11:32 am America/New_York
by OB SeaDAS - xuanyang02
l2gen takes a Level 1 file as ifile. It does not take seabass file as input file. See https://seadas.gsfc.nasa.gov/help-8.4.0/processors/ProcessL2gen.html#COMMAND_LINE_HELP

For SGLI mission, your ifile would look like something like this -- GC1SG1_201811110139G05509_1BSG_VNRDL_0176.h5
or
GC1SG1_201811110139G05509_1BSG_VNRDQ_0176.h5

And you need the other corresponding file
GC1SG1_201811110139G05509_1BSG_IRSDL_0176.h5
or
GC1SG1_201811110139G05509_1BSG_IRSDQ_0176.h5
in the same directory