NASA-IMPACT / covid-api

MIT License
14 stars 3 forks source link

Hotfix/remove togo ag and wq gl from global datasets #80

Closed leothomas closed 3 years ago

leothomas commented 3 years ago

Summary:

Fixes covid-dashboard issue 449 by hardcoding greatlakes and togo in filter for non-global datasets

Details:

togo-ag, wq-gl-chla andwq-gl-spm` datasets were currently being treated as "global datasets" meaning they are returned for all datasets.

See issue comment for a description as to why this happens.

Note:

The /dataset/togo endpoint returns the togo-ag dataset, however the /datasets/wble endpoing does not return the wq-gl-chla and wq-gl-spm datasets. This is a known bug with an issue open here