computationalgeography / lue

LUE Scientific Database and Environmental Modelling Framework
https://lue.computationalgeography.org
MIT License
12 stars 4 forks source link

`lue.pcraster`'s `ycoordinate` outputs wrong values #696

Closed kordejong closed 2 months ago

kordejong commented 2 months ago

Describe the bug

The operation outputs coordinates per partition, not per array. Within the partition the output seems OK, but the overall results are wrong.

Expected behaviour

Same results as PCRaster's ycoordinate.

Steps to reproduce

Run ycoordinate on a partitioned raster.

Additional information

The problem likely is in LUE's cell_index algorithm.