xcube-dev / xcube

xcube is a Python package for generating and exploiting data cubes powered by xarray, dask, and zarr.
https://xcube.readthedocs.io/
MIT License
199 stars 18 forks source link

Places not loading on PlaceGroupChange #142

Closed dzelge closed 5 years ago

dzelge commented 5 years ago

Describe the bug

The place select stays empty when selecting place groups are selected.

To Reproduce Steps to reproduce the behavior:

  1. Go to cyanoalert
  2. Click on select places and select a group
  3. See places select

Expected behavior Places should show up

forman commented 5 years ago

Does it happen with the demo configuration too? Strange, this has been tested. See also unit-tests.

AliceBalfanz commented 5 years ago

Yes, with the demo configuration, the Places cannot be selected as well.

dzelge commented 5 years ago

HAve a look at the changes I have made. All relevant methods have not been called with load_features=True.

EDIT: Without that features in the FeatureCollection is null when you attempt to receive places from the xcube server.

grafik

dzelge commented 5 years ago

This is teh URL in text that the xcube-viewer calls when attempting to fill the places:

https://cyanoalert.brockmann-consult.com/api/v1.dev/datasets/cyanoalert-olci-lswe-l2c-v1/places/Sweden_SE_Lakes