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

Home » Public Forums » archive » Re: NCEP Reanalysis Temperature Data Problem
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: NCEP Reanalysis Temperature Data Problem [message #56501 is a reply to message #56492] Thu, 25 October 2007 11:42 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Oct 25, 2:33 pm, David Fanning <da...@dfanning.com> wrote:
> Folks,
>
> OK, just so we are all on the same page here. The time data
> in this NetCDF file is in hours since 1 January 0001. (Strange,
> but true.) BUT, here is the thing, you are not *suppose*
> to worry about that. What you are suppose to worry about
> is the time *difference*.
>
> So, in this data set, if I subtract time[1]-time[0]
> I should have the number of hours between the two
> measurements. If I divide by 24, I should get the number
> of days:
>
> IDL> Print, (time[1]-time[0]) / 24
> 31
>
> In fact, if I do this:
>
> IDL> Print, (Shift(time,1) - time) / 24
>
> I get a comforting series of 31s and 30s, with the occational
> 28 thrown in there to give me hope!
>
> So, all appears to be well in the Universe again. :-)
>
> Thanks for everyone's help.
>

All this help was, ehem, timely?

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget Tables Sizes Variable in Two Dimensions
Next Topic: Using SYMCAT with LEGEND

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

Current Time: Fri Oct 10 18:18:20 PDT 2025

Total time taken to generate the page: 1.28209 seconds