-
Notifications
You must be signed in to change notification settings - Fork 300
Replace dask "computes" with common call #2422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Offline discussion with @bjlittle revealed that this is now competing for usage with the former / possible-new-version "array_nans_to_masked". This approach assumes that we actually never want to realise without doing some further conversion (though that may mean just checking it has no NaNs). |
|
Couple of tests failing at present -- will address.... |
|
I wonder if we should consider an efficiency tweak here, to optionally skip the NaNs test altogether, if the caller "knows" that there can be no missing points. NOTE: I think that the use of What to you think @bjlittle ? |
|
I'm a little wary of this change, not against, just wary
this call has a few paths through it, based on entry criteria. I am a little concerned that calling this correctly in places like the PP loader are made more error prone I can see that the call to To help me understand please: is this change fixing identified functional problems or trying to maintain all current behaviour with a different code structure? |
|
I like this. Having a common way of calling |
|
Is this ready to be reviewed? If so the first thing that immediately jumps out is that you don't have any tests for |
This is based on the idea of reinstating a common "realisation" call in iris._lazy_data
AKA "as_concrete_data"
NOTE: not merge-ready
This is at the proof-of-principle / what-might-this-look-like stage
Even if adopted, it needs review to see if testing is adequate (and odd test fails fixing)
This version proposes to support both filled and masked results in one routine.
The rationale is that