<div dir="ltr"><div>Sorry, there is no NCL function to derive the divergent components of the wind from the divergence. <br></div><div>As you note, only for global grids.<br></div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/wind.shtml"><b>https://www.ncl.ucar.edu/Applications/wind.shtml</b></a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 1, 2020 at 8:26 AM Barry Lynn via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello:<div><br></div><div>If you are using WRF output, why not just use the u,v fields from WRF itself?</div><div><br></div><div>Perhaps I don't understand your question.</div><div><br></div><div>Barry</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 1, 2020 at 4:44 PM Pei, Lisi via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Hi there,
<div><br>
</div>
<div>As the function uv2dv_cfd can give the divergence field for a regional data at fixed grid, I am wondering if there is a function similar to dv2uvf (this function only works for global grids) that can generate the u, and v component for the divergence
 derived from uv2dv_cfd. There seem to be a lot built-in function similar to dv2uvf (e.g. <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/dv2uvF_Wrap.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank"><strong style="margin:0px;padding:0px">dv2uvF_Wrap</strong></a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;background-color:rgb(255,255,255)">, </span><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/dv2uvG-1.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank"><strong style="margin:0px;padding:0px">dv2uvG</strong></a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;background-color:rgb(255,255,255)">, </span><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/dv2uvg.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px" target="_blank"><strong style="margin:0px;padding:0px">dv2uvg</strong></a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;background-color:rgb(255,255,255)">, </span><strong style="margin:0px;padding:0px;text-decoration:none;font-family:verdana,sans-serif;font-size:13.3333px"><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/uv2dvF-1.shtml" style="color:rgb(133,45,133);margin:0px;padding:0px;text-decoration:none;font-family:verdana,sans-serif;font-size:13.3333px" target="_blank">uv2dvF</a></strong>)
 but none of them would suite a regional grid such as WRF outputs. If I am not missing anything, would anybody be able to share an efficient way to calculate the u and v component of a 2-D divergence field at pressure level by NCL?</div>
<div><br>
</div>
<div>Thanks for any help in advance.</div>
<div><br>
</div>
<div>Best,</div>
<div>Lisi</div>
<div><br>
</div>
</div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>