There may be a simpler way, but you can do it with ut_inv_calendar and ut_string. See the attached example.<br><br>Hope you keep the sleet down there. We've had more than our fair share of winter here in NC!<br><br> Cheers,<br>
Carl<br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 11:45 AM, donna Cote <span dir="ltr"><<a href="mailto:d-cote@tamu.edu">d-cote@tamu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I could use help with this. It's sleeting outside and my brain seems to<br>
be just about as frozen as my car's windshield!<br>
<br>
I have a time stamp, in a string:<br>
<br>
Variable: timestring<br>
Type: string<br>
Total Size: 4 bytes<br>
1 values<br>
Number of Dimensions: 1<br>
Dimensions and sizes: [1]<br>
Coordinates:<br>
2010-06-01T00:00<br>
<br>
And I have a number of hours, which, in this example = 12<br>
<br>
(0) Variable Name: Time<br>
(0) 1 Dimensions:<br>
(0) 0) Time: 1<br>
(0) long_name: Elapse Time<br>
(0) units: hour<br>
(0) FORTRAN_format: i8<br>
(0) start: 2010-06-01 00:00:00<br>
(0) FORM: YYYY-MM-DD hh:mm:ss<br>
<br>
How do I get a timestamp created that will give me<br>
2010-06-01T12:00:00 (timestring + Time(0)) ??<br>
<br>
Thanks, Donna<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Carl J. Schreck III, PhD<br>Postdoctoral Research Associate<br>Cooperative Institute for Climate and Satellites (CICS-NC)<br>NOAA's National Climatic Data Center<br>151 Patton Avenue<br>
Asheville, NC 28801<br>Tel: 828-257-3140<br><a href="mailto:carl.schreck@noaa.gov" target="_blank">carl.schreck@noaa.gov</a><br><a href="http://www.atmos.albany.edu/student/carl/" target="_blank">http://www.atmos.albany.edu/student/carl/</a><br>