The default endpoint is s3.amazonaws.com. Other endpoints can be specified in the request as:
r = {"bucket": bucket_name,
"endpoint": "my_endpoint",
"objects": [
....
The stream option controls if the data is read as a stream or downloaded to a file. The default is stream=True
The anon option controls whether if it is an anonymous access or AWS credentials should be used. The default is anon=True. Handling the credentials requires the aws-requests-auth and botocore packages
Still work in progress.
The new source for an S3 bucket can be used like this:
More examples are available at: https://earthkit-data.readthedocs.io/en/feature-s3/examples/s3.html
s3.amazonaws.com
. Other endpoints can be specified in the request as:stream
option controls if the data is read as a stream or downloaded to a file. The default isstream=True
anon
option controls whether if it is an anonymous access or AWS credentials should be used. The default isanon=True
. Handling the credentials requires theaws-requests-auth
andbotocore
packages