[vtkusers] VTK 5.8.0 HDF5 reader
Biddiscombe, John A.
biddisco at cscs.ch
Wed Nov 9 13:41:02 EST 2011
vtkXdmfReader will probably help
JB
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Jim Geach
Sent: 09 November 2011 17:05
To: vtkusers at vtk.org
Subject: [vtkusers] VTK 5.8.0 HDF5 reader
dear all --
i'd like to read a data-set (regular gridded data) from a large HDF5 file, straight into a vtkStructuredPoints object if possible.
currently i'm doing this (in python) by first reading from the HDF5 using h5py into a numpy array and then converting to a vtkDataArray, etc.
however, there are two problems:
(a) this is quite slow (we're dealing with many GB data sets)
(b) there is a bug in numpy that doesn't allow the passing of extremely large (i.e. 2**32-1 element) arrays to VTK
so in short, is there a vtkHDF5Reader ?
i have found some (old) documentation on some discussion boards about an earlier reader, but all the links are defunct. however, i also came across some more recent discussion of HDF5 in VTK 5.8 which looked encouraging.
any help would be gratefully received
jim
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list