Bug or misunderstanding: full or half model pressure

231 views
Skip to first unread message

Xin Zhang

unread,
Jun 23, 2018, 11:33:12 PM6/23/18
to wrfpython-talk
Dear users,

wrf-python calculates pressure by adding perturbation pressure (P) and base state pressure (PB). Here's the link. It's described as 'Full Model Pressure'.
But, P and PB are pressure fields on half levels according to discussion_1 and discussion_2

How about the 'temp' variable? Is it half or full level?

By the way, I'm not familiar with the difference between half and full level. I appreciate it if anyone can explain or share link of it.

Best regards,
Xin

Bill Ladwig

unread,
Jun 27, 2018, 2:14:23 PM6/27/18
to Xin Zhang, wrfpython-talk
Hi Xin,

WRF uses an Arakawa C staggered grid. Try to imagine each cell as a square (or rectangle if you prefer). The mass grid is the center of the square ('half levels'), which is where fields like temperature and pressure are computed. Some fields like the u-wind use the 'X' grid, which is computed at the left and right side of the grid square. The v-wind is located on the bottom and top of the grid cell (staggered in "Y"). And some fields, like geopotential are computed at the vertical bottom and top of a vertical grid square (staggered in "Z"). Fields that are staggered have a '_stag' in one of their dimension names and also have a value for the 'stagger' attribute when looking at a WRF NetCDF file using ncdump. Staggered fields will have one additional grid point for the staggered dimension. Attached is an image to illustrate the grid types.

If you're using wrf-python, you generally don't have to worry because the 'getvar' routine will unstagger the staggered fields and compute everything on the mass grid (center of grid cell) as long as it's one of the computed variables here:   http://wrf-python.readthedocs.io/en/latest/diagnostics.html . The only exception is 'zstag', which has 'stag' in the title. The staggered variables are 'destaggered' by using simple averaging as part of the diagnostics computation.

Hope this helps,

Bill


--
You received this message because you are subscribed to the Google Groups "wrfpython-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-talk+unsubscribe@ucar.edu.
To post to this group, send email to wrfpyth...@ucar.edu.
Visit this group at https://groups.google.com/a/ucar.edu/group/wrfpython-talk/.

wrf_stagger.png

Xin Zhang

unread,
Jun 27, 2018, 9:53:32 PM6/27/18
to Bill Ladwig, wrfpython-talk
Hi Bill,

Thank you for your explanation of the mass grid. So, 'pressure' generated by wrf-python should be half level. Why the definition is full level not half level?

Thank you,
Xin

To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-tal...@ucar.edu.

Bill Ladwig

unread,
Jun 28, 2018, 11:35:46 AM6/28/18
to Xin Zhang, wrfpython-talk
Hi Xin,

"Full" in the docs was meant to indicate full three dimensional pressure, rather than full eta levels. I'll make a ticket to update the docs. 

Bill

To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-talk+unsubscribe@ucar.edu.
Reply all
Reply to author
Forward
0 new messages