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

wip: feat: Multiband reader #3

Open
wants to merge 42 commits into
base: dev
Choose a base branch
from
Open

wip: feat: Multiband reader #3

wants to merge 42 commits into from

Conversation

wphyojpl
Copy link
Owner

@wphyojpl wphyojpl commented Jul 9, 2021

No description provided.

logger.debug(f'reading as banded grid as self.variable is a list. self.variable: {self.variable}')
if len(self.variable) < 1:
raise ValueError(f'list of variable is empty. Need at least 1 variable')
data_subset = [ds[k][type(self)._slices_for_variable(ds[k], dimensions_to_slices)] for k in self.variable]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wphyojpl doesn't that mean that variable is the first dimension ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or is it more like dictionary ?

@wphyojpl wphyojpl changed the title wip: Multiband reader wip: feat: Multiband reader Jul 23, 2021
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