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

Enable user defaults for data storage location #98

Open Sujay-Shankar opened 7 months ago

Sujay-Shankar commented 7 months ago

Currently, the user has to manually enter the location of their grid data each time they access a spectrum, unless they happen to conform to "/libraries/raw/PHOENIX" eg., which is the current default. It would be preferable to have a one-time user definition of this location that is then retained and used as the default going forward.

Here we propose a solution, which is the utilization of a .env file to store user-defined metadata such as this. Users would no longer have to repeatedly think about their local directory structure when using gollum.