X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Jun 2007 12:04 PM by  anon
Question on obtaining a particular band from air temperature image from MODIS07 air product
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
15 Jun 2007 12:04 PM
    Goodday, Everyone! I would like to ask on processing MODIS 07 air product. I am working on 3D-MOD07 image. As most of you may know, the dimension of this file is, at least in my knowledge.... sample numbers(ns): 270, Line numbers(nl): 406, ±×¸®°í band numbers(nb): 20 In order to get the map of band20, I wrote a source code below, but this procedure is not working properly. ----------------------------- pro test close, /all ns = 270 nl = 406 nb =20 file = 'MOD072003001.0130_Ta_5km.img' openr, 1, file image = bytarr(ns, nl, nb) readu, 1, image close, 1 tvscl, image(*, *, 19) end ----------------------- In my opinion, there must be something wrong at this line shown below... "image = bytarr(ns, nl, nb)" However, I don't know how to solve this problem... I tried read_jpg, and read_gif instead of bytarr, but all of these trials were not so successful. Please give me any suggestions. Thanks. Harry

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Jun 2007 12:04 PM
    I just finished up the MODIS Conversion Toolkit, which is a plugin to ENVI that can handle every known MODIS product. You might want to try it out: http://www.ittvis.com/cod...k/search.asp?FID=485 It has a GUI version and a fully accessible programmatic interface.
    You are not authorized to post a reply.