What of Landsat 8 file should I put into SeaDas L2gen function?

Please enter here to ask a question about any NASA Science related topics!
Post Reply
joeymcy
Posts: 6
Joined: Thu Jul 29, 2021 11:48 pm America/New_York

What of Landsat 8 file should I put into SeaDas L2gen function?

by joeymcy » Tue Aug 03, 2021 12:41 pm America/New_York

Dear all,
I am new to SeaDas and remote sensing. So my project is to create a model to detect Chlorophyll and Suspened Solid in Hong Kong.

Now, I am making level 2 atmospheric Corrected products from Landsat 8 for Ocean color.

When I am putting in ifiles for the process, MTL.txt, ANG.txt or the whole tar.gz was the correct input. What should be it?

Can anyone give me a hint?
Attachments
Screenshot from 2021-08-04 00-39-55.png
Screenshot from 2021-08-04 00-39-55.png (35.49 KiB) Not viewed yet

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 125
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by OB SeaDAS - xuanyang02 » Tue Aug 03, 2021 1:59 pm America/New_York

l2gen on LANDSAT 8 takes an L1B file(*MTL.txt) as the input.

Please make sure you have installed oli processor before you do l2gen. https://seadas.gsfc.nasa.gov/downloads/

joeymcy
Posts: 6
Joined: Thu Jul 29, 2021 11:48 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by joeymcy » Tue Aug 03, 2021 9:18 pm America/New_York

Hi XuanYang, Thank you for the reply.

I downloaded Level 1 Collection 1 Landsat 8 and put the MTL.txt. into L2gen. Hwoever, it still show error.

Is the "L1B file(*MTL.txt)" you mentioned in Level 1 Collection 1? or it is something else?

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 125
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by OB SeaDAS - xuanyang02 » Wed Aug 04, 2021 9:52 am America/New_York

Did you install oli processor? Please also make sure you installed OCSSW with tag V2021.2.

Can you do "SeaDAS-OCSSW -> SeaDAS/System Info" and post the result here?

Yes, I downloaded LC08_L1TP_121045_20131005_20170429_01_T1 (Collection 1 Level 1) from https://earthexplorer.usgs.gov/
Screen Shot 2021-08-04 at 10.52.09 AM.png
Screen Shot 2021-08-04 at 10.52.09 AM.png (219.6 KiB) Not viewed yet
Last edited by OB SeaDAS - xuanyang02 on Wed Aug 04, 2021 2:39 pm America/New_York, edited 2 times in total.

joeymcy
Posts: 6
Joined: Thu Jul 29, 2021 11:48 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by joeymcy » Wed Aug 04, 2021 12:42 pm America/New_York

Hi, I think I installed the OLI processor
here the system info

-----------------------------------------------------------------------
Main Application Platform:
Application Version: SeaDAS 8.1.0
Installation Directory: /home/joey/seadas8
Data Directory: /home/joey/.seadas8
Configuration: /home/joey/seadas8/etc/snap.properties
WARNING!! File '/home/joey/seadas8/etc/snap.properties' does not exist
Configuration2: /home/joey/.seadas8/etc/snap.properties
VM Configuration: /home/joey/seadas8/bin/pconvert.vmoptions
WARNING!! File '/home/joey/seadas8/bin/pconvert.vmoptions' does not exist
VM Configuration (gpt): /home/joey/seadas8/bin/gpt.vmoptions
WARNING!! File '/home/joey/seadas8/bin/gpt.vmoptions' does not exist
Desktop Specification Version: 8.0.3
Engine Specification Version: 8.0.3
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB

OCSSWROOT (Java Env): null

Python3 Directory:
/usr/bin/python3

SeaDAS Toolbox:
SeaDAS Toolbox Specification Version: 1.1.0
Configuration: /home/joey/.seadas8/etc/seadas.properties
OCSSW Root Directory: /home/joey/seadasinstall/ocssw
OCSSW Log Directory: /home/joey
OCSSW Location: local
Environment {$OCSSWROOT} (external): null

-----------------------------------------------

NASA Science Processing (OCSSW):
Environment {$OCSSWROOT}: /home/joey/seadasinstall/ocssw
Environment {$OCDATAROOT}: /home/joey/seadasinstall/ocssw/share
l2gen version: msl12 9.5.1-V2021.2 (Jun 18 2021 11:22:53)
l2bin version: 7.0.1
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2021.2 (Jun 18 2021 11:24:42)
Installed Missions: ['oli']

