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

Added detection of "*" to enable opening of multi-file datasets. #395

Merged
merged 8 commits into from
Dec 1, 2021

Conversation

andersy005
Copy link
Member

@andersy005 andersy005 commented Nov 5, 2021

Change Summary

Supersedes #393. Cc @agstephens

Related issue number

Checklist

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

agstephens and others added 3 commits November 2, 2021 11:03
When `intake_esm.source._open_dataset()` is called, it now looks for
`"*"` in the path and it will choose to open the dataset with
`xarray.open_mfdataset()` instead of `xarray.open_dataset()`. This
allows intake records to specify a glob pattern rather than an exact
path.
@andersy005 andersy005 added the enhancement Issues that are found to be a reasonable candidate feature additions label Dec 1, 2021
@andersy005 andersy005 added this to the Winter 2021 Release milestone Dec 1, 2021
@andersy005 andersy005 merged commit 004f3b2 into main Dec 1, 2021
@andersy005 andersy005 deleted the agstephens/main branch December 1, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues that are found to be a reasonable candidate feature additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants