Skip to content

Commit 38f0c6b

Browse files
committed
bug fix
1 parent 273b4c4 commit 38f0c6b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

SuomiGeoData/core.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,11 @@ def raster_clipping_by_mask(
251251
)
252252
# update clipped raster profile
253253
profile.update(
254-
{'height': output_array.shape[1],
255-
'width': output_array.shape[2],
256-
'transform': output_transform}
254+
{
255+
'height': output_array.shape[1],
256+
'width': output_array.shape[2],
257+
'transform': output_transform
258+
}
257259
)
258260
# save the clipped raster
259261
with rasterio.open(output_file, 'w', **profile) as output_raster:

0 commit comments

Comments
 (0)