<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:Z="urn:schemas-microsoft-com:" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 05:40:28 Thursday, 22 March 2012 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
LI.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
DIV.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
TABLE.7e412907-b7ef-495a-bba7-64f13c46a44aTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style><!-- Template generated by Exclaimer Mail Disclaimers on 05:40:28 Thursday, 22 March 2012 -->
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"></p>
<p></p>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">How about using a Transform Filter, possibly using scripting? Not sure if that works with timesteps, but I suppose it can be done.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I made the following example for someone on the list recently, that shows animation of a transformfilter:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><a href="http://markmail.org/download.xqy?id=wjep757breylvtao&amp;number=1">http://markmail.org/download.xqy?id=wjep757breylvtao&amp;number=1</a> (downloads a state
 file)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
</div>
<p></p>
<p>
<table style="WIDTH: 475px; BORDER-COLLAPSE: collapse" class="44b69221-e828-4dbc-b3c7-4536c25d5e4fTable" border="0" cellspacing="0" cellpadding="0" cols="1">
<tbody>
<tr>
<td colspan="2"><font color="#7d7d7d" size="2" face="Arial"><img id="IMG1" border="0" align="absMiddle" src="cid:imageb5e239.JPG@3fb0f67a.42b515ce" width="60" height="19"><img id="IMG1" border="0" align="bottom" src="cid:imageab677b.JPG@0d91b681.4ab2fd63" width="410" height="26"></font></td>
</tr>
<tr>
<td style="HEIGHT: 17px" colspan="2">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font face="Arial"><font size="2" face="Arial"><font color="#7d7d7d">dr. ir. Menno A.&nbsp;Deij</font></font></font></p>
</td>
</tr>
<tr>
<td style="WIDTH: 222px; HEIGHT: 17px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><span style="FONT-SIZE: 10pt"><font face="Arial"><font color="#7d7d7d"></font><span style="color: #7D7D7D; ">Software Engineer</span></font></span></p>
</td>
<td style="WIDTH: 252px"><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
</tr>
<tr>
<td><span style="FONT-SIZE: 10pt"><font color="#7d7d7d" face="Arial">Maritime Simulation Group</font></span></td>
<td><font size="2" face="Arial"></font></td>
</tr>
</tbody>
</table>
</p>
<p>
<table style="WIDTH: 475px; BORDER-COLLAPSE: collapse" class="44b69221-e828-4dbc-b3c7-4536c25d5e4fTable" border="0" cellspacing="0" cellpadding="0" cols="3">
<tbody>
<tr>
<td style="WIDTH: 217px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"></font>&nbsp;</p>
</td>
<td style="WIDTH: 139px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"><strong>MARIN</strong></font></p>
</td>
<td style="WIDTH: 117px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"></font>&nbsp;</p>
</td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font color="#7d7d7d" size="2" face="Arial"></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">2, Haagsteeg</font></td>
<td><font color="#7d7d7d" size="2" face="Arial"></font></td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font face="Arial"><font size="2" face="Arial"><font color="#366092"><font color="#7d7d7d">E</font>
<a href="mailto:M.Deij@marin.nl" title="Click to send email to Deij, Menno" target="">
M.Deij@marin.nl</a></font></font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">P.O. Box 28</font></td>
<td><font color="#7d7d7d" size="2" face="Arial">T &#43;31 317 49 39 11</font></td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">6700 AA Wageningen</font></td>
<td><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
</tr>
<tr>
<td><font size="2" face="Arial"><font color="#7d7d7d">T &nbsp;&#43;31 317 49 35 06</font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">The Netherlands</font></td>
<td><font color="#7d7d7d" size="2" face="Arial">I &nbsp;</font><a href="http://www.marin.nl" target="_top"><font color="#366092" size="2" face="Arial">www.marin.nl</font></a></td>
</tr>
</tbody>
</table>
</p>
<p></p>
<div class="WordSection1"></div>
<p></p>
<p></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a">&nbsp;</p>
<p><font color="#7d7d7d" size="2" face="Arial">MARIN news: </font><span style="font-family:Arial; font-size:x-small; color: #366092; "><span style="color: #366092; text-decoration: underline; "><span style="color: #366092; text-decoration: underline; "><a href="http://www.marin.nl/web/News/News-items/Exploratory-study-on-the-working-principles-of-Energy-Saving-Devices.htm" title="" target=""><span style="color: #366092; text-decoration: underline; ">Exploratory
 study on the working principles of Energy Saving Devices</span></a></span></span><br>
