<div dir="ltr">Great that you figure it out.<div><br><div>Indeed the older readers did not care about the version. With the newer readers we had to check the version to deal properly with ghosts.</div><div><br></div><div>Dan</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 12:58 PM, Fastl, Thomas <span dir="ltr"><<a href="mailto:thomas.fastl@kcl.ac.uk" target="_blank">thomas.fastl@kcl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:10pt;color:#000000;background-color:#ffffff;font-family:Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>I'm really sorry for the confusion: When writing a file using ParaView I obtain 4.0 in the header, but I had a script to generate file from Matlab and for some reason I wrote 4.2 in the header of all my files. This didn't cause any problems with an older
version of ParaView 4.2.0, but throws a warning in ParaView 5.0.0. Problem solved and sorry again, that was unnecessary....!</p>
<p><br>
</p>
<p>Best, Thomas</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>><br>
<b>Sent:</b> Thursday, February 4, 2016 4:43 PM<br>
<b>To:</b> Berk Geveci<br>
<b>Cc:</b> Cory Quammen; Fastl, Thomas; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Warning about Version while Reading File</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hi Thomas,
<div>I am surprised that version 4.2 gets in the file. In our last upgrade to the file format we increased the version from 3.0 to 4.0.</div>
<div>So format 4.2 is not out yet. I wonder if Paraview writes that.</div>
<div><br>
</div>
<div>How did you generate the file?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Dan</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 4, 2016 at 11:20 AM, Berk Geveci <span dir="ltr">
<<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Actually, we changed how the ghost levels are handled and had to update the format accordingly. It may be related to that. Dan would know more.
<div><br>
</div>
<div>Best,</div>
<div>-berk</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 4, 2016 at 11:00 AM, Cory Quammen <span dir="ltr">
<<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thomas,<br>
<br>
I'm surprised your file didn't cause a complaint in ParaView 4.2. The<br>
legacy VTK file reader in VTK hasn't changed in quite some years. What<br>
software writes your VTK file? If it were written with VTK (perhaps by<br>
way of ParaView), the file version number should be 4.2.<br>
<br>
By the way, this shouldn't be a problem other than annoying you with<br>
the warning message.<br>
<br>
Cory<br>
<div>
<div><br>
On Thu, Feb 4, 2016 at 8:31 AM, Fastl, Thomas <<a href="mailto:thomas.fastl@kcl.ac.uk" title="mailto:thomas.fastl@kcl.ac.uk
Ctrl+Click or tap to follow the link" target="_blank">thomas.fastl@kcl.ac.uk</a>> wrote:<br>
> Hello Community,<br>
><br>
><br>
> I just installed ParaView 5.0.0 and loaded a vtk-file which worked under<br>
> ParaView 4.2.0! Doing so I receive the warning 'Reading file version: 4.2<br>
> with older reader version 4.0', suggesting that an outdated vtk version is<br>
> used to read the file. I should mention that changing the header line in the<br>
> vtk-file from '# vtk DataFile Version 4.2' to '# vtk DataFile Version 4.2'<br>
> does the trick, however, I don't understand why ParaView complains? I read<br>
> that ParaView uses it's own vtk version which seems to be 7.1.0 (see below),<br>
> so why this warning? Is there anything else I can can do to fix that or is<br>
> this a bug in ParaView? Thanks!<br>
><br>
><br>
> from __future__import print_function<br>
><br>
> import vtk<br>
><br>
> print(vtk.vtkVersion.GetVTKSourceVersion())<br>
><br>
><br>
> Best wishes, Thomas<br>
><br>
><br>
><br>
</div>
</div>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">
http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
<br>
<br>
<br>
--<br>
Cory Quammen<br>
R&D Engineer<br>
Kitware, Inc.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div>