爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: river

[图形美化] 任意两点间斜剖面做法总结【利用GRADS自带函数】

  [复制链接]

新浪微博达人勋

发表于 2015-12-16 10:00:00 | 显示全部楼层
BLUEANGEL2012 发表于 2015-12-16 09:58
我贴了错误的。。。直接贴的截图

捕获.PNG 果然没有
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-12-17 12:12:31 | 显示全部楼层

你看看你的数据是等压面的,还是实际高度的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-17 19:01:10 | 显示全部楼层
river 发表于 2015-12-17 12:12
你看看你的数据是等压面的,还是实际高度的

数据是地形追随高度的

ZDEF   20 LEVELS
50.00050       160.0016       300.0030       470.0047       680.0068
930.0092       1220.012       1570.016       1990.020       2500.025
3110.031       3840.038       4710.047       5760.057       7030.070
8540.085       10350.10       12530.12       15150.15       18290.18
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-12-17 20:27:46 | 显示全部楼层
BLUEANGEL2012 发表于 2015-12-17 19:01
数据是地形追随高度的

ZDEF   20 LEVELS

那你去看下官方文档吧,实际的高度的话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.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-17 21:54:55 | 显示全部楼层
river 发表于 2015-12-17 20:27
那你去看下官方文档吧,实际的高度的话coll2gr函数后面是不能用-u参数的,应该是实际层数。
coll2gr()
...

好的  非常谢谢您的提示
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-17 23:07:51 | 显示全部楼层
感谢分享
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2015-12-18 15:55:09 | 显示全部楼层
好东西,先收藏!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-21 20:20:35 | 显示全部楼层
感谢分享!!!
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

新浪微博达人勋

发表于 2015-12-23 20:14:29 | 显示全部楼层
真的不错!会成为经典的!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-23 22:09:51 | 显示全部楼层
威武霸气
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表