From 0d18c5010f68c3b75ce5e69251c291ff754a084b Mon Sep 17 00:00:00 2001 From: Justus Magin Date: Sun, 11 Aug 2024 08:27:05 +0200 Subject: [PATCH] use `simplecache` instead of `filecache` --- intermediate/remote_data/remote-data.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intermediate/remote_data/remote-data.ipynb b/intermediate/remote_data/remote-data.ipynb index c0aa5d8e..c6783a41 100644 --- a/intermediate/remote_data/remote-data.ipynb +++ b/intermediate/remote_data/remote-data.ipynb @@ -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"