Re: time array

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Nov 09 2012 - 14:42:31 MST

Hi Kantave,

This method looks fine to me. The only thing you have to be careful of is that you are assigning the time values correctly.

Is there any time information on the individual files? Can you email me the "ncdump" output from two of the files?

Thanks,

--Mary

On Nov 8, 2012, at 9:41 AM, Kantave Greene wrote:

> Hello
>>
>> I am using ncl-6.1 on a ubuntu 10.04 x64 machine. I have a set of narr
>> 3hrly grib files for a given day. A given variable "temp" within the
>> narr data has dimensions [lev, lat, lon]. I want to add a forth
>> dimension "time". My approach has been to combine the 8 files for a
>> given day using join. "join" creates a new array that i label "time"
>> using temp!0 = "time". I create the time array values using the
>> function yyyymmddhh_time.
>> Is my approach wrong and is there a better way to do it?
>> Should I have added a time dimension before combining the files?
>>
>> My overall intention is to create daily averages from a years worth of
>> 3hrly narr data that do not have a time dimension.
>>
>
> --
> Kantave Greene
> Instructor
> Meteorology Department
> Jackson State University
> P.O. Box 17660
> Jackson, MS 39217
> (601) 979-1293
>
> _______________________________________________
> 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 Fri Nov 9 14:42:40 2012

This archive was generated by hypermail 2.1.8 : Tue Nov 13 2012 - 14:27:24 MST