用NCL画垂直剖面图的时候,总是感觉水平方向上的矢量要比垂直方向上的大(垂直方向上已经乘上了-100),并且画出来的垂直方向总是与GRADS画的方向相反。如图1(NCL),图2(grads)。
这是NCL默认的设置。
The problem is that by default NCL maps the vector direction into the underlying coordinate space. This is good when drawing on a map projection, but for vertical plots where the two coordinate axes have different units that have very different numerical spacing between the coordinate values it leads to distortion. There is a simple fix, which is to set the resource vcMapDirection to False.
加上res@vcMapDirection = False这一设置之后,画的图与GRADS一样,垂直方向上只需乘上100即可。如图3.