[Thread Prev][Thread Next][Index]
Re: pseudo-variables
And, I just thought of something else. You could also use
the RETURN keyword,
yes? use coads_climatology
yes? let imax = `sst,return=IEND`
!-> DEFINE VARIABLE imax = 180
See RETURN= in the users guide for a list of all the arguments
available for RETURN.
Ansley Manke wrote:
> Hi Ufuk,
> You first need to tell Ferret which data the pseudo-variable is
> to be taken from, with I[GX=var]. Then if you try to use the @MAX
> transformation to see its maximum, you will see an error message
> and a suggestion about how to get the maximum.
>
> yes? use coads_climatology
> yes? LIST I[GX=sst, I=@MAX]
> **ERROR: command syntax: cannot transform pseudo-variables: I=@MAX
> use DEFINE VARIABLE (e.g. DEF VAR ii=i) and transform that
>
> Define a new variable to be the pseudo-variable for the data. Now
> you can list its max.
>
> yes? LET ii = I[GX=sst]
> yes? LIST ii[I=@MAX]
> VARIABLE : I[GX=SST]
> DATA SET : COADS Monthly Climatology (1946-1989)
> FILENAME : coads_climatology.des
> FILEPATH : /home/ja9/tmap/fer_dsets/descr/
> LONGITUDE: 20E to 20E(380) (maximum)
> 180.0
>
> Ufuk Utku Turuncoglu wrote:
>
> > Hi,
> >
> > How can i find max and min value of pseudo-variables (I, J, K, and L) from an
> > data set.
> >
> > best regards,
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://webmail.students.itu.edu.tr/
--
Ansley Manke Pacific Marine Environmental Laboratory Seattle WA (206)526-6246
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement