Skip to content

Commit f88b8ca

Browse files
authored
Update image_correlation.py
1 parent aa648ac commit f88b8ca

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

glacier_image_correlation/image_correlation.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ def download_s2(img1_product_name, img2_product_name, bbox):
2525
'''
2626
Download a pair of Sentinel-2 images acquired on given dates over a given bounding box
2727
'''
28-
# GDAL environment variables for better performance
29-
os.environ['AWS_REGION']='us-west-2'
30-
os.environ['GDAL_DISABLE_READDIR_ON_OPEN']='EMPTY_DIR'
31-
os.environ['AWS_NO_SIGN_REQUEST']='YES'
32-
3328
# We use the api from element84 to query the data
3429
URL = "https://earth-search.aws.element84.com/v1"
3530
catalog = pystac_client.Client.open(URL)

0 commit comments

Comments
 (0)