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

Allow fixed dimensions to not be chunked #77

Closed
forman opened this issue Mar 9, 2024 · 0 comments · Fixed by #79
Closed

Allow fixed dimensions to not be chunked #77

forman opened this issue Mar 9, 2024 · 0 comments · Fixed by #79
Assignees
Labels
enhancement New feature or request

Comments

@forman
Copy link
Member

forman commented Mar 9, 2024

Is your feature request related to a problem? Please describe.

There is currently no way to configure a dimension of a variable to not be chunked, except for the following two cases:

  1. Users know the size of a dimension in advance, so they configure chunks accordingly.
  2. Users know that a given slice dataset is not chunked in a given dimension, so they do not configure its chunks at all.

If the sizes of some fixed dimensions are unknown, e.g., their slice source uses a bbox parameter to spatially subset in x and y dimensions, this becomes an issue.

Describe the solution you'd like

Allow a chunk size to be None for a given dimension, which means, its chunk size equals its dimension size. This should only be allowed for fixed dimensions for obvious reasons.

@forman forman added the enhancement New feature or request label Mar 9, 2024
@forman forman self-assigned this Mar 9, 2024
@forman forman changed the title Force a fixed dimension to not be chunked Allow fixed dimensions to not be chunked Mar 9, 2024
forman added a commit that referenced this issue Mar 9, 2024
@forman forman mentioned this issue Mar 9, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant