# %pip install -U leafmap # %pip install -U boto3 # import os # os.environ["AWS_ACCESS_KEY_ID"] = "YOUR AWS ACCESS ID HERE" # os.environ["AWS_SECRET_ACCESS_KEY"] = "YOUR AWS ACCESS KEY HERE" import leafmap BUCKET = "maxar-opendata" FOLDER = "events/Kahramanmaras-turkey-earthquake-23/" items = leafmap.s3_list_objects(BUCKET, FOLDER, ext=".tif") items[:10] m = leafmap.Map() m.add_cog_layer(items[2], name="Maxar") m leafmap.s3_download_file(items[0], outfile="maxar.tif") leafmap.s3_download_files(items[:2], outdir="maxar")