Skip to content

Commit 111995d

Browse files
committed
use ReferencedRaster.array
1 parent d7c1d62 commit 111995d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mapchete_eo/io/assets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def asset_to_np_array(
9393
grid=grid,
9494
resampling=resampling.name,
9595
dst_nodata=band_properties.nodata,
96-
).masked_array()
97-
96+
).array
9897
if apply_offset and band_properties.offset:
9998
logger.debug(
10099
"apply offset %s and scale %s to asset %s",

0 commit comments

Comments
 (0)