eodag.plugins.download.aws.AwsDownload#

class eodag.plugins.download.aws.AwsDownload(provider, config)[source]#

Download on AWS using S3 protocol.

Parameters
  • provider (str) – provider name

  • config (PluginConfig) – Download plugin configuration config.requester_pays:

  • config

    Download plugin configuration:

    • config.base_uri (str) - s3 endpoint url

    • config.requester_pays (bool) - whether download is done from a requester-pays bucket or not

    • config.flatten_top_dirs (bool) - flatten directory structure

    • config.products (dict) - product_type specific configuration

__init__(provider, config)[source]#

Methods

__init__(provider, config)

check_manifest_file_list(product_path)

Checks if products listed in manifest.safe exist

download(product[, auth, progress_callback])

Download method for AWS S3 API.

download_all(products[, auth, ...])

download_all using parent (base plugin) method

finalize_s2_safe_product(product_path)

Add missing dirs to downloaded product

get_authenticated_objects(bucket_name, ...)

Get boto3 authenticated objects for the given bucket using the most adapted auth strategy.

get_bucket_name_and_prefix(product[, url])

Extract bucket name and prefix from product URL

get_chunk_dest_path(product, chunk, dir_prefix)

Get chunk destination path

get_rio_env(bucket_name, prefix, auth_dict)

Get rasterio environment variables needed for data access authentication.

Attributes

plugins