- 积分
- 42918
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-8-28
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2014-11-4 19:24:26
|
显示全部楼层
列举出来也是没问题的吧,因为那个本来就是ctl的另一种写法啊。如果你的Z不是等高面或者等压面,那在最后插值的时候coll2gr里面不能用-u这个参数,应使用代表实际高度的那个数。
coll2gr()
This function creates a grid from a collection of station data. The syntax is:
coll2gr(cnum <,num>)
cnum collection number
num number of vertical levels in the output grid (default is 10)
If num is given as "-u", then the vertical levels will be a union of all the levels in the collection of station data.
Usage Notes
Before using coll2gr, you must create the collection of stations using the GrADS command collect.
coll2gr does not yet support time slices; currently, it will only work when the collection of stations is a collection of vertical profiles.
coll2gr produces an output grid that varies in X and Z; the dimension environment used when coll2gr is invoked must also be X and Z varying. The X axis of the output grid will contain the equally spaced station profiles and will span the range of the current X dimension environment. The Z axis of the output grid will span the range of the current Z dimension environment and will have either the specified number of levels or a union of the levels. Data points outside of the range of levels will be used for interpolating to within the range if appropriate.
The "-u" option will only work for data in pressure vertical coordinates. If your vertical coordinate is height, num should be the actual number of vertical levels in the collection of profiles.
See the section of the User's Guide on Arbitrary Cross Sections for more information. |
|