Skip to content

Commit

Permalink
Bug fix with read_snappy_product
Browse files Browse the repository at this point in the history
  • Loading branch information
radosuav committed Jan 28, 2020
1 parent 1c2abc1 commit 363b3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snappy_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read_snappy_product(file_path, band_name=None):
width = prod.getSceneRasterWidth()
height = prod.getSceneRasterHeight()
geo_coding = prod.getSceneGeoCoding()
data = np.empty((width, height))
data = np.empty((height, width))
if band_name is not None:
band = prod.getBand(band_name)
else:
Expand Down

0 comments on commit 363b3ed

Please sign in to comment.