[gradsusr] Pressure --> Height & Height --> Pressure

Jeffrey Duda jdduda at iastate.edu
Fri Oct 22 12:02:03 EDT 2010


try fndlvl(pressurevariableinmb,hgt0deg,1000,100)

Jeff Duda

On Thu, Oct 21, 2010 at 11:51 PM, Andrew Revering <andy at f5data.com> wrote:

>  let's say I want to know at what pressure level the variable hgt0deg is
> at… Is there a function that will return a pressure level given a known
> height? Likewise I'll eventually need to go the other way… knowing a
> pressure level return the height it is at.
>
>
>
> I tried pinterp.gs http://moe.met.fsu.edu/~rhart/software/pinterp.gs<http://moe.met.fsu.edu/%7Erhart/software/pinterp.gs>
>
> but I'm not sure that this is actually doing what I'm asking, unless I'm
> not understanding the input properly.
>
> Maybe someone can explain to me the difference between the pgrid and plev
> inputs in this function. Let's say I want to draw a map of temperatures at
> the 867mb level… what are my 3 inputs since it's
>
>
>
> temperature=pinterp(temp,pgrid,plev)
>
>
>
> I'm assuming pgrid or plev needs to be 867…but what's the other input for?
>
>
>
> What I'm picturing is something simple like….
>
> aheight = height(pressure)
>
>
>
> and
>
>
>
> apressure = pressure(height)
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101022/8eb5fabb/attachment-0003.html 


More information about the gradsusr mailing list