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 May 26, 2022
1 parent c8dad21 commit 6c8dc26
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-pds.s3.amazonaws.com/c1/L8/042/034/LC08_L1TP_042034_20170616_20170629_01_T1/LC08_L1TP_042034_20170616_20170629_01_T1_B4.TIF'
filepath = 'https://landsat-class-test.s3.us-east-2.amazonaws.com/LC08_L1TP_042034_20170616_20170629_01_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-pds.s3.amazonaws.com/c1/L8/042/034/LC08_L1TP_042034_20170616_20170629_01_T1/'
url = 'https://landsat-class-test.s3.us-east-2.amazonaws.com/'
redband = 'LC08_L1TP_042034_20170616_20170629_01_T1_B{}.TIF'.format(4)
nirband = 'LC08_L1TP_042034_20170616_20170629_01_T1_B{}.TIF'.format(5)

Expand Down

0 comments on commit 6c8dc26

Please sign in to comment.