Re: [Numpy-discussion] Getting masked array boundary indices

2013-11-27 Thread Sudheer Joseph
Thank you, Though it did not get what I expected it is a strong clue, let me explore it, With. Best regards Sudheer___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Getting masked array boundary indices

2013-11-27 Thread josef . pktd
On Wed, Nov 27, 2013 at 7:01 AM, Sudheer Joseph wrote: > Hi, >I have a numpy array which is masked ( bathymetry), as seen > below > > [ True] > [ True] > [ True] > [ True]], >fill_value = -.0) > > > In [10]: depth[:,1130:1131] > > I need to find the indices where l

[Numpy-discussion] Getting masked array boundary indices

2013-11-27 Thread Sudheer Joseph
Hi,    I have a numpy array which is masked ( bathymetry), as seen below  [ True]  [ True]  [ True]  [ True]],    fill_value = -.0) In [10]: depth[:,1130:1131] I need to find the indices where land(mask) is there along the boundaries and where water(value) is there along th