Skip to content

Commit

Permalink
use simplecache instead of filecache
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis committed Aug 11, 2024
1 parent 08e762e commit 0d18c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intermediate/remote_data/remote-data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
"\n",
"uri = \"https://its-live-data.s3-us-west-2.amazonaws.com/test-space/sample-data/sst.mnmean.nc\"\n",
"# we prepend the cache type to the URI, this is called protocol chaining in fsspec-speak\n",
"file = fsspec.open_local(f\"simplecache::{uri}\", filecache={'cache_storage': '/tmp/fsspec_cache'})\n",
"file = fsspec.open_local(f\"simplecache::{uri}\", simplecache={'cache_storage': '/tmp/fsspec_cache'})\n",
"\n",
"ds = xr.open_dataset(file, engine=\"netcdf4\")\n",
"ds"
Expand Down

0 comments on commit 0d18c50

Please sign in to comment.