Skip to content

Commit

Permalink
Update _episodes/20-parallel-raster-computations.md
Browse files Browse the repository at this point in the history
Co-authored-by: SarahAlidoost <[email protected]>
  • Loading branch information
fnattino and SarahAlidoost authored Mar 16, 2022
1 parent 0751340 commit c21572d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _episodes/20-parallel-raster-computations.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ visual = rioxarray.open_rasterio(visual_href, overview_level=0, lock=False, chun
{: .language-python}
Setting `lock=False` tells `rioxarray` that the individual data chunks can be loaded simultaneously from the source by
the Dask workers. We trigger the download of the data using the `.persist()` method. This makes sure that the downloaded
the Dask workers.
As the next step, we trigger the download of the data using the `.persist()` method, see below. This makes sure that the downloaded
chunks are stored in the form of a chunked Dask array (calling `.load()` would instead merge the chunks in a single
Numpy array).
Expand Down

0 comments on commit c21572d

Please sign in to comment.