html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/5377#issuecomment-848882892,https://api.github.com/repos/pydata/xarray/issues/5377,848882892,MDEyOklzc3VlQ29tbWVudDg0ODg4Mjg5Mg==,1217238,2021-05-26T15:41:15Z,2021-05-26T15:41:15Z,MEMBER,"thanks for the report! for those who don't want to click ""download"", here's the short patch: ```patch --- xarray/tutorial.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/xarray/tutorial.py +++ b/xarray/tutorial.py @@ -139,7 +139,10 @@ def open_dataset( url = f""{base_url}/raw/{version}/{path.name}"" # retrieve the file - filepath = pooch.retrieve(url=url, known_hash=None, path=cache_dir) + fname = pathlib.Path(cache_dir, path).expanduser() + if not fname.exists(): + fname = None + filepath = pooch.retrieve(url=url, fname=fname, known_hash=None, path=cache_dir) ds = _open_dataset(filepath, engine=engine, **kws) if not cache: ds = ds.load() ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,902031342