eodag.plugins.search.data_request_search.DataRequestSearch

eodag.plugins.search.data_request_search.DataRequestSearch#

class eodag.plugins.search.data_request_search.DataRequestSearch(provider: str, config: PluginConfig)[source]#
Plugin to execute search requests composed of several steps:
  • do a data request which defines which data shall be searched

  • check the status of the request job

  • if finished - fetch the result of the job

__init__(provider: str, config: PluginConfig) None[source]#

Methods

__init__(provider, config)

build_sort_by(sort_by_arg)

Build the sorting part of the query string or body by transforming the "sortBy" argument into a provider-specific string or dictionnary

clear()

Clear search context

discover_product_types(**kwargs)

Fetch product types is disabled for DataRequestSearch

discover_queryables(**kwargs)

Fetch queryables list from provider using discover_queryables conf

get_metadata_mapping([product_type])

Get the plugin metadata mapping configuration (product type specific if exists)

get_product_type_def_params(product_type, ...)

Get the provider product type definition parameters and specific settings

get_sort_by_arg(kwargs)

Extract the "sortBy" argument from the kwargs or the provider default sort configuration

list_queryables(filters[, product_type])

Get queryables

map_product_type(product_type, **kwargs)

Get the provider product type from eodag product type

query([product_type, items_per_page, page, ...])

performs the search for a provider where several steps are required to fetch the data

Attributes

plugins

data_request_id

auth

next_page_url

next_page_query_obj

total_items_nb

need_count