本帖最后由 river 于 2013-5-5 13:38 编辑
转换nc文件格式这种问题没必要发帖来问吧,这应该是基础,实用手册上都有。如果是自己转换过程中出现问题再来提问比较合适。求最值是有官方函数的好哇,使用max函数
max()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.
expr - any valid GrADS expression
dim1 - the starting dimension expression
dim2 - the ending dimension expression
tinc - optional time increment
dim1 and dim2 are standard GrADS dimension expressions whose dimensions must match.
Usage Notes
- Related functions are: maxloc, min, and minloc.
These functions will only work with GrADS version 1.8 or later.
Examples- 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)
|