Ocean Color Forum - Not logged in
By zaro33
Date 2006-07-17 20:40
Hi,
I have try to get this two product:
aph_nnn_gsm01 Phytoplankton Absorption GSM01 Model
a_nnn_carder Total Absorption Carder Model m^-1
but is telling me: No valid product name selected
I have created a IDL, which give me all other product except for the two ABOVE:
prod=['calcite','poc_clark','tsm_clark','flh','aph_443_gsm01','aph_667_gsm01']
ANY HELP WILL BE APPRECIATED
By mark
Date 2006-07-17 21:09
Maybe you are taking it too literally. The "nnn" is supposed to be replaced with the 3-digit wavelength, like you did with 443 and 667.
Mark
By zaro33
Date 2006-07-17 22:05
I know I used: [aph_443_gsm01] and [aph_667_gsm01]
but it does not recognized it.
By mark
Date 2006-07-18 16:14
Can you post the entire output from the processing run? That may help me figure out why it's not working.
Thanks, Mark
By zaro33
Date 2006-07-18 16:41
I wrote a script, I know it is not wrong, because I have gotten many products like: calcite, tsm_clark, ...
I included try processing first [flh] which it work, but aph_443_gsm01 does not.
IDL Version 6.1 (linux x86 m32). (c) 2004, Research Systems, Inc.
% Embedded IDL: NASA - Goddard Space Flight Center, SeaDAS.
% Embedded IDL: NASA - Goddard Space Flight Center, SeaDAS.
SeaDAS Version 4.9.4 (pid = 23018)
2
n: 19
A2004001190000.L1B_LAC.L2_LAC_flh.out
Detected MODIS ftype.
grp_name=Geophysical Data
Getting - "flh" data from HDF file...
processing file: /home/William/ModisL1B/A2004001190000.L1B_LAC.L2_LAC
0 0
flh
A2004001190000.L1B_LAC.L2_LAC_aph_443_gsm01.out
Detected MODIS ftype.
grp_name=Geophysical Data
[LOAD] - No valid product name selected
processing file: /home/William/ModisL1B/A2004001190000.L1B_LAC.L2_LAC
SDP_VAL_BAND: No band available for band_no : 1
% Attempt to subscript FREEBANDFLAG (SDS_BAND) with BAND_IX is out of range.
[MAIN]: Error executing the command:
while (i lt n) do begin & if (j ne m+1) then begin & for j=0,m-1 do begin & filename=infiles(i) & base=strmid(filename,23,37) & ascii2=base+"_"+prod(j)+'.out' & path='/home/William/LatLon/' & print,ascii2 & ofile1=path+ascii2 & load,infiles(i),prod_name=prod(j) & print,' processing file: ',infiles(i) & out_rline, iband=1, ifile='LatLon4.dat',ofile=ofile1,/no_connect & print, j,i & PRINT, prod(j) & clear_up & endfor & clear_up & endif & clear_up & i = i + 1 & print, i & endwhile
MAIN: Error executing command in batch file
By mark
Date 2006-07-18 17:25
zaro33,
From what I can tell looking at the output you've provided, your script is trying to load the product aph_443_gsm01 from the level 2 file A2004001190000.L1B_LAC.L2_LAC, but that product does not exist in the level 2 file. Maybe when you processed the level 2 file, you did not select aph_443_gsm01 as a desired output product? You can tell what products reside within the level 2 file by simply loading the file into seadas using the GUI. If you do not see aph_443_gsm01 amongst the available products, it is not there. Therefore, you would need to go back and re-process the level 1b file, making sure that you select the aph_443_gsm01 product as a desired output product in the level 2 file.
Mark
By zaro33
Date 2006-07-19 22:30
I am very sorry,
yes, I forgot to re-process the L1B to L2, asking for aph_443_gsm01.
I was careless, sorry.
Thank for the HELP