comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how can you convert CMIP5 model output time ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how can you convert CMIP5 model output time ? [message #89110 is a reply to message #89096] Thu, 24 July 2014 17:00 Go to previous messageGo to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
On Thursday, July 24, 2014 4:44:45 AM UTC-4, Fabien wrote:
> On 24.07.2014 02:37, siumtesfai@gmail.com wrote:
>
>> Any solution about how to handle the time array in CMIP5 model daily output.
>
>
>
> You answered your own question by printing the variable's attributes:
>
>
>
> double time(time) ;
>
> time:bounds = "time_bnds" ;
>
> time:units = "days since 1850-01-01 00:00:00" ;
>
>
>
> And Michael gave you the "formula" to use.
>
>
>
> So, what did you try and why didn't it work as expected?

Yes I tried

time=time+julday(1850,1,1,0,0,0)
Caldat,month,year,day

It did not work for me.

I should be able to see time ranging from Jan 1850 to Dec 2005 ( 1872 months). I can create my own time ( time=findgen(1872)/12. + 1850)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Locating desired values in an array.
Next Topic: writing a variable in a netcdf 4 with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:12:10 PDT 2025

Total time taken to generate the page: 0.00458 seconds