What is the calfile for Sentinel 2 L1C process in l2gen?
What is the calfile for Sentinel 2 L1C process in l2gen?
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
-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
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
What is the calfile for Sentinel 2 L1C process in l2gen?
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 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?
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
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
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
What is the calfile for Sentinel 2 L1C process in l2gen?
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
$ 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?
Hi don,
Thanks for the help, I got this solved by install_ocssw.py --git-branch=v7.5 --msis2b.
Thanks!
Ruizhe
Thanks for the help, I got this solved by install_ocssw.py --git-branch=v7.5 --msis2b.
Thanks!
Ruizhe