GlacioHack / xdem

Analysis of digital elevation models (DEMs)
https://xdem.readthedocs.io/
MIT License
123 stars 37 forks source link

Capture or solve all warnings raised in tests #489

Closed rhugonnet closed 3 months ago

rhugonnet commented 3 months ago

Mentioned in #477. Quite important otherwise users also get warnings for no reason at many occurences.

Instead of listing warnings.simplefilter("error") in target test functions, every UserWarning should be dealt with at the source! We can mirror https://github.com/GlacioHack/geoutils/pull/458 for this.

Will do this directly in #480 to avoid too many conflicts.