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

Can we make cross-section over the surface from 0m to 200m with NCL

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.

Yonghang Xie

New member
Dear Sir or Miss

It is good to make a question here to do a better study for WRF.
While doing the post-process for a cross-section from the wrf_output, I used the wrf_CrossSection4.ncl. But, this script can not get the data over 0m to 200m near the surface layer. Maybe you all know that the surface layer analyzation is very important to the local environment and climate.
Therefore, does someone know there is an NCL script that can figure out this problem or make an explanation for us?
The attaching file is the result got by the wrf_CrossSection4.ncl.

That is all. Best wishes.

Yonghang Xie



  • plt_CrossSection4.000022.jpg
    260.8 KB · Views: 575
Hi Yonghang,

The data is not showing up because the function is not able to extrapolate below the ground. The script is plotting the actual model data. If you wish to extrapolate you can do so using this code:

    z_AGL = z
    dims = dimsizes(z)
    do k=0,dims(0)-1
      z_AGL(k,:,:) = z_AGL(k,:,:) - ter(:,:)
    end do