<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Times New Roman","serif";
        color:windowtext}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<title></title>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="blue" vlink="purple">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><span lang="en-US"><font color="black" face="Tahoma" size="2"><span style="font-size:10pt;" dir="ltr">Hey Phil,<br>
You *might* be able to hack it with a combination of a Programmable Filter and a Python Annotation Filter.  Use the Programmable Filter to add a FieldData value to each time step that is a string with the appropriate date.  Then use the Python Annotation Filter
 to display the date as an annotation.<br>
<br>
The first part is the hard one.  The Programmable Filter could either (1) read the file once to get all the dates, or (2) compute the dates using the starting date, the time step value, and Python's datetime module.<br>
<br>
Thanks,<br>
Sean<br>
<br>
</span></font></span>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF627400"><font color="#000000" face="Tahoma" size="2"><b>From:</b> ParaView [paraview-bounces@paraview.org] on behalf of Scott, W Alan [wascott@sandia.gov]<br>
<b>Sent:</b> Wednesday, October 08, 2014 5:17 PM<br>
<b>To:</b> Phil Amburn; paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] [EXTERNAL] displaying simulation time rather than time step<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Phil,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have no idea how to put out what you are asking for, but it is a really good idea.  If you don’t get an answer, be sure to write up a bug report/ feature request.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Alan</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> ParaView [mailto:paraview-bounces@paraview.org]
<b>On Behalf Of </b>Phil Amburn<br>
<b>Sent:</b> Wednesday, October 08, 2014 3:26 PM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [EXTERNAL] [Paraview] displaying simulation time rather than time step</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"> </p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">I would like to do something similar to the Annotate Time filter, but rather than displaying the time step number, I need to display simulation
 date and time.</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">I have a text file with the actual simulation date and time associated with each time step.  Here are the first few lines of that file</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">Time step   Time step output, Actual time</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">0               0.00,           4/1/2013 15:00</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">1               65.83,          4/1/2013 15:01</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">2               125.88,         4/1/2013 15:02</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">3               201.00,         4/1/2013 15:03</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">4               268.65,         4/1/2013 15:04</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">5               328.83,         4/1/2013 15:05</span></p>
<p class="MsoNormal" style="margin-left:.5in; text-autospace:none"><span style="font-family:"Courier New"">6               366.46,         4/1/2013 15:06</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">…</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">So, rather than Time: 0 at the bottom of the 3D window, I’d like to have 4/1/2013 15:00</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">Any thoughts / recommendations on how to accomplish this task will be greatly appreciated.</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">Thanks,</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">Phil</span><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></p>
</div>
</div>
</div>
</div>
</body>
</html>