[Paraview] Temperature visualisation
David E DeMarle
dave.demarle at kitware.com
Fri May 8 17:27:21 EDT 2009
I think you want GEOMETRY to be XY and make it refer to just the first
two data sets, then set up and ATTRIBUTE scalar to point to the third.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
On Fri, May 8, 2009 at 5:03 PM, Guido Staub <gstaub at udec.cl> wrote:
> Am 08.05.2009 16:35:15 schrieb(en) David E DeMarle:
>> I would recommend writing an XDMF interface. XDMF is a text (XML)
>> format that you can use to describe the content of the hdf file. Once
>> you have the xdmf file paraview will be able to ingest your data.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-371-3971 x109
>>
>
> This is what I have already done (see listing below).
> It works to have a 3D representation. However I do not want the
> temperature as a height value but a color. z will be constant, for
> example 100.
>
> <Xdmf>
> <Domain>
> <Grid GridType="Uniform">
>
> <Topology Type="Polyvertex" Dimensions="241 241 1"> </Topology>
> <Geometry Type="X_Y_Z">
> <DataItem DataType="Float" Precision="4" Dimensions="1 241 241"
> Format="HDF">
> test.h5:/bands/latitude
> </DataItem>
> <DataItem DataType="Float" Precision="4" Dimensions="1 241 241"
> Format="HDF">
> test.h5:/bands/longitude
> </DataItem>
> <DataItem DataType="Float" Precision="4" Dimensions="1 241 241"
> Format="HDF">
> test.h5:/bands/temp
> </DataItem>
> </Geometry>
>
> </Grid>
> </Domain>
> </Xdmf>
>
>
>
More information about the ParaView
mailing list