用NCL画垂直剖面图的时候,总是感觉水平方向上的矢量要比垂直方向上的大(垂直方向上已经乘上了-100),并且画出来的垂直方向总是与GRADS画的方向相反。如图1(NCL),图2(grads)。
data:text/html;charset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(51%2C%2051%2C%2051)%3B%20fontfamily%3A%20Tahoma%2C%20'Mic…1/3
2015/4/16关于NCL画垂直剖面图编程作图气象家园_气象人自己的家园
这是NCL默认的设置。
The problem is that by default NCL maps the vector direction into the underlying coordinate space. This isgood when drawing on a map projection, but for vertical plots where the two coordinate axes havedifferent units that have very different numerical spacing between the coordinate values it leads todistortion. There is a simple fix, which is to set the resource vcMapDirection to False.
加上res@vcMapDirection = False这一设置之后,画的图与GRADS一样,垂直方向上只需乘上100即可。如图3.
data:text/html;charset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(51%2C%2051%2C%2051)%3B%20fontfamily%3A%20Tahoma%2C%20'Mic…2/3
2015/4/16关于NCL画垂直剖面图编程作图气象家园_气象人自己的家园
data:text/html;charset=utf8,%3Cspan%20style%3D%22color%3A%20rgb(51%2C%2051%2C%2051)%3B%20fontfamily%3A%20Tahoma%2C%20'Mic…3/3
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- sceh.cn 版权所有 湘ICP备2023017654号-4
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务