Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Mar 12, 2024
1 parent a3a8813 commit e854020
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions notebooks/wp4/extreme_temperature_indices.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,8 @@
"\n",
" ds = xr.open_mfdataset(paths)\n",
" in_files = f\"{tmpdir}/rechunked.zarr\"\n",
" ds.chunk({dim: -1 if dim == \"time\" else \"auto\" for dim in ds.dims}).to_zarr(\n",
" in_files\n",
" )\n",
" chunks = {dim: -1 if dim == \"time\" else \"auto\" for dim in ds.dims}\n",
" ds.chunk(chunks).to_zarr(in_files)\n",
"\n",
" datasets = [\n",
" icclim.index(\n",
Expand Down

0 comments on commit e854020

Please sign in to comment.