</span></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"><font color="#7d7d7d" size="2" face="Arial">This e-mail may be confidential, privileged and/or protected by copyright. If you are not the intended recipient, you should return it to the sender immediately and
 delete your copy from your system.</font></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a">&nbsp;</p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"></p>
<p></p>
<div class="WordSection1">
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> paraview-bounces@paraview.org [mailto:paraview-bounces@paraview.org]
<b>On Behalf Of </b>John.CTR.Mick@faa.gov<br>
<b>Sent:</b> Thursday, March 22, 2012 5:13 PM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [Paraview] Assistance/Suggestion With Animating Relatively Small Datasets Over Many Timesteps<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp; &nbsp; &nbsp;This is my first experience posting to the ParaView Mailing List; as well as my first project I am exploring with ParaView. &nbsp;I hope I am posting this question to the correct audience.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp; &nbsp; &nbsp;I am attempting to create an animation of our Solar System - at an extremely high update interval - perhaps plotting the position and velocity of significant solar system bodies over 165 Earth
 years at</span> <br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">a one day interval. &nbsp;Initially I thought I would be able to work with CSV files to define a dataset which includes time, positional coordinates, and velocity vectors. &nbsp;While testing this approach
 I managed to use the TableToPoints filter to create a visualization of a sample dataset; but I was not able to sequence over the individual timesteps. &nbsp;So in effect you see all the positions a particular planet was at for the entire duration of the dataset.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I created a video of this test and made it available online:</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp; &nbsp; &nbsp;</span><a href="http://www.youtube.com/watch?v=XLPxx-2Zc9Q">http://www.youtube.com/watch?v=XLPxx-2Zc9Q</a>
<br>
<br>
&nbsp; &nbsp; &nbsp;Next I thought perhaps the CSV format was a little too general for what I needed, so I read the VTK file format document and migrated over to the XML VTK format. &nbsp;It seems like there is no way to define time sequenced data natively within the file format
 itself? &nbsp;ParaView expects the user to break the timesteps into individual files - with a numeric indicator in the filename to define the sequence. &nbsp;If I were to take this approach, I could be looking at creating nearly 500,000 individual files to represent
 the entire duration of time I'm interested in plotting. &nbsp;I feel like there must be a better way to do this.
<br>
<br>
&nbsp; &nbsp; &nbsp;As a small improvement I thought I could at least combine all of the unique solar system bodies (Earth, Sun, etc.), into a single timestep file such as this:
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (filename: timeseries_2455562.vtu) <br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&lt;?xml version=&quot;1.0&quot;?&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&lt;VTKFile type=&quot;UnstructuredGrid&quot; version=&quot;0.1&quot; byte_order=&quot;LittleEndian&quot; compressor=&quot;vtkZLibDataCompressor&quot;&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &lt;UnstructuredGrid&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &lt;Piece NumberOfPoints=&quot;2&quot; NumberOfCells=&quot;2&quot;&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;PointData Vectors=&quot;Velocity&quot; Scalars=&quot;Radius&quot;&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;Time&quot; type=&quot;Float32&quot; format=&quot;ascii&quot;&gt;2455562 2455562&lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;Radius&quot; type=&quot;Float32&quot; format=&quot;ascii&quot;&gt;6371 696000&lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;Velocity&quot; type=&quot;Float32&quot; NumberOfComponents=&quot;3&quot; format=&quot;ascii&quot;&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -2.982651603443954E&#43;01 -5.304542013817379E&#43;00 -7.226846229160870E-04</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 0 0</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;/PointData&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;Points&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray type=&quot;Float32&quot; NumberOfComponents=&quot;3&quot; format=&quot;ascii&quot;&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -2.567030301930377E&#43;07 1.448508985971261E&#43;08 -3.607762965630511E&#43;03</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 0 0</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;/Points&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;Cells&gt;</span> <br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;connectivity&quot; type=&quot;Int32&quot; format=&quot;ascii&quot;&gt;0 1&lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;offsets&quot; type=&quot;Int32&quot; format=&quot;ascii&quot;&gt;1 2&lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;DataArray Name=&quot;types&quot; type=&quot;UInt8&quot; format=&quot;ascii&quot;&gt;1 1&lt;/DataArray&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &nbsp; &lt;/Cells&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &nbsp; &lt;/Piece&gt;</span> <br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&nbsp; &lt;/UnstructuredGrid&gt;</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">&lt;/VTKFile&gt;</span> <br>
<br>
The idea of this approach was to list all of the scalars and vectors for each corresponding body in a single file. &nbsp;In this example the first listed scalar, vector, or coordinate point, is the Earth while the second set of values indicates the Sun's data. &nbsp;By
 combining the bodies into a single file I could reduce the 500,000 files required down to some 60,000 files....still undesirable but better.
