Skip to content

Commit

Permalink
Update image_correlation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrencher authored Jul 5, 2024
1 parent aa648ac commit f88b8ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions glacier_image_correlation/image_correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ def download_s2(img1_product_name, img2_product_name, bbox):
'''
Download a pair of Sentinel-2 images acquired on given dates over a given bounding box
'''
# GDAL environment variables for better performance
os.environ['AWS_REGION']='us-west-2'
os.environ['GDAL_DISABLE_READDIR_ON_OPEN']='EMPTY_DIR'
os.environ['AWS_NO_SIGN_REQUEST']='YES'

# We use the api from element84 to query the data
URL = "https://earth-search.aws.element84.com/v1"
catalog = pystac_client.Client.open(URL)
Expand Down

0 comments on commit f88b8ca

Please sign in to comment.