Re: NCEP Reanalysis Temperature Data Problem [message #56501 is a reply to message #56492] |
Thu, 25 October 2007 11:42   |
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
|
|
|