General System and Software:
Operating system: Ubuntu 20.04.2 LTS
Java version: 1.8.0_301
Python3 version: 3.8.10
Python3 Path: /usr/bin/python3
Env: ASAP_PARMS=/home/joey/seadasinstall/ocssw/share/common/nav
CC=gcc
CLASSPATH=.:/home/joey/java/jdk1.8.0_301/lib:/home/joey/java/jdk1.8.0_301/jre/lib:.:/home/joey/java/jdk1.8.0_301/lib:/home/joey/java/jdk1.8.0_301/jre/lib:
COLORTERM=truecolor
CXX=g++
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:0
ELEMENTS=/home/joey/seadasinstall/ocssw/var/seawifs
EOS_LIB_PREFIX=linux64
FC=gfortran
GCC_TUNE=
GDMSESSION=ubuntu
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/568c25e4_e602_4144_a5fd_adb28de53959
GNOME_TERMINAL_SERVICE=:1.132
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=
HDFEOS_LIB=/home/joey/seadasinstall/ocssw/opt/EOS/lib/linux64
HOME=/home/joey
_=/home/joey/seadasinstall/ocssw/bin/seadas_info
HRPT_STATION_IDENTIFICATION_FILE=/home/joey/seadasinstall/ocssw/share/seawifs/station/station_id.dat
IM_CONFIG_PHASE=1
INVOCATION_ID=8555edd531a8450c82c2a352f51ba1a7
J2D_PIXMAPS=shared
JAVA_HOME=/home/joey/java/jdk1.8.0_301
JOURNAL_STREAM=8:46638
JRE_HOME=/home/joey/java/jdk1.8.0_301/jre
L2GEN_ANC=/home/joey/seadasinstall/ocssw/var/anc
LANG=en_HK.UTF-8
LANGUAGE=en_HK:en
LD_LIBRARY_PATH=/home/joey/seadas8/jre1.8.0_201/jre/lib/amd64:/home/joey/seadas8/jre1.8.0_201/jre/lib/i386:
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LIB3_BIN=/home/joey/seadasinstall/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/home/joey/seadasinstall/ocssw/opt
LIB3_INC=/home/joey/seadasinstall/ocssw/opt/include
LIB3_LIB=/home/joey/seadasinstall/ocssw/opt/lib
LOGNAME=joey
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MANAGERPID=1603
NAVCTL=/home/joey/seadasinstall/ocssw/share/seawifs/nav
NAVQC=/home/joey/seadasinstall/ocssw/share/seawifs/nav
OCDATAROOT=/home/joey/seadasinstall/ocssw/share
OCSSW_ARCH=linux_64
OCSSW_BIN=/home/joey/seadasinstall/ocssw/bin
OCSSW_DEBUG=0
OCSSWROOT=/home/joey/seadasinstall/ocssw
OCSSW_SVN=localhost
OCTS_REGISTRATION_TABLES=/home/joey/seadasinstall/ocssw/share/octs/nav
OCVARROOT=/home/joey/seadasinstall/ocssw/var
ORBCTL=/home/joey/seadasinstall/ocssw/share/seawifs/nav
PATH=/home/joey/seadasinstall/ocssw/opt/bin:/home/joey/seadasinstall/ocssw/bin:/home/joey/java/jdk1.8.0_301/bin:/home/joey/java/jdk1.8.0_301/jre/bin:/home/joey/java/jdk1.8.0_301/bin:/home/joey/java/jdk1.8.0_301/jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PGSINC=/home/joey/seadasinstall/ocssw/opt/EOS/include
PGSLIB=/home/joey/seadasinstall/ocssw/opt/EOS/lib/linux64
PROJ_LIB=/home/joey/seadasinstall/ocssw/opt/share/proj
PWD=/home/joey
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
SESSION_MANAGER=local/joey-Inspiron-7559:@/tmp/.ICE-unix/1845,unix/joey-Inspiron-7559:/tmp/.ICE-unix/1845
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=1802
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SWFTBL=/home/joey/seadasinstall/ocssw/share/seawifs/qc
SWTBL=/home/joey/seadasinstall/ocssw/share/seawifs
TERM=xterm-256color
USER=joey
USERNAME=joey
VTE_VERSION=6003
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 125
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by OB SeaDAS - xuanyang02 » Wed Aug 04, 2021 3:49 pm America/New_York

It seems that l2gen GUI does not like the space in your "Satellite image" directory. Can you change your directory name "Satellite image" to "Satellite_image" and try again?

joeymcy
Posts: 6
Joined: Thu Jul 29, 2021 11:48 pm America/New_York

Re: What of Landsat 8 file should I put into SeaDas L2gen function?

by joeymcy » Thu Aug 05, 2021 11:42 am America/New_York

Yes. It works. Not having spaces in the folder name containing satelite image works

Post Reply