(Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 644
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by OB SeaDAS - xuanyang02 » Tue Sep 28, 2021 2:41 pm America/New_York

Yes, olci and msi install is not supported by GUI yet. You can do

Code: Select all

$  ./install_ocssw --install_dir $HOME/ocssw --tag V2021.2 --seadas --olcis3a --olcis3b --msis2a --msis2b 
in your $OCSSWROOT/bin directory.
https://seadas.gsfc.nasa.gov/downloads/

Tags:

negri
Posts: 23
Joined: Sat Jul 10, 2021 3:42 pm America/New_York
Answers: 0

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by negri » Wed Sep 29, 2021 9:22 am America/New_York

Hi, I ran the line below in the directory: $home/negri/ocssw/bin
$ ./install_ocssw --install_dir $HOME/ocssw --tag V2021.2 --seadas --olcis3a --olcis3b --msis2a --msis2b

and I still have received the message below (after open the sentinel-3 image in l2gen):
# PRIMARY INPUT OUTPUT FIELDS
ifile=C:\Negri\trabalhos 2020\imagens Sentinel\S3A_OL_1_EFR____20170330T121836_20170330T122136_20180413T032707_0180_016_066_3420_LR2_R_NT_002.SEN3\xfdumanifest.xml
# WARNING!!! Mission directory 'C:\Program Files (x86)\SeaDAS\negri\ocssw\share\olci' does not exist

I have seen in https://seadas.gsfc.nasa.gov/downloads/
that there are some options:

1) The following will install the processing programs and required data packages for the MODIS-Aqua and SeaWiFS missions into the ocssw directory in the user's HOME directory:
$ ./install_ocssw --install_dir $HOME/ocssw --tag V2021.2 --seadas --modisa --seawifs

2) The following will install the processing source code into an existing directory:
$ ./install_ocssw --install_dir=$HOME/ocssw --tag V2021.2 –-src

Please, I would like to know if I have to choose the second option like this ???
$ ./install_ocssw --install_dir=$home/negri/ocssw/bin --tag V2021.2 --seadas --olcis3a --olcis3b --msis2a --msis2b

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

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by OB SeaDAS - xuanyang02 » Wed Sep 29, 2021 10:22 am America/New_York

Can you do

Code: Select all

$ echo $HOME
$ echo $OCSSWROOT
$ ls -al $OCSSWROOT/share
$ ls -al /home/negri/ocssw
Let's try

Code: Select all

$ ./install_ocssw --install_dir /home/negri/ocssw --tag V2021.2 --seadas --olcis3a --olcis3b --msis2a --msis2b

negri
Posts: 23
Joined: Sat Jul 10, 2021 3:42 pm America/New_York
Answers: 0

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by negri » Wed Sep 29, 2021 3:38 pm America/New_York

The last post didn't work...

I still have received the message below (after open the sentinel-3 image in l2gen):
# PRIMARY INPUT OUTPUT FIELDS
ifile=C:\Negri\trabalhos 2020\imagens Sentinel\S3A_OL_1_EFR____20170330T121836_20170330T122136_20180413T032707_0180_016_066_3420_LR2_R_NT_002.SEN3\xfdumanifest.xml
# WARNING!!! Mission directory 'C:\Program Files (x86)\SeaDAS\negri\ocssw\share\olci' does not exist

Please, some new sugestion ?

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

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by OB SeaDAS - xuanyang02 » Wed Sep 29, 2021 4:27 pm America/New_York

We need to find out where the other mission files (like modisa, modist and etc) are installed.

Please do

Code: Select all

$ echo $HOME
$ echo $OCSSWROOT
$ ls -al $OCSSWROOT/share
$ ls -al /home/negri/ocssw
and post the result here.

negri
Posts: 23
Joined: Sat Jul 10, 2021 3:42 pm America/New_York
Answers: 0

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by negri » Fri Oct 01, 2021 4:04 pm America/New_York

ok, please, check below...

negri@DESKTOP-L3VF77C:/home$ echo $HOME
/home/negri
negri@DESKTOP-L3VF77C:/home$ echo $OCSSWROOT
/home/negri/ocssw
negri@DESKTOP-L3VF77C:/home$ ls -al $OCSSWROOT/share
total 0
drwxr-xr-x 1 negri negri 512 Sep 28 14:23 .
drwxrwxrwx 1 negri negri 512 Aug 17 15:57 ..
drwxr-xr-x 1 negri negri 512 Aug 11 14:01 common
drwxr-xr-x 1 negri negri 512 Sep 28 14:24 meris
drwxr-xr-x 1 negri negri 512 Aug 17 15:56 modis
drwxr-xr-x 1 negri negri 512 Aug 11 14:02 msi
drwxr-xr-x 1 negri negri 512 Aug 11 14:03 ocrvc
drwxr-xr-x 1 negri negri 512 Aug 11 14:09 olci
drwxr-xr-x 1 negri negri 512 Aug 11 14:11 oli
negri@DESKTOP-L3VF77C:/home$ ls -al /home/negri/ocssw
total 24
drwxrwxrwx 1 negri negri 512 Aug 17 15:57 .
drwxrwxrwx 1 negri negri 512 Sep 1 20:39 ..
-rw-rw-r-- 1 negri negri 2866 Aug 11 13:56 OCSSW.env
-rw-rw-r-- 1 negri negri 2981 Aug 11 13:56 OCSSW_bash.env
drwxr-xr-x 1 negri negri 512 Sep 28 13:56 benchmark
drwxr-xr-x 1 negri negri 512 Sep 28 14:17 bin
-rw-rw-r-- 1 negri negri 8640 Aug 11 13:56 bundleList.json
drwxr-xr-x 1 negri negri 512 Aug 11 13:52 lib
-rw-r--r-- 1 negri negri 967 Sep 29 16:31 manifest.json
drwxr-xr-x 1 negri negri 512 Aug 11 13:53 opt
drwxr-xr-x 1 negri negri 512 Sep 28 14:23 share
drwxr-xr-x 1 negri negri 512 Aug 17 15:58 var
negri@DESKTOP-L3VF77C:/home$

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

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by OB SeaDAS - xuanyang02 » Mon Oct 04, 2021 11:02 am America/New_York

