datacube.api.query.GroupBy#
- class datacube.api.query.GroupBy(group_by_func, dimension, units, sort_key=None, group_key=None)[source]#
GroupBy Object
- Parameters
group_by_func – Dataset -> group identifier
dimension – dimension of the group key
units – units of the group key
sort_key – how to sort datasets in a group internally
group_key – the coordinate value for a group list[Dataset] -> coord value
- __init__(group_by_func, dimension, units, sort_key=None, group_key=None)[source]#
GroupBy Object
- Parameters
group_by_func – Dataset -> group identifier
dimension – dimension of the group key
units – units of the group key
sort_key – how to sort datasets in a group internally
group_key – the coordinate value for a group list[Dataset] -> coord value
Methods
__init__
(group_by_func, dimension, units[, ...])GroupBy Object