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

Home » Public Forums » archive » HDF attribute retrieval
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
HDF attribute retrieval [message #55876] Tue, 18 September 2007 01:06
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: ? Is there a way to retrieve a
listing of all the tags available?
[Message index]
 
Read Message
Previous Topic: Re: Adding Widgets to ENVI
Next Topic: HDF object/tag retrieval

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

Current Time: Sat Oct 11 10:05:20 PDT 2025

Total time taken to generate the page: 0.04265 seconds