datacube.index.abstract.AbstractDatasetResource.search_product_duplicates#

abstract AbstractDatasetResource.search_product_duplicates(product, *args)[source]#

Find dataset ids who have duplicates of the given set of field names.

(Search is always restricted by Product)

Returns a generator returning a tuple containing a namedtuple of the values of the supplied fields, and the datasets that match those values.

Parameters
  • product (Product) – The Product to restrict search to

  • args (Union[str, Field]) – field names to identify duplicates over

Return type

Iterable[Tuple[Tuple, Iterable[UUID]]]