Skip to content

Commit ec33a92

Browse files
authored
Replace np.NaN with np.nan for Numpy 2.0 compatibility (#1396)
1 parent 636fa9a commit ec33a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/dea_tools/datahandling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ def load_reproject(
15011501
resolution=resolution,
15021502
tight=tight,
15031503
resampling=resampling,
1504-
dst_nodata=np.NaN if masked else None,
1504+
dst_nodata=np.nan if masked else None,
15051505
**reproject_kwds,
15061506
)
15071507

0 commit comments

Comments
 (0)