Page 1 of 1

How to create a True Color image with MODIS?

Posted: Thu Dec 12, 2024 9:19 am America/New_York
by fbecker23
Hi everyone!

I've tried to make a TC image following the viewtopic.php?t=3072 steps, and I get and error.
I downloaded the image from MODIS "A2024300194500.L1A_LAC". My first step was create .geo file with this comand

modis_GEO path/A2024300194500.L1A_LAC

after this command, I got the file path/AQUA_MODIS.20241026T194500.GEO.hdf, with an extention ".hdf", is it ok?
Then when I've tried to make the L1B file, I got an error. I execute the command line:

modis_L1B path/A2024300194500.L1A_LAC path/AQUA_MODIS.20241026T194500.GEO.hdf

the error said:
MODIS Aqua L1B version 6.2.1_obpg, built Nov 28 2022 12:23:25
ERROR: MODIS L1B processing failed.
Please examine the LogStatus and LogUser files for more information.

and the LogStatus and LogUser files said:
LogStatus
#################
#################

****************************************
BEGIN_PGE: Wed Nov 20 15:14:29 2024
MSG_TAG: 11
FILE: /home/fernando/Escritorio/Imagenes_MODIS/prueba/LogStatus.AQUA_MODIS.20241026T194500.L1B.hdf
LOGGING: status message logging enabled
TRACE_LEVEL: tracing disabled
PID_LOGGING: disabled
DISABLED_LEVELS: none
DISABLED_SEEDS: none
DISABLED_CODES: none
THREAD-SAFE MODE: disabled
TOOLKIT_VERSION: SCF TK5.2.20
****************************************

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! W A R N I N G !!
!! The Toolkit version found in the PCF does not !!
!! match the current Toolkit version. The PCF in use !!
!! should be replaced with a PCF constructed from the !!
!! template PCF delivered with THIS version of the !!
!! Toolkit (see TOOLKIT_VERSION in banner, above). !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

TDLUT_ReadPiecewiseLinearFunction():MODIS_F_NOK:295817224
LUT associated with "m1" has times out of order.


Read_L1B_SDS_LUT():MODIS_F_NOK:295817224
Call to TDLUT_ReadPiecewiseLinearFunction() failed.


Read_LUT_Tables():MODIS_F_NOK:295817224
Call to Read_L1B_SDS_LUT() failed.
File LUN: 700050
File type: Reflective_Lookup_Tables_file


:MODIS_F_NOK:295817224
Fatal error(NOK) running...MOD_PR02. TIME:Wed Nov 20 15:14:29 2024
Operator Actions:
Contact MCST.
#################
#################



LogUser
#################
#################

****************************************
BEGIN_PGE: Wed Nov 20 15:25:44 2024
MSG_TAG: 11
FILE: /home/fernando/Escritorio/Imagenes_MODIS/prueba/LogUser.AQUA_MODIS.20241026T194500.L1B.hdf
LOGGING: status message logging enabled
TRACE_LEVEL: tracing disabled
PID_LOGGING: disabled
DISABLED_LEVELS: none
DISABLED_SEEDS: none
DISABLED_CODES: none
THREAD-SAFE MODE: disabled
TOOLKIT_VERSION: SCF TK5.2.20
****************************************

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! W A R N I N G !!
!! The Toolkit version found in the PCF does not !!
!! match the current Toolkit version. The PCF in use !!
!! should be replaced with a PCF constructed from the !!
!! template PCF delivered with THIS version of the !!
!! Toolkit (see TOOLKIT_VERSION in banner, above). !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

#################
#################

Re: How to create a True Color image with MODIS?

Posted: Fri Dec 13, 2024 12:40 pm America/New_York
by OB SeaDAS - xuanyang02
I did modis_GEO on A2024300194500.L1A_LAC, and modis_L1B was successful too. I am using SeaDAS 9.1.0, OCSSW is V2024.8.

Can you do SeaDAS-Toolbox -> Software & System Info, and post the result here?

Re: How to create a True Color image with MODIS?

Posted: Wed Dec 18, 2024 8:35 am America/New_York
by fbecker23
Hi xuanyang02,

This is the result of my SeaDAS-Toolbox -> Software & System Info. I noticed that I am using an older SeaDas version, is this the problem?

Thanks for your reply
Fernando

-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.0
SNAP Engine Version: 9.0.3* (SeaDAS Platform modified)
SNAP Desktop Version: 9.0.3* (SeaDAS Platform modified)
SNAP Engine Build Date: 202212081924
SNAP Desktop Build Date: 202212081928
Installation Directory: /home/fernando/SeaDAS
Data Directory: /home/fernando/.seadas8
Configuration: /home/fernando/SeaDAS/etc/snap.properties
VM Configuration: /home/fernando/SeaDAS/etc/seadas.conf
WARNING!! File '/home/fernando/SeaDAS/etc/seadas.conf' does not exist
VM Configuration: /home/fernando/SeaDAS/etc/snap.conf
WARNING!! File '/home/fernando/SeaDAS/etc/snap.conf' does not exist
VM Configuration (gpt): /home/fernando/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /home/fernando/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /home/fernando/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /home/fernando/.seadas8/etc/seadas.properties
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): /home/fernando/SeaDAS/ocssw
Python3 Directory: /home/fernando/anaconda3/bin/python3


