NoDriver

NoDriver#

class eodag.api.product.drivers.base.NoDriver[source]#

A default legacy driver that does not implement any of the methods it should implement, used for all product types for which the deprecated get_data() method is not implemented. Expect a NotImplementedError when trying to get the data in that case.

__init__()#

Methods

__init__()

get_data_address(eo_product, band)

Retrieve the address of the dataset represented by eo_product.

guess_asset_key_and_roles(href, eo_product)

Guess the asset key and roles from the given href.

Attributes

ASSET_KEYS_PATTERNS_ROLES

list of patterns to match asset keys and roles

STRIP_SPECIAL_PATTERN

strip non-alphanumeric characters at the beginning and end of the key

legacy

legacy driver for deprecated get_data() method usage