Hi
Can anyone think of a clever (non-lopping) solution to the following?

A have a list of latitudes, a list of longitudes, and list of data values.
All lists are the same length.

I want to compute an average  of data values for each lat/lon pair. e.g. if
lat[1001] lon[1001] = lat[2001] [lon [2001] then
data[1001] = (data[1001] + data[2001])/2

Looping is going to take wayyyy to long.

Mathew
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to