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

Add error message when output has no chunks with parallel weights generation #304

Merged
merged 8 commits into from
Sep 18, 2023

Conversation

aulemahal
Copy link
Collaborator

Fix #299.

This simply raises a ValueError if ds_out doesn't have chunking information for all spatial dimensions.

@aulemahal aulemahal requested a review from huard September 11, 2023 15:06
@huard
Copy link
Contributor

huard commented Sep 11, 2023

Maybe a quick test to exercise the error catching ?

@huard huard merged commit 35a8727 into master Sep 18, 2023
@huard huard deleted the fix-299 branch September 18, 2023 18:35
raphaeldussin pushed a commit that referenced this pull request Feb 6, 2025
…eration (#304)

* Add error msg when no chunks in par=T

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix for locstreamout

* add simple test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: David Huard <[email protected]>
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.

xe.Regridder does not work when parallel is set to true
2 participants