<HTML>
<HEAD>
<TITLE>Re: [Paraview] Csv files and time series</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Right now the csv file reader is only designed to read a single file at a time (the file browser naively groups them regardless). On solution around this is to write a python script to iteratively read the files. A better solution, IMHO, is to use the file series reader meta-reader to convert the csv reader to read file series as time series. This Wiki page explains how to do create the server manager XML for that, which can then be used in a ParaView plugin.<BR>
<BR>
<a href="http://www.paraview.org/Wiki/Restarted_Simulation_Readers#Collection_of_Files">http://www.paraview.org/Wiki/Restarted_Simulation_Readers#Collection_of_Files</a><BR>
<BR>
Here is a larger question for the group: <B>Should we change the CVS reader in ParaView to be a file series reader?<BR>
</B><BR>
-Ken<BR>
<BR>
<BR>
On 1/14/09 3:29 AM, "Francois Beaubert" <<a href="Francois.Beaubert@univ-valenciennes.fr">Francois.Beaubert@univ-valenciennes.fr</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
<BR>
I'm able to import some very simple csv file but can't animate them in time.<BR>
Say for example that I have a serie of csv files like this:<BR>
<BR>
file_1.csv<BR>
file_2.csv<BR>
file_3.csv<BR>
file_4.csv<BR>
<BR>
When I want to import them Paraview show them as a file series in the <BR>
open-file panel, import is ok but I can't animate them.<BR>
<BR>
Is animation not supported for those csv files ?<BR>
<BR>
How can I convert them to vtk file format ?<BR>
I know how to do this for 2d or 3D data set but not for simple 1D DATA <BR>
... don't find some good info on the last one<BR>
<BR>
Here is an example of one of my csv file where X is the spatial <BR>
coordinate, C the concentration of a scalar and U the magnitude of a <BR>
velocity<BR>
<BR>
X(m),C,U<BR>
0.20000000E+01, 0.69499998E+01, 0.57000003E+01<BR>
0.21000001E+01, 0.79500017E+01, 0.58000002E+01<BR>
0.22000000E+01, 0.89499998E+01, 0.59000001E+01<BR>
0.23000000E+01, 0.99499998E+01, 0.60000000E+01<BR>
0.24000001E+01, 0.10950001E+01, 0.60999999E+01<BR>
0.25000000E+01, 0.12000000E+01, 0.62000003E+01<BR>
0.26000001E+01, 0.11049998E+01, 0.63000002E+01<BR>
0.27000000E+01, 0.10050000E+01, 0.64000001E+01<BR>
0.28000000E+01, 0.90500002E+01, 0.65000000E+01<BR>
0.29000001E+01, 0.80499992E+01, 0.65999999E+01<BR>
0.30000000E+01, 0.70500002E+01, 0.67000003E+01<BR>
<BR>
Thank you for reading<BR>
Regards<BR>
<BR>
François<BR>
<BR>
<BR>
--<BR>
Ce message a été vérifié par MailScanner<BR>
pour des virus ou des polluriels et rien de<BR>
suspect n'a été trouvé.<BR>
<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>