Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize wildcard paths in open_mfdataset.
Browse files Browse the repository at this point in the history
juseg committed Jan 12, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 81ed507 commit e378dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/backends/api.py
Original file line number Diff line number Diff line change
@@ -887,7 +887,7 @@ def open_mfdataset(
paths
)
)
paths = sorted(glob(paths))
paths = sorted(glob(_normalize_path(paths)))
else:
paths = [str(p) if isinstance(p, Path) else p for p in paths]

0 comments on commit e378dbc

Please sign in to comment.