[ncl-talk] get some variables from wrf output

Agud Pique, Enric eagud.q at ccma.cat
Tue May 24 13:41:50 MDT 2016


Hello kacie,

It helps! Now I get it

Best


De: Kacie Shourd [mailto:Kacie.Shourd at dri.edu]
Enviat: dimarts, 24 / maig / 2016 21:20
Per a: Agud Pique, Enric; ncl-talk at ucar.edu
Tema: RE: get some variables from wrf output

Hi, Enric!

Once you have pulled in your variable with wrf_user_getvar, you can then interpolate to a vertical level of your choosing. For example (assuming T2 is at all vertical levels… if not, you’re better off using the T values that are at every level):

T = wrf_user_getvar(a, “T”, 0.)
T850 = wrf_user_intrp3d(T, pressure, “h”, 850., 0., res)

Docs here: http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_intrp3d.shtml

Hope this helps,
Kacie

---
Kacie N. Shourd
드림

Graduate Research Assistant
Desert Research Institute
Kacie.Shourd at dri.edu<mailto:Kacie.Shourd at dri.edu>
Work: (775) 674-7049



From: ncl-talk-bounces at ucar.edu<mailto:ncl-talk-bounces at ucar.edu> [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Agud Pique, Enric
Sent: Tuesday, May 24, 2016 12:17 PM
To: ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
Subject: [ncl-talk] get some variables from wrf output

Hello people,

I would like to use wrf_user_getvar or another function in order to get from a wrf filet he following variables:

Temperature on 850 hPa-Level in ºC,
Geopotential height on 850 hPa-Level
Relative humidity on 850 hPa-Level

I know how to get the temperature on T2
T2 = wrf_user_getvar(a,"T2",0)
where a is the wrf file...but in 850hPa?

Thank you

PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160524/e567b426/attachment.html 


More information about the ncl-talk mailing list