xcube-dev / xcube-cds

An xcube plugin to generate data cubes from the Climate Data Store (CDS) API
MIT License
3 stars 1 forks source link

Allow API URL and key to be passed directly to store and opener #3

Closed pont-us closed 4 years ago

pont-us commented 4 years ago

Currently, xcube-cds does not allow direct specification of the CDS API URL and key; the cdsapi Client class instead reads them directly from a configuration file or environment variables. It should be possible to pass the API URL and key directly to the CDSDataOpener and CDSDataStore constructor in cases where the configuration file and environment variable settings are not present or need to be overridden.

pont-us commented 4 years ago

Fixed in PR #11 .