<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks, Dave! That did the trick.
<div class=""><br class="">
</div>
<div class="">Although, for completeness, I had to change the Center Attribute from “Point” to “Node”. Otherwise ParaView crashed, complaining that Center was not one of ‘Grid’, ‘Cell’, ‘Face’, ‘Edge’, ‘Node’.</div>
<div class=""><br class="">
</div>
<div class="">Thanks again,</div>
<div class="">joe</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 22, 2017, at 4:04 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" class="">dave.demarle@kitware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Try something like this:<br class="">
<?xml version="1.0" encoding="utf-8"?><br class="">
<Xdmf xmlns:xi="<a href="http://www.w3.org/2001/XInclude" class="">http://www.w3.org/2001/XInclude</a>" Version="3.0"><br class="">
<Domain><br class="">
<Grid Name="Grid"><br class="">
<Geometry Origin="" Type="ORIGIN_DXDYDZ"><br class="">
<DataItem DataType="Float" Dimensions="3" Format="XML" Precision="8">0 0 0</DataItem><br class="">
<DataItem DataType="Float" Dimensions="3" Format="XML" Precision="8">1 1 1</DataItem><br class="">
</Geometry><br class="">
<Topology Dimensions="256 256 256" Type="3DCoRectMesh"/><br class="">
<Attribute Center="Point" Name="JoesData" Type="Scalar"><br class="">
<DataItem DataType="UChar" Dimensions="256 256 256" Format="HDF">small_ds.hdf5:/myelin</DataItem><br class="">
</Attribute><br class="">
</Grid><br class="">
</Domain><br class="">
</Xdmf><br class="">
<br class="">
</div>
If that doesn't work sent me the h5 offlist and I'll fix the above<br class="">
</div>
<div class="gmail_extra"><br clear="all" class="">
<div class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">David E DeMarle<br class="">
Kitware, Inc.<br class="">
Principal Engineer<br class="">
21 Corporate Drive<br class="">
Clifton Park, NY 12065-8662<br class="">
Phone: 518-881-4909</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">On Thu, Jun 22, 2017 at 1:34 PM, Insley, Joseph A. <span dir="ltr" class="">
<<a href="mailto:insley@anl.gov" target="_blank" class="">insley@anl.gov</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br class="">
<br class="">
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:<br class="">
<br class="">
$ h5dump -H ./small_ds.hdf5<br class="">
HDF5 "./small_ds.hdf5" {<br class="">
GROUP "/" {<br class="">
DATASET "myelin" {<br class="">
DATATYPE H5T_STD_U8LE<br class="">
DATASPACE SIMPLE { ( 256, 256, 256 ) / ( 256, 256, 256 ) }<br class="">
}<br class="">
}<br class="">
}<br class="">
<br class="">
And here’s the xdmf file I’m trying to use:<br class="">
<br class="">
<?xml version="1.0" ?><br class="">
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br class="">
<Xdmf Version="2.0" xmlns:xi="<a href="http://www.w3.org/2001/XInclude" rel="noreferrer" target="_blank" class="">http://www.w3.org/<wbr class="">2001/XInclude</a>"><br class="">
<Domain><br class="">
<DataItem ItemType="Uniform"<br class="">
Format="HDF"<br class="">
NumberType="UInt"<br class="">
Precision="1"<br class="">
Dimensions="256 256 256"><br class="">
small_ds.hdf5:/myelin<br class="">
</DataItem><br class="">
</Domain><br class="">
</Xdmf><br class="">
<br class="">
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.<br class="">
Choosing the Xdmf Reader results in a seg fault.<br class="">
<br class="">
Any suggestions would be appreciated.<br class="">
<br class="">
Thanks<br class="">
joe<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">
http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">
http://paraview.org/Wiki/<wbr class="">ParaView</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">
http://markmail.org/search/?q=<wbr class="">ParaView</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/paraview</a><br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>