Skip to content

Conversation

@rhattersley
Copy link
Member

Doing data.mask = True is surprisingly slow ... so this PR avoids it. Happy days.

(The corresponding patch to NumPy is numpy/numpy#2760.)

@pelson
Copy link
Member

pelson commented Nov 22, 2012

👍

@ghost ghost assigned pp-mo Nov 22, 2012
@bjlittle
Copy link
Member

You could also patch https://github.com/SciTools/iris/blob/master/lib/iris/_merge.py#L1153, which has the same problem.

@rhattersley
Copy link
Member Author

Thanks for the top-tip @bjlittle :-)

@rhattersley
Copy link
Member Author

Hi @pp-mo - I've tweaked things as discussed, so I think this is now good to go.

@pp-mo
Copy link
Member

pp-mo commented Nov 27, 2012

Hi @rhattersley
Looking nice !
👍

@rhattersley
Copy link
Member Author

Thanks @pp-mo - please merge when you've had time to run the merged tests.

@pp-mo
Copy link
Member

pp-mo commented Nov 28, 2012

All tested ok
-- but it needs 'mock' of course

pp-mo added a commit that referenced this pull request Nov 28, 2012
Faster masked array creation in DataManager.
@pp-mo pp-mo merged commit 683b972 into SciTools:master Nov 28, 2012
@rhattersley
Copy link
Member Author

All tested ok
-- but it needs 'mock' of course

Indeed it does. That was brought in with #210.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants