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

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
misgech
Posts: 2
Joined: Mon Nov 06, 2023 1:22 am America/New_York
Answers: 0

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

by misgech » Sun Dec 03, 2023 10:31 pm America/New_York

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

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 651
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

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

by OB SeaDAS - xuanyang02 » Mon Dec 04, 2023 11:32 am America/New_York

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

Post Reply