Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed broken link

...

If you're connecting to buckets hosted at the ECMWF side of the European Weather Cloud, the endpoints are:


Code Block
languagepy
import os
import io
import boto3


# Initializing variables for the client 
S3_BUCKET_NAME = "MyFancyBucket123"  #Fill this in  
S3_ACCESS_KEY = "123asdf"  #Fill this in  
S3_SECRET_ACCESS_KEY = "123asdf111"  #Fill this in  
S3_ENDPOINT_URL = "https://my-s3-endpoint.com"  #Fill this in   

...

  • upload a file into the new bucket (case 3)
  • list the contents of the bucket to verify your file is there (case 1)
  • download the file you uploaded (case 2)

Related examples

Other Resources

...