geotrellis / maml

Map Algebra Modeling Language: It's what we and whales are.
https://geotrellis.github.io/maml/
Apache License 2.0
16 stars 10 forks source link

Avoid combining raster extents due to floating point error #82

Closed moradology closed 5 years ago

moradology commented 5 years ago

RasterExtent.combine asserts that cellsizes be equal but floating point arithmetic can make this difficult. Extraordinarily close cell sizes end up failing the equality assertion when it would be better to pass over in silence