Hi,

I use XDMF since a year with paraview 3.4.x.
But since 3.6.1 (precompiled version for linux) loading attributes from
hdf5-hyperslab fails :(

I attached a test-case with xmf- and h5-file.

The following part of my XDMF-file makes trouble since paraview 3.6.1

<Attribute Active="1" Type="Scalar" Center="Node" Name="data2D">
  <DataItem
         ItemType="HyperSlab"
         Dimensions="1   64   64"
         Type="HyperSlab">
     <DataItem
             Dimensions="3 3"
             Format="XML">
                 0    0    0
                 1    1    1
                 1   64   64
     </DataItem>
     <DataItem
             ItemType="Uniform"
             Format="HDF"
             NumberType="Float"
             Precision=" 8"
             Dimensions="1   64   64">
                  test_xmf.h5:/data2D
     </DataItem>
  </DataItem>
</Attribute>

I would be happy about any ideas, help, patches...

Greetings
Jens

<?xml version="1.0" ?>

<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" [
        <!ENTITY DataFile  "test_xmf.h5">
        <!ENTITY DimsZYX   "1   64   64">
        <!ENTITY HSDimsZYX_Start "0    0    0">
        <!ENTITY HSDimsZYX_Count "1   64   64">
]>
<Xdmf Version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude"; >

  <Domain Name="2ddns64.h5">

        <Grid Name="TemporalCollection" GridType="Collection" CollectionType="Temporal">

                <!--spatial grid collection for time 0.0-->
                <Grid Name="SpatialCollection_0.0" GridType="Collection" CollectionType="Spatial">
                        <Time Type="Single" Value="0.00000000"/>

                        <Grid Name="1-1-1_t0.0" Type="Uniform">

                                <Topology Type="3DCORECTMESH" Dimensions="&HSDimsZYX_Count;">  </Topology>
                                <Geometry Type="ORIGIN_DXDYDZ">
                                        <DataItem DataType="Float" Dimensions="3" Format="XML"> &HSDimsZYX_Start; </DataItem>
                                        <DataItem DataType="Float" Dimensions="3" Format="XML"> 1.0 1.0 1.0 </DataItem>
                                </Geometry>

                                <Attribute Active="1" Type="Scalar" Center="Node" Name="data2D">
                                    <DataItem ItemType="HyperSlab" Dimensions="&HSDimsZYX_Count;" Type="HyperSlab">
                                        <DataItem Dimensions="3 3" Format="XML">
                                            &HSDimsZYX_Start;
                                            1  1  1
                                            &HSDimsZYX_Count;
                                        </DataItem>
                                        <DataItem ItemType="Uniform" Format="HDF" NumberType="Float" Precision=" 8" Dimensions="&DimsZYX;">
                                            &DataFile;:/data2D
                                        </DataItem>
                                    </DataItem>
                                </Attribute>
 
                         </Grid>
                </Grid>
        </Grid>
    </Domain>
</Xdmf>

Attachment: test_xmf.h5
Description: Binary data

_______________________________________________
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

Reply via email to