comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Help with HDF Format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Help with HDF Format [message #35201 is a reply to message #35185] Thu, 15 May 2003 14:20 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gautam Bisht (bishtgautam@yahoo.com) writes:

> I am a new user of IDL and facing trouble trying to open MODIS images
> and its products, which are in HDF and HDF EOS format. I am able to
> see that ENVI can open those files but I want to write a code to
> extract the values in those files. Could someone help me out with
> this? maybe by pointing out some sources where I could get more info.

Hopefully those MODIS files are in HDF5 format, so
you can use the new H5_BROWSER function to look at them.
If not (and the MODIS files I have hanging around here
are not), then you will have to use the clunkier
HDF_BROWSER to read them. The H5_BROWSER is slick
and works the way I expect it to. (Did RSI write this!?)
The HDF_BROWSER works too, but I always have to muck
around with it to get what I want. (The boys who
wrote this didn't take that class on GUI design, I
guess.)

If you can't get what you want that way, I found a file
named MAS_READ on one of the MODIS web pages, which
reads "a single band of MODIS Airborne Simulator (MAS)
image data from a Level 1B HDF file". You can probably
get the crux of the HDF matter from this file. It really
is not too hard to figure it all out, at least if you
start with a good example.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: new object from a save/restore doesn't execute init function
Next Topic: running IDL without the DE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:43:36 PDT 2025

Total time taken to generate the page: 0.48445 seconds