The implementation for GridAtPoints that I will merge soon via #41 will use lon and lat, because I have no time to change that now. If nnear > 1 the nearest-neighbor-loopup will not be correct because of distorted distances in lon-lat-space.
Hence, we need to either reproject on the fly or force the usage of projected coordinates and not lon and 'lat`.
The implementation for
GridAtPoints
that I will merge soon via #41 will uselon
andlat
, because I have no time to change that now. Ifnnear > 1
the nearest-neighbor-loopup will not be correct because of distorted distances in lon-lat-space.Hence, we need to either reproject on the fly or force the usage of projected coordinates and not
lon
and 'lat`.A related discussion happened already in https://github.com/OpenSenseAction/poligrain/issues/15#issuecomment-1908078372 and in https://github.com/OpenSenseAction/poligrain/pull/43#issuecomment-2039598286.