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

Home » Public Forums » archive » Re: Obtaining all values of an HDF5 attribute w/o looping
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: Obtaining all values of an HDF5 attribute w/o looping [message #82385] Fri, 07 December 2012 05:27
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Shadovitz writes:

> I've got HDF5 files that look like this:
>
> /group1
> datasetA
> attribute xyz
> /group2
> datasetA
> attribute xyz
> /group3
> datasetA
> attribute xyz
>
> I can examine the value of each instance of attribute xyz like so:
>
> print, f.group1.datasetA.xyz._data
> print, f.group2.datasetA.xyz._data
> print, f.group3.datasetA.xyz._data
>
> Is there a way that I can grab all values of xyz without resorting to
a loop?

No, I don't think so. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Previous Topic: Obtaining all values of an HDF5 attribute w/o looping
Next Topic: Tracking and plotting particle trajectories 3D

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

Current Time: Sat Oct 11 16:21:45 PDT 2025

Total time taken to generate the page: 1.64477 seconds