-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202212081934
Configuration: /home/fernando/.seadas8/etc/seadas.properties
OCSSW Root Directory: /home/fernando/SeaDAS/ocssw
OCSSW Log Directory: /home/fernando
OCSSW Location: local
Environment {$OCSSWROOT} (external): /home/fernando/SeaDAS/ocssw


-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
Environment {$OCSSWROOT}: /home/fernando/SeaDAS/ocssw
Environment {$OCDATAROOT}: /home/fernando/SeaDAS/ocssw/share
l2gen version: msl12 9.6.0-V2022.2 (Nov 28 2022 12:25:46)
l2bin version: 7.0.3
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2022.2 (Nov 28 2022 12:27:31)
Installed Missions: ['avhrr', 'meris', 'aqua', 'terra', 'olcis3a', 'olcis3b', 'seawifs', 'viirsn', 'viirsj1', 'viirsdem']


-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: Ubuntu 23.04
Java version: 1.8.0_392
Python3 version: 3.7.12
Python3 Path: /home/fernando/anaconda3/bin/python3
Env: ASAP_PARMS=/home/fernando/SeaDAS/ocssw/share/common/nav
CC=gcc
_CE_CONDA=
_CE_M=
COLORTERM=truecolor
CONDA_DEFAULT_ENV=base
CONDA_EXE=/home/fernando/anaconda3/bin/conda
CONDA_PREFIX=/home/fernando/anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=/home/fernando/anaconda3/bin/python
_CONDA_SET_PROJ_LIB=/home/fernando/SeaDAS/ocssw/opt/share/proj
CONDA_SHLVL=1
CPL_ZIP_ENCODING=UTF-8
CXX=g++
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:1
ELEMENTS=/home/fernando/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=linux64
FC=gfortran
GCC_TUNE=
GDAL_DATA=/home/fernando/anaconda3/share/gdal
GDMSESSION=ubuntu
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/850f95bd_8447_4080_b33e_012273bf52f3
GNOME_TERMINAL_SERVICE=:1.112
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
GSETTINGS_SCHEMA_DIR=/home/fernando/anaconda3/share/glib-2.0/schemas
GTK_MODULES=
HDFEOS_LIB=/home/fernando/SeaDAS/ocssw/opt/EOS/lib/linux64
_=/home/fernando/SeaDAS/ocssw/bin/seadas_info
HOME=/home/fernando
HRPT_STATION_IDENTIFICATION_FILE=/home/fernando/SeaDAS/ocssw/share/seawifs/station/station_id.dat
IM_CONFIG_PHASE=1
J2D_PIXMAPS=shared
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
JDK_HOME=/usr/lib/jvm/java-8-openjdk-amd64
L2GEN_ANC=/home/fernando/SeaDAS/ocssw/var/anc
LANG=es_AR.UTF-8
LANGUAGE=es_AR:es
LD_LIBRARY_PATH=/home/fernando/SeaDAS/jre1.8.0_201/jre/lib/amd64:/home/fernando/SeaDAS/jre1.8.0_201/jre/lib/i386:/usr/local/netcdf/lib:/usr/local/netcdff/lib
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LIB3_BIN=/home/fernando/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/home/fernando/SeaDAS/ocssw/opt
LIB3_INC=/home/fernando/SeaDAS/ocssw/opt/include
LIB3_LIB=/home/fernando/SeaDAS/ocssw/opt/lib
LOGNAME=fernando
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=00: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:*.avif=01;35:*.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:*.webp=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:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
NAVCTL=/home/fernando/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/home/fernando/SeaDAS/ocssw/share/seawifs/nav
OCDATAROOT=/home/fernando/SeaDAS/ocssw/share
OCSSW_ARCH=linux_64
OCSSW_BIN=/home/fernando/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCSSWROOT=/home/fernando/SeaDAS/ocssw
OCTS_REGISTRATION_TABLES=/home/fernando/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/home/fernando/SeaDAS/ocssw/var
ORBCTL=/home/fernando/SeaDAS/ocssw/share/seawifs/nav
PATH=/opt/apache-maven-3.8.7/bin:/home/fernando/anaconda3/bin:/home/fernando/anaconda3/condabin:/home/fernando/SeaDAS/ocssw/opt/bin:/home/fernando/SeaDAS/ocssw/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/lib/jvm/java-8-openjdk-amd64/bin
PGSINC=/home/fernando/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/home/fernando/SeaDAS/ocssw/opt/EOS/lib/linux64
PROJ_LIB=/home/fernando/SeaDAS/ocssw/opt/share/proj
PWD=/home/fernando
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
SESSION_MANAGER=local/becker:@/tmp/.ICE-unix/2523,unix/becker:/tmp/.ICE-unix/2523
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_LAUNCHER=openssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SWFTBL=/home/fernando/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/home/fernando/SeaDAS/ocssw/share/seawifs
SYSTEMD_EXEC_PID=2547
TERM=xterm-256color
USER=fernando
USERNAME=fernando
VTE_VERSION=7200
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/share/gnome:/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

Re: How to create a True Color image with MODIS?

Posted: Thu Jan 02, 2025 6:58 pm America/New_York
by OB SeaDAS - xuanyang02
Your SeaDAS version is 8.3.0 and OCSSW version is V2022.2.

The current SeaDAS version is 9.1.0, and OCSSW is V2024.8.

You might want to update your OCSSW to V2024.8