[Thread Prev][Thread Next][Index]

Re: Misuse (?) of "MAX" command?



Thanks, Ansley!

> I'll bet the different T coordinates in the nested command
> are what's causing the trouble.  Ferret will try to put the data
> on one grid to evaluate the nested expression with all the max's.
> At the time the command is read, Ferret doesn't know that those
> are just scalars; i.e. they could have other dimensions, so a grid
> is created.
> 
> Maybe using grave accents on all the values that you know are
> scalar would force them to be evaluated as the command is parsed,
> and then there should be no trouble:
> 
> MAX(MAX(MAX(`MAX06`,`MAX07`),`MAX08`),`MAX09`)

The above did the trick. Now the plot looks nice!

--
/\        Gary Strand (303) 497-1336                               NCAR CG2260
  \_][    www.cgd.ucar.edu/ccr/strandwg                   3080 Center Green Dr
      \___strandwg@ucar.edu                      Boulder, Colorado, USA  80301


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement