Skip to content

Commit

Permalink
Fix incorrect nodata meta
Browse files Browse the repository at this point in the history
  • Loading branch information
reyery committed Jun 24, 2024
1 parent 9fdec9a commit a4a45c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cea/datamanagement/terrain_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ def reproject_raster_array(src_array: np.ndarray, src_transform, meta: Dict,
src_crs=meta["crs"],
dst_transform=transform,
dst_crs=dst_crs,
resampling=Resampling.nearest
resampling=Resampling.nearest,
src_nodata=meta["nodata"],
dst_nodata=meta["nodata"],
)

return dst_array, transform, new_meta
Expand Down

0 comments on commit a4a45c1

Please sign in to comment.