Ocean Color Forum - Not logged in
Forum Ocean Color Home Help Search Login
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / msl12 error in Seadas 4.6 (locked) (17127 hits)
By Ryan Weatherbee Date 2004-08-23 15:05
Hi,

I just installed Seadas 4.6 today on my RedHat 7.3 machine (the installation seemed to go fine).  I'm trying to run my existing scripts that take the SeaWiFS L1A files and compute L2 products.  I'm getting an error when the script gets to the call for msl12.  The following is how I call msl12:

msl12, 0, ifile=outfileL1Agom, ofile1=outfileL2, l2prod1="chlor_a,ndvi,K_490,par,l2_flags", met1=metone, met2=mettwo, met3=metthree, ozone1=oz1, ozone2=oz2, ozone3=oz3

where outfileL1Agom = a L1A file that has been subset using the 'subscene' command (this seems to work fine still)

My error is:

Create MSL12 parameter file: msl12.par
UNIX cmd_final = /bin/csh -f -c "msl12 par=./msl12.par"
reading .cshrc
Invalid argument "vcal_opt=       0"
-E- msl12_input.c Line 261: Error reading input parameters.
-E- msl12: Error parsing input parameters.
No L2 file /mnt/eddy/ext1/seawifs/GOMprocess/L2/S2004183162757.L2_HNSG

Thus, the L2 file is not generated.

So ... it seems like the new code doesn't like the input value of 0 for vcal_opt.  I checked msl12.par and this variable is set to 0 (as it should be?).  I even tried including the variable in my call to msl12 but it made no difference.

I should stress that my scripts had been working up until I upgraded to 4.6, so I'm wondering if there has been some new syntax changes to msl12 that I'm not aware of?

Anybody have any ideas?

Thanks,
Ryan
By - Date 2004-08-23 17:17
Ryan,

The vcal_opt parameter was removed from the code with the last release.
I think if you just remove that from your script, it will work fine.

Regards, Mark
By Ryan Weatherbee Date 2004-08-23 17:50
Hi Mark,

I don't quite understand ... I don't use the vcal_opt parameter when I call msl12 so I can't remove it.  As you can see from my first posting I call msl12 with just a list of products I want and the paths to the EPTOMS and NCEP files.  I tried running msl12 from the GUI and it worked just fine ... there seems to be something different with how the program is called from the command line in Seadas 4.6 (at least within a script).  I also noticed the the vcal_opt parameter is being listed in the msl12.par file ... should this be happening if the paramter has been removed?

Here is a copy of the first part of my msl12.par file:

ifile=/mnt/eddy/ext1/seawifs/GOMprocess/L1Agom/S2004183162757.L1Agom_HNSG
ofile1=/mnt/eddy/ext1/seawifs/GOMprocess/L2/S2004183162757.L2_HNSG
l2prod1=chlor_a,ndvi,K_490,par,l2_flags
calfile=$MSL12_DATA/seawifs/cal/SEAWIFS_SENSOR_CAL.TBL
spixl=       1
epixl=      -1
dpixl=       1
sline=       1
eline=      -1
dline=       1
ctl_pt_incr=       8
proc_ocean=       1
proc_land=       0
atmocor=       1
proc_sst=       1
pol_opt=       0
aer_opt=      -3
aer_iter_max=      10
brdf_opt=       1
vcal_opt=       0
sl_pixl=      -1
sl_frac=     0.250000

Thanks
Ryan
By - Date 2004-08-23 18:05
Ryan,

Okay, this would appear to be some kind of installation problem.  Do you
have any other installations of SeaDAS on the computer where you are
running this?  The reason I ask is because a quick test on my Linux box
did not put any vcal_opt parameter in the msl12.par file, as it should be.
That's why I'm wondering whether perhaps you have another definition
of $SEADAS in your .cshrc that might be getting picked up when you
run this.  If not, what operating system are you using?

Mark
By Ryan Weatherbee Date 2004-08-24 19:45
Hi again,

OK - I re-downloaded and reinstalled SeaDAS from scratch and I am still getting the same error.  I don't think there are any other versions of SeaDAS on my system ... none that I can find anyway  (I deleted the prior version before installing).  I'm running SeaDAS under Linux RedHat 7.3.  There were no error messages during the installation and when I start SeaDAS it says it is version 4.6.

Maybe it would help if you could tell me where and why and how the msl12.par file is created  - this seems to be the part of the code that is causing me trouble.

Thanks
Ryan
By - Date 2004-08-25 15:16
Ryan,

Do you have any references to SeaDAS in your .cshrc or .bashrc file?

Mark
By Ryan Weatherbee Date 2004-08-25 15:46
Hi Mark.

Yes I do have some references to seadas in my .cshrc file:

set path=($PATH /bin /usr/bin /usr/sbin/ /etc \
/usr2/local/rsi /usr2/local/rsi/idl_6.0/bin \
/usr2/local/seadas /usr2/local/seadas/bin \
/usr2/local/seadas/etc .)

setenv LM_LICENSE_FILE /usr2/local/rsi/license/license.dat
set filec

source /usr2/local/seadas/config/seadas.env

Anything look out of place?

Thanks,
Ryan
By - Date 2004-08-25 21:29
Ryan,

I've just tested a fresh install of the RedHat 7.3 tar file, and could not duplicate
your problem.  I would suggest commenting out the line in your .cshrc that
sources the config file and re-do your install from the point where you first
run the shell_cfg_csh script.

Mark
By Ryan Weatherbee Date 2004-08-26 17:53
Hi Mark,

I tried commenting out the sources lines in my .cshrc, but still no change ... still the same msl12 error.  Any other suggestions?  I tried a 'which msl12' and it points to the correct file in the new installation... maybe I'll try installing Seadas to a completely different directory and see if that helps.

Ryan
By - Date 2004-08-26 18:19
Hi  again,

OK I deleted the last installation and installed 4.6 into a different directory ... however I'm still gettting the exact  error.

Ryan
By Ryan Weatherbee Date 2004-08-26 19:50
I just reinstalled the previous version (4.5) and it is working properly ... that doesn't really help me, but it may be a clue to what is going on.

Ryan
By - Date 2004-08-27 14:35
Ryan,

How old is the workstation that you are running this on?

Mark
By Ryan Weatherbee Date 2004-08-30 18:18
Hi Mark,

We bought the workstation in late 2000.  It is a Dell PowerEdge 4400 Dual P3 Xeon 866 MHz with 1Gb SDRAM.

Ryan
By - Date 2004-08-30 20:55
Ryan,

That's probably not the problem then.  How about mailing me your
script and let me try it?  Send it to mark@seawifs.gsfc.nasa.gov.

Regards, Mark
By Bouchra Date 2004-09-06 12:25
Hello Ryan,

I get the same problem when I first runned the msl12 within SEADAS4.6,
I removed the line
vcal_opt=0
from the msl12.par file, then it worked well!  :D

Bouchra
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / msl12 error in Seadas 4.6 (locked) (17127 hits)



Responsible NASA Official: Gene C. Feldman
Curator: OceanColor Webmaster
Authorized by: Gene C. Feldman
Updated: 27 November 2007
Privacy Policy and Important Notices NASA logo