Re: cd_inv_calendar

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 24 2013 - 12:56:19 MDT

Try:

units = "minutes since " + times(0)

The "+" here serves as a string concatenator.

--Mary

On Apr 24, 2013, at 10:58 AM, Virginie Hergault <virginie.hergault@gmail.com> wrote:

> Hi all,
>
> I would to know how to get the duration between the first time of the
> wrf output (times(0)) and a fixed time.
>
> I tried to put:
>
> units = "minutes since times(0)"
> date = cd_inv_calendar(2004,03,15,00,00,00,units,0)
>
> In my case, times(0)=2004-03-14_00:00:00
>
> But I have this error:
> CDMS error: Error on character time conversion, string = times(0)
>
> Do you have a solution?
>
> Thanks!
> Virginie
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 24 12:56:28 2013

This archive was generated by hypermail 2.1.8 : Fri Apr 26 2013 - 17:10:25 MDT