Skip to content

Commit

Permalink
Update s2prepare.py
Browse files Browse the repository at this point in the history
  • Loading branch information
simonaoliver committed Dec 15, 2016
1 parent cf9d1a1 commit 15fac33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/s2prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def valid_region(images, mask_value=None):
for fname in images:
# ensure formats match
with rasterio.open(str(fname), 'r') as ds:
transform = ds.affine
transform = ds.transform
img = ds.read(1)

if mask_value is not None:
Expand Down

0 comments on commit 15fac33

Please sign in to comment.