[ncl-talk] 3D variable output

Dennis Shea shea at ucar.edu
Fri Jun 26 07:12:31 MDT 2020


I hesitate to answer this question because it is not clear what is desired.

What version of NCL are you using?   Did you read the documentation for*
wrf_user_intrped *?
<http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml>
It states: This function is deprecated in NCL version 6.6.0. Use
*wrf_user_interp_level*
<http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_interp_level.shtml>
for horizontal interpolations and *wrf_user_vert_cross*
<http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_vert_cross.shtml>
for vertical cross sections.
----
I am not a WRF user and have never used the above functions.

----
[SNIP]
   ua = wrf_user_getvar(a,"ua",time)
   p  = wrf_user_getvar(a,"pressure",time) ; total pressure

; Horizontally interpolate to pressure coordinates ("p")

   pres!0 = "pres"            ; create vertical coordinate variable
   pres at units = "hPa"
   pres&pres = pres

   UA_X = wrf_user_intrp3d(ua,p,"h",pres,0.,False)   ; pre 6.6.0
   UA_X!0 =  "Time"
   UA_X!1 = "pres"
   UA_X&pres = pres
   printVarSummary(UA_X)
   printMinMax(UA_X,0)

On Wed, Jun 24, 2020 at 10:25 PM Mark Chan via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Dear NCL community,
>
> 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?
>
> Thank you very much in advance!!!
>
> Best regards,
> Mark
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200626/0fc4e8a0/attachment.html>


More information about the ncl-talk mailing list