Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60303 > unrolled thread
| Started by | Sudheer Joseph <sjo.india@gmail.com> |
|---|---|
| First post | 2013-11-23 06:29 -0800 |
| Last post | 2013-11-24 01:35 +1100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
finding masking boundary indices Sudheer Joseph <sjo.india@gmail.com> - 2013-11-23 06:29 -0800
Re: finding masking boundary indices Chris Angelico <rosuav@gmail.com> - 2013-11-24 01:35 +1100
| From | Sudheer Joseph <sjo.india@gmail.com> |
|---|---|
| Date | 2013-11-23 06:29 -0800 |
| Subject | finding masking boundary indices |
| Message-ID | <1496ebc4-11da-4963-834d-4917a19e266c@googlegroups.com> |
Hi,
I have a masked array like in the attached link, I wanted to find indices of the bounds where the mask is false ie in this case of depth file where there is depth less than shore. Is there a pythonic way of finding the boundary indices? please advice?
https://drive.google.com/file/d/0B3heUQNme7G5d2dYZzgxTG1NdG8/edit?usp=sharing
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-11-24 01:35 +1100 |
| Message-ID | <mailman.3087.1385217315.18130.python-list@python.org> |
| In reply to | #60303 |
On Sun, Nov 24, 2013 at 1:29 AM, Sudheer Joseph <sjo.india@gmail.com> wrote: > Hi, > I have a masked array like in the attached link, I wanted to find indices of the bounds where the mask is false ie in this case of depth file where there is depth less than shore. Is there a pythonic way of finding the boundary indices? please advice? > https://drive.google.com/file/d/0B3heUQNme7G5d2dYZzgxTG1NdG8/edit?usp=sharing First piece of advice: Don't post a link that requires that you share the file with us :) We can't see what you've posted there. Actually, just don't post a link at all, for preference; include your code right here in the mail, that's the most effective. Also: Please don't use Google Groups. It makes your posts ugly in the archive, as the lines are not wrapped, and it has some abysmal practices with regard to replies/follow-ups. There are better news clients around; alternatively, you can read and post on the mailing list python-list@python.org, which carries the same content. Here's the mailing list: https://mail.python.org/mailman/listinfo/python-list Beyond that, I can't really advise, as I have no idea what your code is doing :) ChrisA
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web