[Thread Prev][Thread Next][Index]

Re: time series in unix time



Dear ferreters,
i'm still a struggling new user:

i tried the following:
defining a coordinate variable - 


        int time(time) ;
                time:long_name = "Seconds since base_time" ;
                time:point_spacing = "even" ;
                time:time_origin = "28-JAN-1999:14:02:40" ;
                time:units = "sec" ;



Now i only have to say: 'PLOT variable' to come up with the correct axis.

i also had to change the variable that it count from 1 and not zero.

roelof

Steve Hankin wrote:
> 
> Hi Roelof,
> 
> Have you tried
>     yes? plot tdew[G=grida@ASN]
> as the message suggests?
> 
>     thanks - steve (of the Ferret team)
> 
> ===========
> 
> Roelof Burger wrote:
> 
> > Dear ferreters,
> > i'm a new user and can't find answers for my problem in the UserG or archive.
> > i've got variables:
> >
> >         int basetime(unit) ;
> >                 basetime:long_name = "Seconds since Jan 1,1970" ;
> >         float TTBR(time) ;
> >
> > where the time dimension is seconds since basetime.
> >
> > i want to regrid my variable (TTBR) so that the time axis will be displayed in
> > calender time.
> >
> > yes? define axis/T=1:5500:1/unit=sec/T0="28-JAN-1999:12:00" tax
> > yes? define grid/T=tax grida
> > yes? plot tdew[G=grida]
> >  **ERROR: regridding: only @ASN regridding between calendar and
> >           non-calendar axes: TDEW
> >
> > something like this, without the **ERROR
> >
> > or maybe there is unix time utilities in ferret?
> >
> > i'd appreciate help very much
> > stay well
> > roelof
> > --
> > Roelof Burger                  tel  : +27-58-303-5571
> > SAWB / Metsys                  fax  : +27-58-303-2352
> > P/Bag X15 Bethlehem 9700       email: roelof@metsys.ofs.gov.za
> > South Africa                   www  : http://metsys.ofs.gov/
> 
> --
> Steve Hankin
> NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
> ph. (206) 526-6080 -- FAX (206) 526-6744


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement