Skip to content
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

DiskArrays for CFVariable #9

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

tcarion
Copy link
Member

@tcarion tcarion commented Apr 14, 2023

As discussed in issue #8.
It currently requires the implementing modules to extend the Base.parent method for the Variables, that should return the reference to the underlying array. That makes sense for GRIBDatasets, but I don't think it will be that easy for NCDatasets... This PR is needed for GRIBDataset in Raster to work, but simultaneously, it breaks NCDatasets. So consider this PR has a shared experimentation for now :-)

@tcarion tcarion changed the title Make AbstractVariable an AbstractDiskArray DiskArrays for CFVariable Jun 8, 2023
@rafaqz
Copy link
Member

rafaqz commented Jun 8, 2023

Why is it hard to extend Base.parent? Cant you just return the variable itself? Thats what e.g. Array does.

@tcarion
Copy link
Member Author

tcarion commented Jun 8, 2023

This Base.parent issue is not relevant anymore (tbh, I can't remember what the problem was at that time :-) )

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.

2 participants