Re: double to string

From: Scott Capps <scapps_at_nyahnyahspammersnyahnyah>
Date: Wed, 24 Jan 2007 13:27:15 -0800

I believe functions such as sprinti and sprintf will help you with this.

Scott

Ben Foster wrote:
> ncl-talk:
>
> Suppose I have an ncl double, read from a netcdf file, e.g. 2002030106
> i.e., yyyymmddhh, how do I convert this to a string so I can parse out
> the date and time to 6 hours on March 1, 2002? Thanks,
>
> --Ben
>
> -----------------------------------------------------------------------
> Ben Foster High Altitude Observatory (HAO)
> foster_at_ucar.edu phone: 303-497-1595 fax: 303-497-1589
> Nat. Center for Atmos. Res. P.O. Box 3000 Boulder CO 80307 USA
> -----------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> .
>
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jan 24 2007 - 14:27:15 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 05 2007 - 16:31:09 MST