eWaterCycle/era5cli

Store API key using the cli. Avoid overlap with Atmosphere Data Store key

Closed this issue · 2 comments

Ask the user in the command line to fill in the URL and API Key, so that the .cdsapirc will be automatically generated.

In addition to this, storing the API key in a different file, only for era5cli, could be useful as well. The ADS uses the cds API, including the .cdsapirc file but with a different URL and different API keys.

E.g. ~/.era5clirc.

or ~/.config/era5cli for consistency with ~/.config/ewatercycle.yaml?