GlacioHack / xdem

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

Remove classes `Bias1D`, `Bias2D` in favor of a `nd` argument defined on instantiation? #514

Closed rhugonnet closed 2 months ago

rhugonnet commented 2 months ago

These intermediate classes seem to have no real purpose except checking the input data dimension, which could be done by simply defining an nd attribute in the ._meta of each method, during __init__().

It would simply the inheritance structure to present in the documentation as well.