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.

Israt246

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 (https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_getvar.shtml).
I am doing the following:
a = addfile("wrfout_d01_2000-01-24_12:00:00.nc","r")
ht=wrf_user_getvar(a,"z",0) ; full model height (m)
tk=wrf_user_getvar(a,"tk",0); Temperature in K
temp_1km=wrf_user_interp_level(tk,ht,1000,0)
; 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?
Best,
Israt
 
Hi,
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.
Best,
Israt
 
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.
 
Top