Skip to content

Commit

Permalink
Update process_sat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tan authored Nov 1, 2022
1 parent c3b1747 commit c657f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-landsat/process_sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

print('Landsat on AWS:')
filepath = 'https://landsat-class-test.s3.us-east-2.amazonaws.com/LC08_L1TP_042034_20170616_20200903_02_T1_B4.TIF'
filepath = 'https://landsat-aws-test.s3.amazonaws.com/LC08_L1TP_042034_20170616_20200903_02_T1_B4.TIF'
with rasterio.open(filepath) as src:
print(src.profile)

Expand All @@ -19,7 +19,7 @@
print(thumbnail)

date = '2017-06-16'
url = 'https://landsat-class-test.s3.us-east-2.amazonaws.com/'
url = 'https://landsat-aws-test.s3.amazonaws.com/'
redband = 'LC08_L1TP_042034_20170616_20200903_02_T1_B{}.TIF'.format(4)
nirband = 'LC08_L1TP_042034_20170616_20200903_02_T1_B{}.TIF'.format(5)

Expand Down

0 comments on commit c657f00

Please sign in to comment.