Hi, I attached an xdmf-hdf5 hyperslab example, which is working fine for me.
Greetings Jens Eric E. Monson schrieb: > I agree that there's something very screwy going on. I can sometimes > load a slightly reformatted version of this, but only when I've just > opened PV 3.4, and even then when I look in a spreadsheet view it's not > showing the correct data (not jumping by 2 in last dim). If I "delete" > and reload, it crashes. I tried another test set that's 3d to begin > with, and got a lot of crashes, too. > > Sorry I have to run, but wanted you to know that I'm seeing something > very similar. > -Eric > > ------------------------------------------------------ > Eric E Monson > Duke Visualization Technology Group > > > On Apr 3, 2009, at 10:32 AM, Ian Curington wrote: > >> Does anyone have some small working examples of XDMF xml >> using they hyperslab option? I've yet to create any that will >> load with any stability in either the release or current dev versions. >> Suggestions for correcting the XDMF sample, or other working samples >> are very much appreciated! >> >> With both ParaView 3.4 Release and 3.5.0 Development, current CVS, >> loading this XML file brings down ParaView at the "Apply" stage. >> Very occasionally it loads but shows garbage data ranges. >> >> Here is a simple test of a 2D uniform grid, subsampled by 2 in X. >> Save it to "test.xmf", then File-Load into ParaView. >> >> <?xml version="1.0" ?> >> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []> >> <Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2"> >> <Domain> >> <Grid Name="Reduced Grid" GridType="Uniform"> >> <Topology TopologyType="3DCORECTMesh" Dimensions="1 3 3 "/> >> <Geometry GeometryType="ORIGIN_DXDYDZ"> >> <DataItem Dimensions="3" NumberType="Float" Precision="4" >> Format="XML"> >> 0 0 0 >> </DataItem> >> <DataItem Dimensions="3" NumberType="Float" Precision="4" >> Format="XML"> >> 0.1 0.1 0.1 >> </DataItem> >> </Geometry> >> <Attribute Name="Density" AttributeType="Scalar" Center="Node"> >> <DataItem ItemType="HyperSlab" >> Dimensions="1 3 3" >> Type="HyperSlab"> >> <DataItem >> Dimensions="3 3" >> Format="XML"> >> 0 0 0 >> 1 1 2 >> 1 3 3 >> </DataItem> >> <DataItem Dimensions="1 3 6" >> NumberType="Float" Precision="4" >> Format="XML"> >> 0.2 >> 0.285714 >> 0.371429 >> 0.45714 >> 0.15714 >> 0.25714 >> 0.542857 >> 0.628571 >> 0.714286 >> 0.999 >> 0.05714 >> 0.25714 >> 0.885714 >> 0.971429 >> 1.05714 >> 1.14286 >> 0.15714 >> 0.25714 >> </DataItem> >> </DataItem> >> </Attribute> >> </Grid> >> </Domain> >> </Xdmf> >> >> -- >> -- Ian -- [email protected] --- >> _______________________________________________ >> 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 > > _______________________________________________ > 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 >
<?xml version="1.0" ?> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" [ <!ENTITY DataFile "lipo_dns7a512.h5"> <!ENTITY DimsZYX "512 512 512"> <!ENTITY HSDimsZYX "128 180 128"> ]> <Xdmf Version="2.0" xmlns:xi="http://www.w3.org/2001/XInclude" > <Domain Name="DNS - Periodic Box"> <Grid Name="Minimum Attached Elements" GridType="Tree"> <Grid Name="Minimum_Attached_Element_37" GridType="Collection" CollectionType="Spatial"> <Grid Name="epath_8" Type="Uniform"> <Topology Type="POLYLINE" NodesPerElement="2145 " Dimension="1"> </Topology> <Geometry Type="XYZ"> <DataItem ItemType="HyperSlab" Dimensions="2145 3" Type="HyperSlab"> <DataItem Dimensions="2 3" Format="XML"> 0 0 <!-- Start --> 1 1 <!-- Stride --> 2145 3 <!-- Count --> </DataItem> <DataItem ItemType="Uniform" Format="HDF" NumberType="Float" Precision="8" Dimensions="2145 3"> &DataFile;:/flow/TRAJdata/chi1/epath/epath_8 </DataItem> </DataItem> </Geometry> </Grid> </Grid> </Grid> <Grid Name="2Pi-Box_temporal" GridType="Collection" CollectionType="Temporal"> <!--spatial grid collection for time 0.0--> <Grid Name="2Pi-Box_spatial_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;"> </Topology> <Geometry Type="ORIGIN_DXDYDZ"> <DataItem DataType="Float" Dimensions="3" Format="XML"> 0.0 0.0 0.0 </DataItem> <DataItem DataType="Float" Dimensions="3" Format="XML"> 1.0 1.0 1.0 </DataItem> </Geometry> <!-- u-Field --> <Attribute Active="1" Type="Scalar" Center="Node" Name="u"> <DataItem ItemType="HyperSlab" Dimensions="&HSDimsZYX;" Type="HyperSlab"> <DataItem Dimensions="3 3" Format="XML"> 0 0 0 <!-- Start --> 1 1 1 <!-- Stride --> &HSDimsZYX; <!-- Count --> </DataItem> <DataItem ItemType="Uniform" Format="HDF" NumberType="Float" Precision="8" Dimensions="&DimsZYX;"> &DataFile;:/flow/DNSdata/u </DataItem> </DataItem> </Attribute> </Grid> </Grid> </Domain> </Xdmf>
_______________________________________________ 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
