[vtkusers] multiblock time series file writing

Berk Geveci berk.geveci at kitware.com
Mon May 13 20:30:14 EDT 2013


Hi Gerrick,

The time support that is in the single dataset XML writers was never
extended to support multi-block dataset. There are several ways of doing
what you want. The simplest would be to write out a time series (1 vtm file
per time step) and then use a reader that can handle that. Before I get
into more details, what are you trying to accomplish? What will you do with
the time series?

-berk


On Mon, May 13, 2013 at 5:33 PM, Gerrick Bivins <
Gerrick.Bivins at halliburton.com> wrote:

>  Hi All,****
>
> After seeing a post this morning about “Seperation of <Points> and
> <Cells> datablock from UnstructuredGrid (.vtu) files<http://vtk.1045678.n5.nabble.com/Separation-of-lt-Points-gt-and-lt-Cells-gt-datablocks-from-Unstructured-Grid-vtu-files-td5720669.html>
> ”,****
>
> I thought it might be possible to use this to write out
> MultiBlock/Composite files temporally . Unfortunately, it looks like the
> settings****
>
> from the root CompositeDataWriter aren’t passed to the data writers for
> the leaves. It also seems to ignore putting the****
>
> “TimeValues”  type information in the meta file (root xml file for the
> multiblock dataset).****
>
> For the leaves, the settings issue causes problems with the writing of
> those blocks:****
>
> 1)Time information is not present****
>
> 2) written files are invalid xml as the file begins with a broken offset
> tag something like:****
>
>    offset="6468764"0"?>****
>
> ** **
>
> Issue 2  can be seen by simply attempting to write out an xml multiblock
> file.****
>
> I worked around it by setting the code writer to Binary mode explicitly.**
> **
>
> ** **
>
> Are these bugs or known limitations of multiblock format?****
>
> Gerrick****
>
> ** **
>
> ** **
>  ------------------------------
> This e-mail, including any attached files, may contain confidential and
> privileged information for the sole use of the intended recipient. Any
> review, use, distribution, or disclosure by others is strictly prohibited.
> If you are not the intended recipient (or authorized to receive information
> for the intended recipient), please contact the sender by reply e-mail and
> delete all copies of this message.
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130513/995eb3dc/attachment.htm>


More information about the vtkusers mailing list