[Thread Prev][Thread Next][Index]

Re: [ferret_users] Axis extremes



Hi David,

Thanks!

It works but still cannot solve the problem in the case when I want to
define a variable like c=a-b and plot c averaging during any period,
i.e.

let dLW=(tdt_lw[d=2]-tdt_lw[d=1])

!These commands works:

fill/z=500/l=1 dlw
 *** NOTE: Ambiguous coordinates on T axis: (TDT_LW[D=2]-TDT_LW[D=1])
fill/z=500 dlw[l=1]

!But these don't!

fill/z=500 dlw[l=@ave]
 **ERROR: illegal limits: TDT_LW is not in the range T=01-JAN-2040
18:00:31-DEC-2040 18:00
          Axis extremes are T=01-JAN-2000 18:00:31-DEC-2000 18:00
fill/z=500 dlw[l=1:12@ave]
 **ERROR: illegal limits: TDT_LW is not in the range T=01-JAN-2040
18:00:31-DEC-2040 18:00
          Axis extremes are T=01-JAN-2000 18:00:31-DEC-2000 18:00
fill/z=500 dlw[l=6:8@ave]
 **ERROR: illegal limits: TDT_LW is not in the range T=31-MAY-2040
18:00:31-AUG-2040 18:00
          Axis extremes are T=01-JAN-2000 18:00:31-DEC-2000 18:00

Many thanks again,
Tony

On Sat, 2010-08-21 at 09:03 -0400, David Wang wrote:
> Hi Tony,
> 
> One thing you can do is to explicitly set the time range, for example,
> 
> list var1[l=1:12@ave]-var2[l=1:12@ave]
> 
> David
> 
> Jian Ma wrote:
> > Hi All,
> >
> > When I do calculations among variables with different time axes, even if
> > I already set the time mean (l=@ave), ferret still don't allow because
> > the variables have different axis range. How to make this error silent?
> >
> > Currently I am using gt=@asn but feel it stupid and messy. Does anyone
> > have a better solution?
> >
> > Many thanks,
> > Tony
> >
> >    
> 



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement