Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load settings from environment variables and/or switch off auto_save_settings by default #210

Open
malmans2 opened this issue Oct 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@malmans2
Copy link
Contributor

malmans2 commented Oct 2, 2023

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

It would be helpful for us if earthkit would infer cache settings from environment variables. The main reason is that we have many people using the same Virtual Machine.

Also, the current default of settings.auto_save_settings is not ideal for us. If a person plays with the settings (e.g., just copy/paste from the documentation snippets), the settings of everyone using the VM change.

Describe the solution you'd like

Infer settings from environment variables that follow certain rules (e.g., variables with prefix "EARTHKIT_")

Describe alternatives you've considered

No response

Additional context

No response

Organisation

B-Open / CADS-EQC

@malmans2 malmans2 added the enhancement New feature or request label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant