eodag.plugins.download.aws.AwsDownload
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 urlconfig.requester_pays
(bool) - whether download is done from a requester-pays bucket or notconfig.flatten_top_dirs
(bool) - flatten directory structureconfig.products
(dict) - product_type specific configuration
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_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