-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Added interface class for iris Cube datasets #624
Conversation
@@ -15,13 +15,23 @@ | |||
from .grid import GridInterface | |||
from .ndelement import NdElementInterface | |||
|
|||
datatypes = ['array', 'dictionary', 'grid', 'ndelement'] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this because you are considering setting datatypes with hv.core.data.datatypes = [ 'dictionary']
for example? Makes sense, for convenience but I would like to know if there was any another reason for moving it off the class itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I can populate it depending on the availability of the various data backends. Happy to change the way this is handled though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is perfectly fine - just seems more flexible this way.
8293694
to
84cb085
Compare
from holoviews.element.comparison import ComparisonTestCase | ||
|
||
class TestCube(ComparisonTestCase): | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Maybe we can get some people who are familiar with Iris tests to add some more of their own. :-)
Looks good! Happy to merge once the tests pass and you are happy with the number of tests for the time being. |
70f693f
to
7586589
Compare
7586589
to
5806223
Compare
Ready to merge, I think the push build is getting confused about the updated data, but the PR build passed. |
The pr build is the one that counts. Merging. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR adds an interface for iris Cube datasets to work with large out-of-memory datasets. The interface isn't entirely complete but supports all the basic functionality to work with such a dataset.
In future we can think about also implementing the
sample
andaggregate
methods but it should not hold up this PR.