CNES / rastertools

Python and CLI tools for radiometric indices and zonal statistics computation on raster imagery.
Apache License 2.0
1 stars 2 forks source link

51 rastertools bug de calcul du radius et plantage si il y a des lignes de no data dans le dem #13

Closed erblanm closed 1 week ago

erblanm commented 1 week ago

Fix a specific case where window is at the outside border of data and so data.size = 0. In that case, data should be ignored to not raise an error in np.nanmax(data)