It seems that OLCI and MSI processors are installed on your WSL server, but WINDOWS does not recognize them.

Are you able to run l2gen on modis or oli files?
Last edited by OB SeaDAS - xuanyang02 on Mon Oct 04, 2021 3:39 pm America/New_York, edited 1 time in total.

negri
Posts: 23
Joined: Sat Jul 10, 2021 3:42 pm America/New_York
Answers: 0

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by negri » Mon Oct 04, 2021 3:20 pm America/New_York

it seems something wrong here...
I'm trying to process OLI sensor, the processor starts, but an error message shows up...

please, Have I to place the OLI files into the /mnt/c/Users/negri/seadasClientServerShared/ ???

execution exception: java.io.IOException: l2gen failed with exit code 1.
Check log for more details.
TIFFOpen: /mnt/c/Users/negri/seadasClientServerShared/LC82160762013287LGN00_B1.TIF: No such file or directory.
Loading default parameters from negri/ocssw/share/common/msl12_defaults.par
-E- /home/seadas/focs/oel_hdf4/libl1/l1_oli.c line 211: unable open TIFF file /mnt/c/Users/negri/seadasClientServerShared/LC82160762013287LGN00_B1.TIF
Input file /mnt/c/Users/negri/seadasClientServerShared/LC82160762013287LGN00_MTL.txt is a Landsat 8 OLI L1B GEOTIFF file.

Loading characteristics for OLI
Opening sensor information file negri/ocssw/share/oli/msl12_sensor_info.dat
Bnd Lam Fo Tau_r k_oz k_no2 t_co2 awhite aw bbw
0 443.000 189.652 2.352e-01 2.929e-03 5.024e-19 1.000e+00 1.000e+00 7.170e-03 2.169e-03
1 482.000 200.396 1.685e-01 1.957e-02 3.213e-19 1.000e+00 1.000e+00 1.581e-02 1.529e-03
2 561.000 182.079 9.020e-02 1.038e-01 8.351e-20 1.000e+00 1.000e+00 6.998e-02 8.054e-04
3 655.000 155.038 4.793e-02 6.200e-02 1.177e-20 1.000e+00 1.000e+00 3.751e-01 4.215e-04
4 865.000 95.063 1.551e-02 2.223e-03 3.306e-23 1.000e+00 1.000e+00 4.630e+00 1.332e-04
5 1609.000 24.755 1.284e-03 0.000e+00 0.000e+00 1.000e+00 1.000e+00 7.607e+02 1.052e-05
6 2201.000 8.546 3.697e-04 0.000e+00 0.000e+00 1.000e+00 1.000e+00 2.250e+03 2.958e-06


Loading default parameters for OLI from negri/ocssw/share/oli/msl12_defaults.par
Loading parameters for suite OC from negri/ocssw/share/oli/msl12_defaults_OC.par
Loading command line parameters

Loading user parameters for OLI

Internal data compression requested at compression level: 4

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

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by OB SeaDAS - xuanyang02 » Mon Oct 04, 2021 3:59 pm America/New_York

I just noticed that your have a space in the directory "trabalhos 2020" in your ifile name.
ifile=C:\Negri\trabalhos 2020\imagens Sentinel\S3A_OL_1_EFR____20170330T121836_20170330T122136_20180413T032707_0180_016_066_3420_LR2_R_NT_002.SEN3\xfdumanifest.xml

You need to get rid of that space before you try to do l2gen on OLCI files

negri
Posts: 23
Joined: Sat Jul 10, 2021 3:42 pm America/New_York
Answers: 0

Re: (Log file directory is not accessible to write) Install Seadas 8.1.0, WSL, Windows 10, OCSSW

by negri » Mon Oct 04, 2021 4:24 pm America/New_York

Hi, I did it (You need to get rid of that space before you try to do l2gen on OLCI files)
but the error persisted.
Please, could you see the messagem before the last one ? I got an error with Landsat8 (OLI) too.


# PRIMARY INPUT OUTPUT FIELDS
ifile=C:\Negri\OLCI_test\S3A_OL_1_EFR____20181211T121841_20181211T122141_20181212T171629_0180_039_066_3420_LN1_O_NT_002.SEN3\xfdumanifest.xml
# WARNING!!! Mission directory 'C:\Program Files (x86)\SeaDAS\negri\ocssw\share\olci' does not exist
ofile=C:\Negri\OLCI_test\S3A_OL_1_EFR____20181211T121841_20181211T122141_20181212T171629_0180_039_066_3420_LN1_O_NT_002.SEN3\lixo

# SUITE
suite=OC

# PROCESSING OPTIONS
cirrus_opt=false

# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)

# MISCELLANEOUS
dump_options=false
help=false
proc_cloud=off
version=false

Post Reply