ZGIS / semantique

Semantic Querying in Earth Observation Data Cubes
https://zgis.github.io/semantique/
Apache License 2.0
16 stars 6 forks source link

fix: consistent dimensions for groupby outputs :wrench: #50

Closed fkroeber closed 1 month ago

fkroeber commented 3 months ago

Description

This PR overwrites the default squeeze=True for xarray.groupby() by changing it to False. This ensures that the grouping dimension is always kept in the output arrays. This is important to allow indexing the grouping dimension afterwards in recipes.

Type of change

Select one or more relevant options:

Checklist: