datacube.index._datasets.DatasetResource.count_product_through_time¶
- DatasetResource.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
- Returns
For each matching product type, a list of time ranges and their count.
- Return type
list[(str, list[(datetime.datetime, datetime.datetime), int)]]