Page 1 of 1
What is the calfile for Sentinel 2 L1C process in l2gen?
Posted: Thu Jun 07, 2018 3:52 pm America/New_York
by guorz
I was processing Sentinel 2 L1C in l2gen via bash and got an error:
-E- clo_getOptionString: option=calfile needs to be set
what should I put as a calfile? This isn't something must choose when using GUI.
Thanks a lot.
Ruizhe
What is the calfile for Sentinel 2 L1C process in l2gen?
Posted: Thu Jun 07, 2018 8:14 pm America/New_York
by OB SeaDAS - dshea
Just today I processed a Sentinel 2A and 2B file on the command line with no problem, so we need to see what is different with your setup.
What computer and OS are you using?
Sounds like some of the defaults files are not getting loaded.
Make sure OCSSWROOT is set correctly and
source $OCSSWROOT/OCSSW_bash.env
Let me know if you get the same error.
don
What is the calfile for Sentinel 2 L1C process in l2gen?
Posted: Fri Jun 08, 2018 9:43 am America/New_York
by guorz
Hi don,
I am using a Mac High Sierra, set OCSSWROOT as:
export OCSSWROOT=/Applications/seadas-7.5/ocssw
source $OCSSWROOT/OCSSW_bash.env
and still getting the same error.
Ruizhe
What is the calfile for Sentinel 2 L1C process in l2gen?
Posted: Fri Jun 08, 2018 3:29 pm America/New_York
by OB SeaDAS - dshea
could you post all of the output from this command:
$ l2gen ifile=manifest.safe ofile=~/zzz.L2.nc --dump_options | grep calfile
This is what I get:
dshea@gs616-crab:~/.../msi/S2A_MSIL1C_20180306T185231_N0206_R113_T10SEG_20180306T222919.SAFE$ l2gen ifile=manifest.safe ofile=~/zzz.L2.nc --dump_options | grep calfile
xcalfile (ifile) (source=default)
calfile (ifile) (current=<noValue>) (source=/accounts/dshea/local/seadas-7.5/ocssw/share/msi/s2a/msl12_defaults.par)
don
What is the calfile for Sentinel 2 L1C process in l2gen?
Posted: Mon Jun 11, 2018 9:33 am America/New_York
by guorz
Hi don,
Thanks for the help, I got this solved by install_ocssw.py --git-branch=v7.5 --msis2b.
Thanks!
Ruizhe