Parameter files for MSI/S2A & S2B

Please enter here to ask a question about any NASA Science related topics!
Post Reply
tsmoore00
Posts: 14
Joined: Fri Apr 01, 2005 9:31 am America/New_York

Parameter files for MSI/S2A & S2B

by tsmoore00 » Tue Nov 26, 2019 9:54 am America/New_York

Seasons greetings,

I am trying to process Sentinel 2 imagery (both A and B) with Seadas 7.5.3 on a Mac OSX (Mojave).

I have installed the processors with:
./install_ocssw.py --git-branch=v7.5 --msis2a --msis2b --curl -a macosx_intel --src

Yet, I get this error when running Seadas:

l2gen ifile=$l1FullFilename ofile=$l2FullFilename par=$parFilename proc_land=1 brdf_opt=0
+ l2gen ifile=/Volumes/data2/S2/Florida/L1/S2A_MSIL1C_20170106T155631_N0204_R054_T17RNK_20170106T160050.SAFE/manifest.safe ofile=/Volumes/data3/S2/Florida/LakeO/l2_seadas//S2A_MSIL1C_20170106T155631_N0204_R054_T17RNK_20170106T160050.l2 par=2017006155631.anc proc_land=1 brdf_opt=0
Found Sentinel-2A product: SENTINEL-2 MSI Level-1C User Product
Input file /Volumes/data2/S2/Florida/L1/S2A_MSIL1C_20170106T155631_N0204_R054_T17RNK_20170106T160050.SAFE/manifest.safe is a valid Sentinel 2A MSI file.
Loading default parameters from /Users/tim/seadas-7.5.1/ocssw/share/common/msl12_defaults.par
Loading default parameters for MSIS2A from /Users/tim/seadas-7.5.1/ocssw/share/msi/msl12_defaults.par
-E- clo_readFile: Can't open parameter file - /Users/tim/seadas-7.5.1/ocssw/share/msi/msl12_defaults.par

There isn't a 'msi' directory under the ../ocssw/share directory. 
Should this be installed with the installer, or am I missing something?

Thanks!
Tim

Tags:

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 214
Joined: Thu Mar 05, 2009 10:25 am America/New_York

Parameter files for MSI/S2A & S2B

by OB SeaDAS - dshea » Tue Nov 26, 2019 10:23 am America/New_York

If the install_ocssw command did not install a msi directory in /Users/tim/seadas-7.5.1/ocssw/share then you probably did not initialize your environment for OCSSW.  Try this and get back to us.

cd  /Users/tim/seadas-7.5.1/ocssw
export OCSSWROOT=/Users/tim/seadas-7.5.1/ocssw
source OCSSW_bash.env
install_ocssw.py --git-branch=v7.5 --msis2a --msis2b --curl --src

See if that helps.  Also let me know if the installer does not recognize the architecture of you mac automatically.

don

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 214
Joined: Thu Mar 05, 2009 10:25 am America/New_York

Parameter files for MSI/S2A & S2B

by OB SeaDAS - dshea » Tue Nov 26, 2019 10:26 am America/New_York

also, you probably have a new directory that you do not want

$HOME/ocssw

don

tsmoore00
Posts: 14
Joined: Fri Apr 01, 2005 9:31 am America/New_York

Parameter files for MSI/S2A & S2B

by tsmoore00 » Tue Nov 26, 2019 10:47 am America/New_York

Hi Don,

Thanks for the rapid response, and yes that did the trick!

Thanks!
Tim

Post Reply