esgf2-us / intake-esgf

Programmatic access to the ESGF holdings
https://intake-esgf.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Improved config #37

Closed nocollier closed 3 months ago

nocollier commented 3 months ago

Currently, if a user wants to set the local cache or set indices to use they must do so each time in their scripts. We should provide a configure object which will allow these settings to be 'stickied'. I like what intake has done:

https://github.com/intake/intake/blob/master/intake/config.py

nocollier commented 3 months ago

This could be a way also to set a hierarchy of local caches, see #30