# Re: Areal averaged sounding

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 6 Feb 2007 05:57:11 -0700 (MST)

Hi Jimmy,

It looks like nobody's responded to this, so I'm looking into
it. (I've been on vacation the last two weeks.)

We have a set of functions that will do this in NCL, and I'll see
if there's something we can do to get you those functions
in Python.

--Mary

On Wed, 31 Jan 2007 jimmyc_at_iastate.edu wrote:

> All-
> I am using WRF model data which has variables:
> T[time,level,x,y]
>
> If I want to take an areal average over a time interval, how might I do that?
>
> I tried to use Numeric.average:
> t = t[:,0:34,:,:]
> ! this statement averages over time
> repeating the above:
> t =t[0:34,:,:]
> #averages over vertical level!
>
> But I do not want it to do that.
> Is there any other way to compute an areal average leaving the vertical
> levels alone?
>
> --
> James Correia Jr.
> Ph.D. Candidate in Agricultural Meteorology
> Former President: ISU Graduate Meteorology Club
> Dept. of Agronomy, Iowa State University
> *********************************************
> Email: jimmyc_at_iastate.edu
> Phone: 515-294-9870
> Web: http://bruce.agron.iastate.edu/jimmyc/
> ISU GMC: http://www.stuorg.iastate.edu/gmc/
> *********************************************
> "There is a difference between knowing the path and walking the path"
> -"Morpheus"
>
> "Wisdom. Strength. Courage. Generosity. Each of us are born with one of
> these. We must find the other three inside of us."
> from "Into the West"
> _______________________________________________
> pyngl-talk mailing list
> pyngl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Tue Feb 06 2007 - 05:57:11 MST

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2007 - 11:53:11 MDT