Re: [idvusers] Help with Averaging NexRad scans over time.

The "angles" are the azimuth angles that Don Murray mentioned.  Since
each time might have a different structure (as Don said, one starting
at 170 degrees and the next at 176), you may have difficulties with
the resampling.

The "rule" for resampling when combining data is this:  The coordinate
system of the result will be the coordinate system of the first-named
variable.  These means that when summing up using that little code
snippet, an attempt will be made to resample all the data to the
coordinates of "g[0]".

Good luck....

tom

On Dec 6, 2007 11:39 AM, Ben Kamen <bkamen@xxxxxxxxxxxxx> wrote:
> I'm only selecting one angle at a time. I'm happy to work with
> 0.5 and 1.5' separately. I'll see how this works for me.
>
> Thanks a bunch!
>
> Tom Whittaker wrote:
> > Ben:
> >
> > Sorry, got my languages mixed.  Probably should say "  for k in g:  "
> > Looking at other routines in the library, though, I see most of them opt to
> > treat "g" explilcitly as a list -- so to follow that pattern  you would say:
> >
> >   sum = 0.0
> >   for k in xrange(len(g)):
> >      sum = g[k] + sum;
> >
> > Based on Don's note, though, it looks like there might be some
> > sampling issues because of the different angles, though.....
>
>
> --
> Ben Kamen - O.D.T., S.P.
> =============================================================================
> Email: bkamen AT benjammin DOT net              Web: http://www.benjammin.net
>
> As seen somewhere on the net: My other computer is your Windows Server.
>
> _______________________________________________
> idvusers mailing list
> idvusers@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>



-- 
Tom Whittaker
University of Wisconsin-Madison
Space Science & Engineering Center (SSEC)
Cooperative Institute for Meteorological Satellite Studies (CIMSS)
1225 W. Dayton Street
Madison, WI  53706  USA
ph: +1 608 262 2759