spatialdata
spatialdata copied to clipboard
Raster models validation should be a `classmethod`.
Currently we need to do Image2DModel().validate(), while all the parser and the non-raster validation methods are accessible as class methods: Image2DModel.parse(). We should fix this.