Hello,
I try to read in hdf5 files with the xdmf reader. The read in of the
mesh works. But I have some problems with the attributes.
I have the following two hdf datasets:
DATASET "Displacements" {
DATATYPE H5T_COMPOUND {
H5T_STD_I32LE "Node";
H5T_ARRAY { [3] H5T_IEEE_F64LE } "Ux Uy Uz";
}
DATASPACE SIMPLE { ( 2609611, 1 ) / ( 2609611, 1 ) }
DATASET "Stress" {
DATATYPE H5T_IEEE_F64LEH5T_COMPOUND
DATASPACE SIMPLE { ( 1633014, 7 ) / ( 1633014, 7 ) }
How do I read in the three floats from the Displacements. The problem
is, that the floats are in a H5T_COMPOUND.
>From the second data set I want read in only the 7th column. I'm not
sure, if I do it in the right way.
<Attribute Name="Stress" AttributeType="Scalar" Center="Cell">
<DataItem ItemType="HyperSlab" Dimensions="1633014 1"
Type="HyperSlab">
<DataItem Dimensions="3 2" Format="XML">
0 6
1 1
1633014 1
</DataItem>
<DataItem Dimensions="1633014 7" Format="HDF" NumberType="Float"
Precision="8" >
cube.h5:/Stress
</DataItem>
</DataItem>
</Attribute>
Thanks for your help
Regards
Cyril Flaig
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview