[Paraview] Error reading XDMF file

Nikolaos Beratlis nikos.beratlis at gmail.com
Tue Aug 29 14:07:08 EDT 2017


Hi,

I have the following XDMF file:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.0">
  <Information Name="MetaData" Value="ID-23454"/>
  <Domain>
    <Grid Name="Eulerian Grid" GridType="Uniform">
      <Topology TopologyType="3DRectMesh" NumberOfElements="   1602    202
  1780"/>
      <Geometry GeometryType="VXVYVZ">
        <DataItem Dimensions=" 1780" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_VP.h5sp:/X
        </DataItem>
        <DataItem Dimensions="  202" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_VP.h5sp:/Y
        </DataItem>
        <DataItem Dimensions=" 1602" NumberType="Float" Precision="4"
Format="HDF">
         ../grid3dc_vxvyvz_VP.h5sp:/Z
        </DataItem>
      </Geometry>
      <Attribute Name="Q" AttributeType="Scalar" Center="Node">
        <DataItem Dimensions="  1602   202  1780" NumberType="Float"
Precision="4" Format="HDF">
         ../Qcrit.0001.h5sp:/var3d
        </DataItem>
      </Attribute>
   </Grid>
  </Domain>
</Xdmf>

I can read the file into Paraview 5.0 without any problems. When I try to
read it with Paraview 4.1 I get the following error message:

ERROR: In
/Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/Xdmf2/vtkXdmfHeavyData.cxx,
line 1126

vtkXdmfReader (0x1177e62f0): Failed to read attribute data

It seems that Paraview 4.1 reads the grid fine but it can't read the
attribute. Any idea what is wrong?


Regards,


Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170829/e40ab938/attachment.html>


More information about the ParaView mailing list