max(expr, dim1, dim2 <,tinc>)

Returns the maximum of expr over the specified dimension range. If the specified dimension is time, an optional time increment tincr may be specified.

dim1 and dim2 are standard GrADS dimension expressions whose dimensions must match.

Usage Notes

  1. Related functions are: maxloc, min, and minloc.
    These functions will only work with GrADS version 1.8 or later.


  1. To calculate the maximum value of the precip variable over the lon-lat domain, use nested max functions:

    d max(max(precip,lon=0,lon=360),lat=-90,lat=90)