datacube.index.abstract.AbstractDatasetResource.count_product_through_time#

abstract AbstractDatasetResource.count_product_through_time(period, **query)[source]#

Perform a search, returning counts for a single product grouped in time slices of the given period.

Will raise an error if the search terms match more than one product.

Parameters
Return type

Iterable[Tuple[Range, int]]

Returns

The product, a list of time ranges and the count of matching datasets.