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

Home » Public Forums » archive » HDF object/tag retrieval
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
HDF object/tag retrieval [message #55875] Tue, 18 September 2007 01:08
leatherback is currently offline  leatherback
Messages: 15
Registered: November 2005
Junior Member
Dear All,

For the past 2 weeks I have been trying to find an automated way to
get my MODIS MYD09A1 HDF images opened, retrieve some parameters, and
spit out a geotiff for each grid in the file.

I have gotten as far as retrieving the grid, and slumbering around
writing the GeoTiff (Anybody got an easy routine to take a projection
structure and use that in one step to create a geotiff tag?). But I am
stumped on getting the metadata.

When I use the HDF_SD_ATTRINFO command, all the global attribute are
there, but the individual tags cannot be accessed: All data is just
one big string of nested information. how do I go one level deeper,
and get the actual tag => Value combinations out of this (e.g.:
GRANULEBEGINNINGDATETIME value: 2002-07-3 07:53:22)?
Also: is there a way to retrieve a listing of all the tags available?

I am a bit confused by the way to access all these parameters, and the
IDL manual is not too useful on the topic.

Cheers,

Jelle.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HDF attribute retrieval
Next Topic: source_href in IDLdoc?

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

Current Time: Sat Oct 11 04:59:06 PDT 2025

Total time taken to generate the page: 1.04046 seconds