Hi there,

I have a big array (44 GB) I want to decimate.

But this array has a lot of NaN (only 1/3 has value, in fact, so 2/3 of 
NaN).

If I "basically" decimate it (a la NumPy, ie data[::nx, ::ny, ::nz], for 
instance), the decimated array will also have a lot of NaN.

What I would like to have in one cell of the decimated array is the 
nearest (for instance) value in the big array. This is what I call a 
"condensated array".

How could I do that, a la NumPy?

TIA.


Cheers,

-- 
Fred
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to