Try something like this: <?xml version="1.0" encoding="utf-8"?> <Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="3.0"> <Domain> <Grid Name="Grid"> <Geometry Origin="" Type="ORIGIN_DXDYDZ"> <DataItem DataType="Float" Dimensions="3" Format="XML" Precision="8">0 0 0</DataItem> <DataItem DataType="Float" Dimensions="3" Format="XML" Precision="8">1 1 1</DataItem> </Geometry> <Topology Dimensions="256 256 256" Type="3DCoRectMesh"/> <Attribute Center="Point" Name="JoesData" Type="Scalar"> <DataItem DataType="UChar" Dimensions="256 256 256" Format="HDF">small_ds.hdf5:/myelin</DataItem> </Attribute> </Grid> </Domain> </Xdmf>
If that doesn't work sent me the h5 offlist and I'll fix the above David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Thu, Jun 22, 2017 at 1:34 PM, Insley, Joseph A. <ins...@anl.gov> wrote: > Hi all, > > I am trying to get a simple XDMF example working, but am having no > success. I must be doing something obvious wrong, but I’m not seeing it. > Here’s what the data looks like: > > $ h5dump -H ./small_ds.hdf5 > HDF5 "./small_ds.hdf5" { > GROUP "/" { > DATASET "myelin" { > DATATYPE H5T_STD_U8LE > DATASPACE SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) } > } > } > } > > And here’s the xdmf file I’m trying to use: > > <?xml version="1.0" ?> > <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []> > <Xdmf Version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude"> > <Domain> > <DataItem ItemType="Uniform" > Format="HDF" > NumberType="UInt" > Precision="1" > Dimensions="256 256 256"> > small_ds.hdf5:/myelin > </DataItem> > </Domain> > </Xdmf> > > Choosing the Xdmf3 Reader or Xdmf3 Reader (Top Level Partition) results in > an empty data set, where there are no point or cell arrays, and everything > on the Information tab is listed as NA. > Choosing the Xdmf Reader results in a seg fault. > > Any suggestions would be appreciated. > > Thanks > joe > > _______________________________________________ > 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 > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview >
_______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview