/datasets/wble
endpoint does not return Great Lakes Water Quality datasets
#451
Labels
bug
Something isn't working
Current Behaviour:
The
/datasets/wble
endpoint returns only global datasetsDesired Behaviour:
The
datasets/wble
endpoint should return the following datasets:wq-gl-chla
wq-gl-spm
Cause:
In order to return metadata of only datasets that contain data for a particular spotlight, the API searches for the spotlightId value within the
tile.url
field of each dataset metadata object. Neitherwq-gl-chl.json
norwq-gl-spm.json
contain the stringwble
(spotlightId
for Great Lakes) within theirtile.url
fields (and
respectively.
Possible fixes:
greatlakes
gl
and rename thewq-greatlakes-chl
andwq-greatlakes-sm
folders towq-gl-chl
andwq-gl-spm
, respectivelywble
somewhere within the filesnames for allwq-greatlakes-chl/*
andwq-greatlakes-sm/*
fillesThe text was updated successfully, but these errors were encountered: