[Wrf-users] Which QVAPOR values correspond to which Total Geopotential Height?

Kevin Matthew Nuss wrf at nusculus.com
Fri Sep 2 19:08:13 MDT 2011


Hi Erik,

The basic concept is that the "staggered" vertical grid is at the top and
bottom of each grid cell. Except for vertical wind, W, most variables are in
the vertical middle of the grid cell. So to get the height of the QVAPOR
variable, take the average of the top and bottom heights:

  height of QVAPOR in vertical cell n = ((PH(n)+PHB(n)) + (PH(n+1) +
PHB(n+1))) / 9.81

Of course, there are also the X and Y coordinates for the cell, but they are
the same for QVAPOR as for PH and PHB. If you then want QVAPOR "at a given
elevation" you will have to interpolate again from the two QVAPOR values
above and below the given elevation. So you interpolate PH and PHB to get
the vertical center of the cells and then interpolate to the "given
elevation." There are bound to be some algebraic shortcuts. And maybe
someone else will come up with a better approach.

Q2 has already been interpolated (more likely extrapolated) to the 2 meter
level for easy comparison to met station observations.

You didn't ask, but for the horizontally staggered grids, the U and V winds
are on the horizontal edges of the grid cell rather than in the middle, but
they are centered up and down, so they are at the same heights as QVAPOR.

Hope that helps,
Kevin

On Fri, Sep 2, 2011 at 2:02 PM, Erik Carlsten <ecarlste at gmail.com> wrote:

> Hi All,
>
> This is my first time using this mailing list so hopefully I give you the
> information you need to answer the question I have, providing you have the
> time to help.
>
> Currently I am running WRF and producing output just fine. The variables I
> am primarily interested in looking at right now are PH, PHB, and QVAPOR. I
> might also need Q2, but I am unsure yet due to my lack of overall
> understanding of the correlation between the staggered grid for elevation (
> ( PH + PHB ) / 9.81 ) and the non-staggered grid of QVAPOR.
>
> What I am trying to figure out is what the water vapor mixing ratio is at a
> given elevation. I am pulling the data straight out of the NetCDF files
> using C and Matlab, so I won't be using NCL at all for this.
>
> Can anyone explain with some detail on how I would determine which vertical
> layer of QVAPOR correlates to which vertical layer of "total geopotential
> height in meters"?
>
> Thanks very much for your time,
> Erik
>
> --
> Erik S. Carlsten              Cell: (406) 570-1547
> EPS 116                        Lab: (406) 994-6145
> Montana State University
> Bozeman, MT 59717
>
> ---------------------------------------------------------------
> There is a single light of science, and to
> brighten it anywhere is to brighten it
> everywhere.
>           - Isaac Asimov
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20110902/9f63a851/attachment.html 


More information about the Wrf-users mailing list