shawnlaffan / biodiverse

A tool for the spatial analysis of diversity
http://shawnlaffan.github.io/biodiverse/
GNU General Public License v3.0
74 stars 19 forks source link

reduce resolution has precision issues #859

Closed shawnlaffan closed 1 year ago

shawnlaffan commented 1 year ago

To reproduce, try to reduce the resolutions of a basedata with resolutions like (0.1, 0.1) to (1,1).

The system warns the new sizes are not multiples of the original.

This is the usual floating point precision issue.