<div dir="ltr"><div><div><div><div><div>Nikos,<br><br></div>It looks like you are using the Xdmf2 based reader.<br></div>Did you give a chance to the one based on Xdmf3?<br></div>What version of ParaView are you using?<br></div>Can you provide a full dataset we could use to reproduce the issue?<br><br></div>Best,<br><div><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_7475081771218280825gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-11-11 19:31 GMT+01:00 Nikolaos Beratlis <span dir="ltr"><<a href="mailto:nikos.beratlis@gmail.com" target="_blank">nikos.beratlis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>I have a cartesian structured grid made of two sub-domains and a two snap shots in a time that I would like to read in Paraview. The data and grid files are stored in HDF5 file and I use a XDMF file to read them in a Paraview. The XDMF files looks like this:<br><br><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0001<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0002<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0002<br></DataItem><br></Attribute><br></Grid><br></Grid><br></div><div><br></div><div><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0001<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0002<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0002:/zone0002<br></DataItem><br></Attribute><br></Grid></div><div><br></Grid></div></div><br></Grid><br></Domain><br></Xdmf><div><br></div><div>The file is read in Paraview. When I advance in to the second instant in time I get the following error:</div><div><br></div><div>Failed to read attribute data.</div><div><br></div><div>Paraview shows data from the first subset (zone0001), it can't read the data from the second subset (zone0002).</div><div><br></div><div><br></div><div>When I read only on instant in time like this:</div><div><br></div><div><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0001<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid GridType="Uniform" Name="GridZone0002"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 268"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 268" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0002<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0002<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 268" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0002<br></DataItem><br></Attribute><br></Grid><br></Grid></div><br></Grid><br></Domain><br></Xdmf><br></div><div><br></div><div>the file is read successfully and no errors show up.</div><div><br></div><div><div>Also when I read two time instants but with only one subset (zone0001) Paraview doesn't throw any errors. </div></div><div><br></div><div><?xml version="1.0" ?><br><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br><Xdmf Version="2.2"><br><Domain Name="Bump"><br><Grid Name="TimeSeries" GridType="Collection" CollectionType="Temporal"><br><br><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0001<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><br><div><Grid Name="0" GridType="Collection" CollectionType="Spatial"><br></div><div><Time TimeType="Single" Value="0.0"/><br><br><Grid GridType="Uniform" Name="GridZone0001"><br><Topology TopologyType="3DRectMesh" Dimensions=" 2 202 267"/><br><Geometry GeometryType="VXVYVZ"><br><DataItem Dimensions=" 267" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/XC-<wbr>zone0001<br></DataItem><br><DataItem Dimensions=" 202" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/YC<br></DataItem><br><DataItem Dimensions=" 2" NumberType="Float" Precision="4" Format="HDF"><br>../grid_VPreg_vxvyvz.h5sp:/ZC-<wbr>zone0001<br></DataItem><br></Geometry><br><Attribute Name="Q" AttributeType="Scalar" Center="Node"><br><DataItem Dimensions=" 2 202 267" NumberType="Float" Precision="4" Format="HDF"><br>../Q_VPreg.h5sp.0001:/zone0001<br></DataItem><br></Attribute><br></Grid><br><div><br></div><div></Grid></div></div><br></Grid><br></Domain><br></Xdmf><br></div><div><br></div><div><br></div><div>Does anyone see the problem in the code?</div><div><br></div><div>Kind regards,</div><div><br></div><div>Nikos</div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div>