Skip to content

Commit

Permalink
fix call for zipped downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
RondeauG committed Nov 20, 2024
1 parent 6836d34 commit bd91a2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/notebooks/optimal_interpolation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
" pooch.Unzip(),\n",
" downloader=downloader,\n",
")\n",
"directory_to_extract_to = Path(test_data_path).parent\n",
"directory_to_extract_to = Path(test_data_path[0]).parent\n",
"\n",
"# Read-in all the files and set to paths that we can access later.\n",
"flow_obs_info_file = directory_to_extract_to / \"A20_HYDOBS_TEST_corrected.nc\"\n",
Expand Down
6 changes: 4 additions & 2 deletions docs/notebooks/pmp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@
")\n",
"\n",
"path_day_zarr = (\n",
" Path(path_day_zip).parent / \"CMIP.CCCma.CanESM5.historical.r1i1p1f1.day.gn.zarr\"\n",
" Path(path_day_zip[0]).parents[1]\n",
" / \"CMIP.CCCma.CanESM5.historical.r1i1p1f1.day.gn.zarr\"\n",
")\n",
"path_fx_zarr = (\n",
" Path(path_fx_zip).parent / \"CMIP.CCCma.CanESM5.historical.r1i1p1f1.fx.gn.zarr\"\n",
" Path(path_fx_zip[0]).parents[1]\n",
" / \"CMIP.CCCma.CanESM5.historical.r1i1p1f1.fx.gn.zarr\"\n",
")"
]
},
Expand Down

0 comments on commit bd91a2b

Please sign in to comment.