Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Interpolate temperature at a specific height above ground level

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Dear WRF users,
I am pretty new to WRF and would very much appreciate your help. I need to calculate temperature at 1000 m above ground level from WRF output. I am using the NCL function "wrf_user_getvar". This function can extract data from WRF files and calculate some diagnostics. One of the available diagnostics is "z/height" which is labeled as the "full model height in m" in this NCL site (
I am doing the following:
a = addfile("","r")
ht=wrf_user_getvar(a,"z",0) ; full model height (m)
tk=wrf_user_getvar(a,"tk",0); Temperature in K
; interpolate temperature at 1 km

But I am confused if "wrf_user_getvar" measures z from ground level or sea level. I need temperature at 1000 m above ground level, not sea level.
Can anybody please tell me if my approach is correct?
Could anyone please shed light to my question? I posted the same question to NCL forum and they said wrf_user_getvar was developed by WRF and I should post it in WRF forum.
Any help would be much appreciated.
This post has been moved to the NCL section of the WRF forum. Someone will hopefully respond to your question soon. I apologize for the delay. Many of us have been out of the office at conferences and for the holidays.