ecmwf / earthkit-data

A format-agnostic Python interface for geospatial data
Apache License 2.0
57 stars 15 forks source link

Review caching #225

Closed sandorkertesz closed 11 months ago

sandorkertesz commented 1 year ago

Is your feature request related to a problem? Please describe.

The current caching is documented at https://earthkit-data.readthedocs.io/en/latest/guide/caching.html

The problem is that the cache currently also serves as temporary space. So when caching is turned off there is nowhere to download files from URLs or services.

The task is to review the caching policies and see how we could use separate concepts for the cache and the temporary space.

Related issues:

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Organisation

ECMWF

sandorkertesz commented 1 year ago

Changes so far:

See: https://earthkit-data.readthedocs.io/en/feature-cache_and_tmp/examples/cache.html https://earthkit-data.readthedocs.io/en/feature-cache_and_tmp/guide/caching.html