BrownDwarf / gollum

A microservice for programmatic access to precomputed synthetic spectral model grids in astronomy
https://gollum-astro.readthedocs.io/
MIT License
20 stars 5 forks source link

Does the `download=True` flag store and persist the fetched spectrum? #99

Open gully opened 7 months ago

gully commented 7 months ago

Currently we offer the download=True flag, which programmatically fetches primary source .fits file from the ftp site for PHOENIX. We do not offer such a flag for Sonora due to some technical frictions.

Ideally these fetches would be stored and retained for future use, as is down in say lightkurve and astroquery with caches.

@SujayShankar2001 has pointed out that his caches only persist in a given session, but do not retain when a notebook is reloaded, as if his caches are being cleared. Question-- is this still the case? If so why, and is it possible to make the functionality more like lightkurve where it retains permanently in a local cache?