Skip to content

Commit

Permalink
DOC:example: Update caching referenced in raster writing example
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Apr 2, 2024
1 parent f0f4efc commit 2391dd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/examples/convert_to_raster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,10 @@
"\n",
"Note: This will increase the time it takes to generate the raster.\n",
"\n",
"Also see: [Reading and Writing with Dask](dask_read_write.ipynb)"
"Also see:\n",
"\n",
"- [Reading and Writing with Dask](dask_read_write.ipynb)\n",
"- [Reading COGs in Parallel](read-locks.ipynb)"
]
},
{
Expand All @@ -621,6 +624,7 @@
"source": [
"rds = rioxarray.open_rasterio(\n",
" \"../../test/test_data/input/PLANET_SCOPE_3D.nc\",\n",
" lock=False, # disable internal caching\n",
" cache=False, # don't keep data loaded in memory. pull from disk every time\n",
")\n",
"\n",
Expand Down

0 comments on commit 2391dd0

Please sign in to comment.