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

When reading multiple files, warn instead of raising on corrupted files. #29

Merged
merged 2 commits into from
Dec 26, 2024

Conversation

atrabattoni
Copy link
Contributor

This PR fixes #27

When reading multiple files with e.g.open_mfdataarray, if one file matching the given pattern was corrupted or coud not be openned as a data array for any reason, the entire process would fail and raise an Error. Now those functions only raise a warning for each file that could not be openned.

@atrabattoni atrabattoni added the enhancement New feature or request label Dec 26, 2024
@atrabattoni atrabattoni self-assigned this Dec 26, 2024
@atrabattoni atrabattoni merged commit d1ef449 into dev Dec 26, 2024
6 checks passed
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 this pull request may close these issues.

1 participant