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

Home » Public Forums » archive » Re: HDF_Browser Woes
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: HDF_Browser Woes [message #53795 is a reply to message #53793] Thu, 03 May 2007 10:08 Go to previous messageGo to previous message
Richard Edgar is currently offline  Richard Edgar
Messages: 8
Registered: February 2006
Junior Member
David Fanning wrote:
> Benjamin Hornberger writes:
>
>> I can tell you how (little) I used hdf_read(). I believe hdf_browser()
>> can produce a template to subsequently open several files of the same
>> type / structure with hdf_read() without going through what I describe
>> below each time.
>
> Ooohhhh! Humm, I didn't even know there was a connection
> between HDF_BROWSER and HDF_READ. I probably should have
> read the documentation instead of assuming this would
> work intuitively. :-)

Indeed, HDF_BROWSER is to HDF_READ as ASCII_TEMPLATE is to READ_ASCII. I
have a simple routine which uses the template produced:

PRO ReadHDF,filename,struct
; Simple procedure to read an HDF file

RESTORE,FILENAME='template.dat'
struct = HDF_READ(filename,TEMPLATE=template)

END

where 'template.dat' contained a template previously SAVEd from HDF_BROWSER.

It's been a while since I used HDF_BROWSER, so I can't remember how to
use it exactly.... it's certainly not as intuitive as ASCII_TEMPLATE.
Knowing what's supposed to be in the file would be a good start :-) The
fields should at least be named within the HDF file.

Richard
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to force idl to export data in one line?
Next Topic: Re: Graphics pipeline (was Re: crazy contour)

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

Current Time: Fri Oct 10 03:49:21 PDT 2025

Total time taken to generate the page: 0.24393 seconds