l2gen does not work for landsat oli in seadas v7.5.1
l2gen does not work for landsat oli in seadas v7.5.1
I have seadas v7.5.1 downloaded and installed on my mac. I was trying to install the OC processors using GUI but I got an error popped out like "ocssw installation script failed to download. please check network connection or seadas.ocssw.root variable in the seadas.config. file. possible cause of error: operation timed out"... So I switched to manual installation and I did install the oli processors for my landsat image processing. However, when I was trying to process landsat images using l2gen, it gave me error like this:
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt
# # WARNING!!! file /Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt is not a valid input mission: Mission=null
Any suggestions to solve this problem?
Thank you for looking into this.
Fang
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt
# # WARNING!!! file /Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt is not a valid input mission: Mission=null
Any suggestions to solve this problem?
Thank you for looking into this.
Fang
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
l2gen does not work for landsat oli in seadas v7.5.1
If you put the file in question somewhere where I can grab it, I'll take a look.
l2gen does not work for landsat oli in seadas v7.5.1
Thank you, dshea ! Here is the file I was trying to process using l2gen in 7.5.1
https://www.dropbox.com/s/c3xsi1p01b2cqg5/LC08_L1TP_014034_20180615_20180703_01_T1.tar?dl=0
I double checked that I did install the oli processor under the same path of seadas. The java version I am using is
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
$ python --version
Python 3.6.5 :: Anaconda, Inc.
and I am working on max os high sierra version 10.13.3..
I really want to get this problem solved so please help!!
Thank you!
Fang
https://www.dropbox.com/s/c3xsi1p01b2cqg5/LC08_L1TP_014034_20180615_20180703_01_T1.tar?dl=0
I double checked that I did install the oli processor under the same path of seadas. The java version I am using is
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
$ python --version
Python 3.6.5 :: Anaconda, Inc.
and I am working on max os high sierra version 10.13.3..
I really want to get this problem solved so please help!!
Thank you!
Fang
l2gen does not work for landsat oli in seadas v7.5.1
I installed my seadas under the path of /Applications/seadas-7.5.1
I then put the install_ocssw.py file which I got from the seadas website into the same seadas-7.5.1 folder and I checked it is executable, and I installed oli using
$ ./install_ocssw.py --install-dir=$/Applications/seadas-7.5.1/ocssw v7.5.1 --oli
The installation went smoothly and no errors reported..
It does not work for l2gen when I was trying to process the files that I shared via the link above. Please help!
Thank you.
Fang
I then put the install_ocssw.py file which I got from the seadas website into the same seadas-7.5.1 folder and I checked it is executable, and I installed oli using
$ ./install_ocssw.py --install-dir=$/Applications/seadas-7.5.1/ocssw v7.5.1 --oli
The installation went smoothly and no errors reported..
It does not work for l2gen when I was trying to process the files that I shared via the link above. Please help!
Thank you.
Fang
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
l2gen does not work for landsat oli in seadas v7.5.1
From your terminal, try launching seadas
$ open /Applications/seadas-7.5.1/bin/seadas.app
Then see if you can update the OCSSW programs from the GUI. If that works try l2gen from the GUI
By the way the correct command line invocation for the the installer would be:
$ ./install_ocssw.py --install-dir=/Applications/seadas-7.5.1/ocssw --git-branch=v7.5 --oli
$ open /Applications/seadas-7.5.1/bin/seadas.app
Then see if you can update the OCSSW programs from the GUI. If that works try l2gen from the GUI
By the way the correct command line invocation for the the installer would be:
$ ./install_ocssw.py --install-dir=/Applications/seadas-7.5.1/ocssw --git-branch=v7.5 --oli
l2gen does not work for landsat oli in seadas v7.5.1
Thanks, Don. This time I first uninstalled seadas7.5 and trashed all the files left. I reinstalled seadas and opened GUI in the terminal following your last comment and this time I can install the OC processors (oli). Then I restarted the computer and opened seadas GUI but I still cannot use l2gen., same error was reported as
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt
# # WARNING!!! file /Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt is not a valid input mission: Mission=null
# SUITE
suite=OC
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
What was the problem then ? Any more ideas?
Thank you!
Fang
# PRIMARY INPUT OUTPUT FIELDS
ifile=/Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt
# # WARNING!!! file /Users/fang/Downloads/LC08_L1TP_014034_20180615_20180703_01_T1/LC08_L1TP_014034_20180615_20180703_01_T1_MTL.txt is not a valid input mission: Mission=null
# SUITE
suite=OC
# ANCILLARY INPUTS Default = climatology (select 'Get Ancillary' to download ancillary files)
What was the problem then ? Any more ideas?
Thank you!
Fang
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
l2gen does not work for landsat oli in seadas v7.5.1
I think the problem is that your Terminals (bash) environment is setting up a PATH that points to a better version of python. When SeaDAS is launched from the Finder the PATH does not get setup and the default python does not work for SeaDAS.
Try launching SeaDAS from the command line and see if l2gen works from the GUI.
don
Try launching SeaDAS from the command line and see if l2gen works from the GUI.
don
l2gen does not work for landsat oli in seadas v7.5.1
Thanks Don! I did launch seadas using command line in terminal but l2gen still did not work. What should I try next?Thank you again.
Fang
Fang
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
l2gen does not work for landsat oli in seadas v7.5.1
Fang,
While we've modified our scripts so that they *should* work with python 3, the official SeaDAS support is still for v2.7
Install Anaconda for python v2.7, set it as your default and try again.
Sean
While we've modified our scripts so that they *should* work with python 3, the official SeaDAS support is still for v2.7
Install Anaconda for python v2.7, set it as your default and try again.
Sean