agdc icon indicating copy to clipboard operation
agdc copied to clipboard

API requires AGDC_API_CONFIG to be set, can't use default path

Open andrewdhicks opened this issue 10 years ago • 0 comments

The API Config class uses the AGDC_API_CONFIG environment variable. If the variable is not set, os.environ throws a KeyError exception which is not handled. See https://github.com/GeoscienceAustralia/agdc/blob/develop/api/source/main/python/datacube/config.py#L49

andrewdhicks avatar Nov 24 '15 00:11 andrewdhicks