<html><head></head><body><div class="ydp58bbd9e7yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_3794424145" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, June 26, 2020, 9:12:43 PM GMT+8, Dennis Shea <shea@ucar.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv2584396689"><div><div dir="ltr"><div>I hesitate to answer this question because it is not clear what is desired. <br clear="none"></div><div><br clear="none"></div><div>What version of NCL are you using? Did you read the documentation for<a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml"><b> wrf_user_intrped </b>?</a><br clear="none"></div><div>It states: <font color="red">This function is deprecated in NCL version
6.6.0</font>.
Use <a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_interp_level.shtml"><b>wrf_user_interp_level</b></a> for
horizontal interpolations and
<a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_vert_cross.shtml"><b>wrf_user_vert_cross</b></a> for vertical
cross sections. <br clear="none"></div><div>---- <br clear="none"></div><div>I am not a WRF user and have never used the above functions.</div><div><br clear="none"></div><div>----</div><div>[SNIP]<br clear="none"></div><div> ua = wrf_user_getvar(a,"ua",time)<br clear="none"> p = wrf_user_getvar(a,"pressure",time) ; total pressure<br clear="none"><br clear="none">; Horizontally interpolate to pressure coordinates ("p")<br clear="none"> <br clear="none"> pres!0 = "pres" ; create vertical coordinate variable<br clear="none"> pres@units = "hPa"<br clear="none"> pres&pres = pres<br clear="none"><br clear="none"> UA_X = wrf_user_intrp3d(ua,p,"h",pres,0.,False) ; pre 6.6.0<br clear="none"> UA_X!0 = "Time"<br clear="none"> UA_X!1 = "pres"<br clear="none"> UA_X&pres = pres<br clear="none"> printVarSummary(UA_X)<br clear="none"> printMinMax(UA_X,0)</div></div><br clear="none"><div class="yiv2584396689gmail_quote"><div class="yiv2584396689yqt8882904186" id="yiv2584396689yqt05244"><div class="yiv2584396689gmail_attr" dir="ltr">On Wed, Jun 24, 2020 at 10:25 PM Mark Chan via ncl-talk <<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@mailman.ucar.edu" target="_blank" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br clear="none"></div><blockquote class="yiv2584396689gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr">Dear NCL community,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">The attached file is an NCL script, which is used to generate 3D u-wind based on WRF output. However, the u-wind at different pressure level has different name as U500, U850 etc, and the "Level" always shows "0". Can one modify the script so that the u-wind variables has the same name "U", but with "Level" info to show the pressure level?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thank you very much in advance!!!</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Best regards,</div><div dir="ltr">Mark</div></div></div>_______________________________________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@mailman.ucar.edu" target="_blank" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div></div></div></div>
</div>
</div></body></html>