<br>
<br>
However I would also like to segment the Points once inside the ParaView environment; so I can create a distinct pipeline for each body in the dataset. &nbsp;One application for this would be to allow different Glyph rendering rules for the Sun and the Earth so
 I can make the Sun...have a Sun texture - and the Earth an Earth texture. &nbsp; <br>
<br>
After experimenting with this for awhile I found myself trying to implement a Programmable Filter. &nbsp;The filter would take the Unstructured Grid for the given timestep, and given an index, extract the Point, Scalar, and Vector data from its input - then set
 only those values to the Output Unstructured Grid. &nbsp;I currently have a script that looks something like this:
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># CELLID 0 = EARTH</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">cellId = 0</span> <br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Obtain References To Input/Output Data</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">gridI = self.GetUnstructuredGridInput()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">gridO = self.GetUnstructuredGridOutput()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">dataI = self.GetInput()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">dataO = self.GetOutput()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">scalarI = dataI.GetPointData().GetScalars()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">vectorI = dataI.GetPointData().GetVectors()</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Initialize Local Storage Arrays</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newVector = vtk.vtkFloatArray()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newVector.SetName(vectorI.GetName())</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newVector.SetNumberOfComponents(3)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newScalar = vtk.vtkFloatArray()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newScalar.SetName(scalarI.GetName())</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newPoint = vtk.vtkPoints()</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newPoint.SetNumberOfPoints(1)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newCell = vtk.vtkCellArray()</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Lookup CellId References</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">idCell = gridI.GetCell(cellId)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">idCellType = gridI.GetCellType(cellId)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">idPoint = gridI.GetPoints().GetPoint(cellId)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">idScalar = scalarI.GetTuple(cellId)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">idVector = vectorI.GetTuple(cellId)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Populate New Local Cell Array with CellId Cell</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newCell.InsertNextCell(idCell)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Populate New Local Point Array With CellId Point</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newPoint.SetPoint(0, idPoint)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Populate New Local Scalars with CellId Scalar Tuples</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newScalar.InsertNextTuple(idScalar)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Populate New Local Vectors with CellID Vector Tuples</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">newVector.InsertNextTuple(idVector)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;"># Copy Local Cells, Scalars, Vectors, and Points Into Output Pipeline Data</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">gridO.SetPoints(newPoint)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">gridO.SetCells(idCellType, newCell)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">dataO.GetPointData().SetScalars(newScalar)</span>
<br>
<span style="font-size:10.0pt;font-family:&quot;Lucida Console&quot;">dataO.GetPointData().SetVectors(newVector)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">The filter does achieve the desired effect for the cellID 0 - but when I switch the value of cellID to 1 (which should refer to the Sun's index) ParaView crashes hard - where I assume I am missing
 something, possibly requesting something out of bounds in memory.</span> <br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">I've been struggling with this problem for a little while now and thought to share my progress here; hopefully there is somebody out there with a little more insight that could help guide me towards
 either a conclusion with this implementation or a suggestion for a better approach.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Essentially - How can one give ParaView Point and Velocity vectors over a vast sequence of time without creating potentially hundreds of thousands of files on disc? &nbsp;Does this Programmable Filter
 seem like a reasonable approach? &nbsp;Is there a native feature I am missing that does this already? &nbsp;Is there some other file format other than VTK I could use to have ParaView understand this format of data?</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Any thoughts, comments, or questions will be greatly appreciated. &nbsp;:)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Thanks,</span> <br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp; &nbsp; &nbsp;John</span> <o:p>
</o:p></p>
</div>
</EXCLAIMER:ORIGINAL_BODY_AFTER>
<p></p>
</EXCLAIMER:TEXT_ONLY></EXCLAIMER:AD></EXCLAIMER:AD>
<p></p>
</body>
</html>