eodag.plugins.crunch.filter_property.FilterProperty

eodag.plugins.crunch.filter_property.FilterProperty

class eodag.plugins.crunch.filter_property.FilterProperty(config)[source]

FilterProperty cruncher

Filter products, retaining only those whose property match criteria

Parameters

config (dict) –

Crunch configuration, should contain :

  • property=value : property key from product.properties, associated to its filter value

  • operator : (optional) Operator used for filtering (one of lt,le,eq,ne,ge,gt). Default is eq

__init__(config)

Methods

__init__(config)

proceed(products, **search_params)

Execute crunch: Filter products, retaining only those that match property filtering

Attributes

plugins