Skip to content

Commit

Permalink
Merge pull request #61 from andrewbrettin/patch-1
Browse files Browse the repository at this point in the history
Update tutorial.ipynb
  • Loading branch information
rabernat committed Nov 11, 2020
2 parents fcc5178 + 3acbd8d commit 17053cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
"target_store = 'air_rechunked.zarr'\n",
"temp_store = 'air_rechunked-tmp.zarr'\n",
"\n",
"array_plan = rechunk(source_array, target_chunks, max_mem, target_store, temp_store)\n",
"array_plan = rechunk(source_array, target_chunks, max_mem, target_store, temp_store=temp_store)\n",
"array_plan"
]
},
Expand Down Expand Up @@ -601,7 +601,7 @@
"\n",
"# need to remove the existing stores or it won't work\n",
"!rm -rf air_rechunked.zarr air_rechunked-tmp.zarr\n",
"array_plan = rechunk(source_array, target_chunks_dict, max_mem, target_store, temp_store)\n",
"array_plan = rechunk(source_array, target_chunks_dict, max_mem, target_store, temp_store=temp_store)\n",
"array_plan"
]
},
Expand Down Expand Up @@ -989,7 +989,7 @@
"target_store = 'group_rechunked.zarr'\n",
"temp_store = 'group_rechunked-tmp.zarr'\n",
"\n",
"array_plan = rechunk(source_group, target_chunks, max_mem, target_store, temp_store)\n",
"array_plan = rechunk(source_group, target_chunks, max_mem, target_store, temp_store=temp_store)\n",
"array_plan"
]
},
Expand Down Expand Up @@ -1356,7 +1356,7 @@
"store_tmp = gcs.get_mapper('pangeo-scratch/rabernat/rechunker_demo/temp.zarr')\n",
"store_target = gcs.get_mapper('pangeo-scratch/rabernat/rechunker_demo/target.zarr')\n",
"r = rechunk(source_array, target_chunks, max_mem,\n",
" store_target, store_tmp)\n",
" store_target, temp_store=store_tmp)\n",
"r"
]
},
Expand Down

0 comments on commit 17053cc

Please sign in to comment.