Displaying MODIS true color imagery from raw channel data

From: John Kerfoot <johnkerfoot_at_nyahnyahspammersnyahnyah>
Date: Wed Dec 22 2010 - 13:03:55 MST

I have a satellite pass with the following MODIS channel data:

variables:
      short modis_ch01b ( line, sample )
         long_name : modis_ch01b
         units : Watts/m^2/micrometer/steradian
         valid_range : ( 0, 32767 )
         _FillValue : -32768
         scale_factor : 0.0272248275578022
         scale_factor_err : 0
         add_offset : 316.9721984863281
         add_offset_err : 0
         calibrated_nt : 22
         hdf_name : modis_ch01b

      float line ( line )
         long_name : line
         hdf_name : line

      float sample ( sample )
         long_name : sample
         hdf_name : sample

      short modis_ch03b ( line, sample )
         long_name : modis_ch03b
         units : Watts/m^2/micrometer/steradian
         valid_range : ( 0, 32767 )
         _FillValue : -32768
         scale_factor : 0.02150522731244564
         scale_factor_err : 0
         add_offset : 316.9721984863281
         add_offset_err : 0
         calibrated_nt : 22
         hdf_name : modis_ch03b

      short modis_ch04b ( line, sample )
         long_name : modis_ch04b
         units : Watts/m^2/micrometer/steradian
         valid_range : ( 0, 32767 )
         _FillValue : -32768
         scale_factor : 0.01873911917209625
         scale_factor_err : 0
         add_offset : 316.9721984863281
         add_offset_err : 0
         calibrated_nt : 22
         hdf_name : modis_ch04b

I'm wondering if it's possible to blend the modis_ch01b, modis_ch03b
and modis_ch04b channels together to plot a true-color (rgb) image?

For those that are familiar with matlab, I'm trying to do something
along the lines of plotting a surface and directly mapping the colors
to an MxNx3 RGB matrix (via the 'CData' property).

Is this possible?

John
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 22 13:04:00 2010

This archive was generated by hypermail 2.1.8 : Fri Feb 11 2011 - 16:11:42 MST