Thursday, April 4, 2013

SeaDAS 7.0 beta setup and configuration files

Further notes on my Adventures processing MODIS files

After starting SeaDAS 7.0 beta, via the icon, I opened a terminal window so that I could tail the log.

The first line was

/Users/Kaffkar/seadas/config/seadas.env: No such file or directory

I recently had to reinstall my operating system, as some windows on my bootcamp partition thought destroying the start software would be sensible.

The result is a slightly odd setup where I have one user and 2 user directories

performed a

find . -name seadas* 

and only the expected results were returned.

>env

TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/kt/h45k9r0s2lv2x6yd7tn296vr0000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-jdUITF/Render
TERM_PROGRAM_VERSION=309
TERM_SESSION_ID=34319DE3-BBFF-416A-8949-1E4870045241
USER=Kaffkar
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-YsRd2W/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
Apple_Ubiquity_Message=/tmp/launch-MQI2sO/Apple_Ubiquity_Message
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PWD=/Users/Kaffkar 1
LANG=en_AU.UTF-8
SHLVL=1
HOME=/Users/Kaffkar 1
LOGNAME=MacGill
_=/usr/bin/env

>java -version

java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)

>l2gen
-bash: l2gen: command not found

I am only a casual unix user but it appears both SeaDAS Gui may have been installed correctly but not the SeaDAS 

I have been referencing

HOW TO INSTALL SeaDAS 6.4
Creating True Color RGB in SeaDAS 7.0
How do I make true-color images from MODIS or SeaWiFS

2 years ago I was a Senior Java Developer, and utilised Maven to build, test and create packages so the files in GitHub actually make some sense.

SeaDAS GUI Source

my .bashrc file contains the reference

source /Users/Kaffkar/seadas/config/seadas.env

This needs to be change.
Trying this.



export OCSSWROOT=/Applications/seadas-7.0-beta/Processing
source /Applications/seadas-7.0-beta/Processing/OCSSW_bash.env

Closed all terminals and the SeaDAS Gui
Restarted SeaDAS
Opened a terminal

>l2gen

Command recognised

Tried l1bgen through GUI. No luck, at least the command line is working
Tried l1brsgen through GUI

>l1brsgen ifile=MYD021KM.A2003359.1225.005.2010067090806.hdf ofile=MYD021KMrgb.ppm geofile=MYD03.A2003359.1225.005.2010067073507.hdf subsamp=4 outmode=2 atmocor=1

This worked, now I just have to work out what it did.

No comments:

Post a Comment