Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ensure fsspec storage options are propagated to xr.open_dataset #453

Merged
merged 7 commits into from
Mar 11, 2022

Conversation

jukent
Copy link
Collaborator

@jukent jukent commented Mar 10, 2022

Change Summary

Fix bug that replaces storage options kwarg with an empty dictionary. Done with @andersy005

Related issue number

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable

@jukent jukent marked this pull request as ready for review March 11, 2022 00:07
@jukent jukent requested a review from andersy005 as a code owner March 11, 2022 00:07
@jukent
Copy link
Collaborator Author

jukent commented Mar 11, 2022

Should we add a test that makes sure the 'storage_options` kwarg is maintained?

@andersy005
Copy link
Member

Should we add a test that makes sure the 'storage_options` kwarg is maintained?

👍🏽 Let's add a simple test in https://github.com/intake/intake-esm/blob/main/tests/test_source.py

@jukent
Copy link
Collaborator Author

jukent commented Mar 11, 2022

👍🏽 Let's add a simple test in https://github.com/intake/intake-esm/blob/main/tests/test_source.py

SImple test added!

Copy link
Member

@andersy005 andersy005 left a comment

Choose a reason for hiding this comment

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

Thank you, @jukent!

@andersy005 andersy005 changed the title Storage options Ensure fsspec storage options are propagated to xr.open_dataset Mar 11, 2022
@andersy005 andersy005 merged commit 364ead3 into intake:main Mar 11, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants