eodag.plugins.download.aws.AwsDownload

eodag.plugins.download.aws.AwsDownload#

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

Download on AWS using S3 protocol.

Parameters:
  • provider (str) – provider name

  • config (PluginConfig) –

    Download plugin configuration:

    • config.base_uri (str) - s3 endpoint url

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

    • config.flatten_top_dirs (bool) - (optional) flatten directory structure

    • config.products (dict) - (optional) product_type specific configuration

    • config.ignore_assets (bool) - (optional) ignore assets and download using downloadLink

__init__(provider: str, config: PluginConfig) None[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

generate_record_hash(product)

Generate the record hash of the given product.

get_authenticated_objects(bucket_name, ...)

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

get_chunk_dest_path(product, chunk[, ...])

Get chunk SAFE destination path

get_product_bucket_name_and_prefix(product)

Extract bucket name and prefix from product URL

get_rio_env(bucket_name, prefix, auth_dict)

Get rasterio environment variables needed for data access authentication.

Attributes

plugins