eomatch.finder.base.BaseMUFinder.run_scrappi#
- BaseMUFinder.run_scrappi(query: dict, context: dict | None = None) scrappi.ProductItemSet[source]#
Execute a single scrappi query and return the matching products.
If the query returns no products an empty
ProductItemSetis returned rather thanNone. Results are sorted bystart_timebefore being returned.The
platformkey is stripped from the query before it is passed to scrappi. Passing it through causes scrappi to forward it to eodag as a provider-level search filter (e.g.platformSerialIdentifier='A'on cop_dataspace) which frequently returns zero results. Platform-level filtering is instead performed in the caller after products are returned.- Parameters:
query – scrappi query dict (keys depend on the collection type).
context – optional
ScrappiContext; defaults toScrappiContext().
- Returns:
sorted
ProductItemSetof matching products.