GeoscienceAustralia / agdc

Repository for Australian Geoscience Data Cube (AGDC) code
BSD 3-Clause "New" or "Revised" License
29 stars 24 forks source link

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

Open andrewdhicks opened 8 years ago

andrewdhicks commented 8 years ago

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