diff --git a/aws-landsat/process_sat.py b/aws-landsat/process_sat.py index ee7465c..c177bf2 100755 --- a/aws-landsat/process_sat.py +++ b/aws-landsat/process_sat.py @@ -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_20170629_01_T1_B4.TIF' +filepath = 'https://landsat-class-test.s3.us-east-2.amazonaws.com/LC08_L1TP_042034_20170616_20200903_02_T1_B4.TIF' with rasterio.open(filepath) as src: print(src.profile) @@ -20,8 +20,8 @@ date = '2017-06-16' 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) +redband = 'LC08_L1TP_042034_20170616_20200903_02_T1_B{}.TIF'.format(4) +nirband = 'LC08_L1TP_042034_20170616_20200903_02_T1_B{}.TIF'.format(5) with rasterio.open(url+redband) as src: profile = src.profile