<div dir="ltr">Dear All:<div>  I met a problem when I try to caculate the velocity potential according to function:uv2sfvpf.</div><div>  The u wind and v wind used in the study is the NCEP/NCAR reanalysis I monthly dataset, The 1000 hPa wind in 1948:1:1:0 is shown in Fiugre 1, and the corresponding stream function and velocity potential is shown in Figure 2 and 3.</div><div>   It is shown that in Figure 1, there is an anticyclone around the  Northwestern Pacific(marked as A in red), and the wind over Tibetan Plateau (marked as B in purple) is significantly divergence.</div><div>   Figure 2 shows the stream function calculated by the u and v wind in Figure 1. The positive and negative of stream function is in accordance with the cyclonic/anticyclonic center in Figure 1.</div><div>   However, the sign of velocity potential is incorrect( Figure 3).  The wind over Tibetan Plateau is significantly divergence(Figure 1, mark B) ,but the velocity potential over Tibetan Plateau(Figure 3, mark C) is negative ,which indicates the convergence circulation over this region.</div><div>  The result of velocity potential confused me ,and I can&#39;t find if there are mistakes in my ncl program. Looking forward to your kindly help.</div><div>  The ncl program is shown as follows:</div><div><br></div><div>begin<br></div><div><div>    f10<span class="" style="white-space:pre">        </span>= addfile(&quot;<a href="http://uwnd.mon.mean.nc">uwnd.mon.mean.nc</a>&quot;,&quot;r&quot;)</div><div><br></div><div><span class="" style="white-space:pre">        </span>uwnd = f10-&gt;uwnd(0:792,0:11,::-1,:)         ; latitude of NCEP reanalysis is 90:-90, so I reversed the latitude to meet the request of function: uv2sfvpf</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>print(uwnd&amp;lat)</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>f20<span class="" style="white-space:pre">        </span>= addfile(&quot;<a href="http://vwnd.mon.mean.nc">vwnd.mon.mean.nc</a>&quot;,&quot;r&quot;)</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>vwnd = f20-&gt;vwnd(0:792,0:11,::-1,:)</div><div><br></div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span>sf<span class="" style="white-space:pre">        </span>=<span class="" style="white-space:pre">        </span>new((/dimsizes(uwnd)/),float,uwnd@_FillValue)</div><div><span class="" style="white-space:pre">        </span>vp<span class="" style="white-space:pre">        </span>=<span class="" style="white-space:pre">        </span>new((/dimsizes(uwnd)/),float,uwnd@_FillValue)</div><div><br></div><div><span class="" style="white-space:pre">        </span>copy_VarCoords(uwnd,sf)</div><div><span class="" style="white-space:pre">        </span>copy_VarCoords(uwnd,vp)</div><div><span class="" style="white-space:pre">        </span>uv2sfvpf(uwnd,vwnd,sf,vp)</div></div><div><div>    system(&quot;rm -f &quot;+&quot;<a href="http://sf.nc">sf.nc</a>&quot;)</div><div><span class="" style="white-space:pre">        </span>f70=addfile(&quot;<a href="http://sf.nc">sf.nc</a>&quot;,&quot;c&quot;)</div><div><span class="" style="white-space:pre">        </span>f70-&gt;sf=sf</div><div>    system(&quot;rm -f &quot;+&quot;<a href="http://vp.nc">vp.nc</a>&quot;)</div><div>    f80=addfile(&quot;<a href="http://vp.nc">vp.nc</a>&quot;,&quot;c&quot;)</div><div><span class="" style="white-space:pre">        </span>f80-&gt;vp=vp</div></div><div>end<br></div><div><br></div><div><br></div><div><br></div><div><img src="cid:ii_153a96db39ec6fd6" alt="内嵌图片 1" width="544" height="364"><br></div><div>Figure 1. NCEP/NCAR reanalysis wind of 1000 hPa in 1948:1:1:0</div><div><img src="cid:ii_153a977f962382a2" alt="内嵌图片 2" width="544" height="333"><br></div><div>Figure 2. Stream Function obtained by function:uv2sfvpf, using the wind in Figure 1(1948:1:1:0).</div><div><img src="cid:ii_153a97ab14b656bf" alt="内嵌图片 3" width="544" height="330"><br></div><div>Figure 3. Velocity Potential obtained by function:uv2sfvpf, using the wind in Figure 1(1948:1:1:0).<br></div><div><br></div></div>