[Paraview] problems assigning vector data in xdmf-file
Jerry Clarke
clarke at arl.army.mil
Mon Nov 3 08:40:10 EST 2008
Natalie,
"Type" in the Attribute should be "AttributeType" .... but that is not
the problem.
For some reason it's not seeing the second dimension in
the HDF5 file (i.e. it sees it as rank=1 not rank=2) Notice
41525 / 3 = 13841.
Just for giggles try :
h5ls -vr c2d-T100-8r_00001.h5/Curvilinear/xm_ym
If it shows dims = 41525 instead of 41525 x 3 that's
the problem.
Jerry Clarke
Natalie Happenhofer wrote:
> Hi!
> I´m trying to assign vector attribute data to my grid, that´s what I put
> in my .xmf-File:
>
> <Attribute Name="XmYm" Type="Vector" Center="Node">
> <DataItem DataType="Float" Precision="4" Dimensions="41525 3" Format="HDF">
> c2d-T100-8r_00001.h5:/Curvilinear/xm_ym
> </DataItem>
> </Attribute>
>
> (Before that I specify my grid and that works, I tested it without the
> attribute data)
>
> in my .h5 file the data is a 41525 array, i.e. 41525 rows and 3 columns
> specifying the x,y,z coordinate, and the values are correct.
>
> trying to load it into paraview, paraview says:
> ERROR: In C:\berk\ReleaseBuilds\ParaView3\VTK\Filtering\vtkDataSet.cxx,
> line 399
>
> vtkStructuredGrid (05B65380): Point array XmYm with 3 components, only
> has 13841 tuples but there are 41525 points
>
>
> ERROR: In
> C:\berk\ReleaseBuilds\ParaView3\VTK\Filtering\vtkExecutive.cxx, line 757
>
> vtkCompositeDataPipeline (05EF6A30): Algorithm
> vtkPVGeometryFilter(05ECEF48) returned failure for request:
> vtkInformation (05F71348)
>
> Debug: Off
>
> Modified Time: 80061
>
> Reference Count: 1
>
> Registered Events: (none)
>
> Request: REQUEST_DATA
>
> ALGORITHM_AFTER_FORWARD: 1
>
> KEYS_TO_COPY: UPDATE_BLOCKS
>
> FROM_OUTPUT_PORT: 0
>
> FORWARD_DIRECTION: 0
>
>
> I don´t know why it says that there are just 13841 tuples. in my .h5
> file there are 41525, looking at it with the hdfviewer.
>
> Does anyone know what´s the problem here?
>
> thx,
> NH
>
>
> ------------------------------------------------------------------------
> Express yourself instantly with MSN Messenger! MSN Messenger
> <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/>
>
More information about the ParaView
mailing list