Re: cd_inv_calendar

From: Virginie Hergault <virginie.hergault_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 25 2013 - 03:50:26 MDT

It works! Thank you!

I have another question:

I put in namelist.input:

history_interval = 10, 10, 10,

I would like to know how to get this data from WRF outputs to use it
in a ncl function.

Thank you again!
Virginie

2013/4/24, Mary Haley <haley@ucar.edu>:
> 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 Thu Apr 25 03:50:42 2013

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