Does anyone know how to use Maxloc ?

chunhua zhou chunhua at HAWAII.EDU
Tue Mar 14 21:33:07 EST 2006


Dear GrADS users,
I was trying to use maxloc function to get the lon/lat of the specific
variable over the specified dimension range but I couldn't get what I want.
-----
I use:
'd maxloc(maxloc(cc,lon=100,lon=200),lat=15,lat=25)'
--
and it came out:
MAXLOCing. dim=0,start=24,end=50
..
MAXLOCing. dim=0,start=24,end=50
result value =15
--
What I expected is the lon/lat of the max cc.

Does anyone know how to use this function or how to interprete it? Thank you
very much!
Kelly



More information about the gradsusr mailing list