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

Parse locations from config as array #98

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

mmacata
Copy link
Collaborator

@mmacata mmacata commented Jun 30, 2021

Most values can be configured via separate config file. For the locations this seemed possible, but apparent array LOCATIONS = ["nc_spm_08", "utm32n", "latlong_wgs84"] will be simply interpreted as string by configparser. This leads to following error when requesting the collections endpoint:
An internal error occurred while catching mapset from location [!"

This PR keeps the appearence of an array in the config file and reads it in as an array instead of string.

@mmacata mmacata merged commit 5df0d97 into Open-EO:master Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant