Ocean Color Forum - Not logged in
Forum Ocean Color Home Help Search Login
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / problems on using MODIS L2 products to generate true color image with 'Load' (locked) (796 hits)
By daz Date 2012-04-20 18:01 Edited 2012-04-20 18:03
I want to generate TC images using three different bands of L2 file with 'Load' command (I know l1mapgen can do this but i don't want to use it), however the results i've got are really odd(see attachment), does anyone can help with it, thank you

my code:

for i=0, N_ELEMENTS(fnames)-1 do begin & $
   filenames=fnames & $
   base=strmid(filenames,16,14, /REVERSE_OFFSET)  & $
   load, filenames, FTYPE='MODIS', PROD_NAME=['Rrs_443','Rrs_488','Rrs_555'] & $
   load, ftype='TRUE', RGB_BANDS=[3,2,1], rgb_slopes=[4,4,4], $ & $
         rgb_intercepts=[0.0,0.0,0.0] & $
   display,fbuf=1, band_no=4 & $
   out, L2DIR+base+'_TC.png', FTYPE='png', FBUF=1 & $

endfor


Attachment: A2004348184000_TC.png (1.3k)
By daz Date 2012-04-23 14:44
can anyone help here, please
Previous Next Up Topic SeaDAS / SeaDAS 6.x - General Questions / problems on using MODIS L2 products to generate true color image with 'Load' (locked) (796 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