Skip to content

Added support for the GWPY_CACHE environment variable to automatically set cache=True

Duncan Macleod requested to merge github/fork/duncanmmacleod/cache-env into develop

This PR adds support for a new GWPY_CACHE environment variable, which allows automatic setting of cache=True for TimeSeries.fetch_open_data and similar methods. This can be very useful for repeated documentation/examples builds where the same data are downloaded many times (without hard-coding cache=True into the example code).

Merge request reports