<div dir="ltr">Dear lists,<br><br>I'm working with the nnbahty interpolation (which uses the libratry <a href="https://github.com/sakov/nn-c">https://github.com/sakov/nn-c</a>) and I've some troubles; what I expect is that the interpolated raster map has the same value in the initial points:<br><br>-using GRASS 6.4 the interpolation works fine (so the interpolated raster map has the same value of the initial points), but I can only run r.surf.nnbathy (and not v.surf.nnbathy);<br><br>-using GRASS 7.4 the interpolation doesn't work fine (so the interpolated raster map doesn't have the same value of the initial points), both using v.surf.nnbathy and r.surf.nnbathy.<br><br>For example, I'm working in a WGS84 lat/lon location with temperature data and I have:<br><br>-Value of inital point = 287.039<br>-Value of raster interpolated map (cheked on the control point) = 286.342<br><br>Actually I expected to find exactly the value of the initial point (i.e. 287.039).<br><br>As far as I understood the module nnbathy (both r.surf.nnbathy and v.surf.nnbathy) exports the initial vector or raster map into an ASCII file, than computes the interpolation using 'nnbathy.c' (which is in the repository), and lasty inport in GRASS (r.in.ascii) the interpolated file.<br>What I think is that GRASS 7.4 makes some errors while exporting input file or while importing interpolated ASCII file.<br><br><div>Do you have any suggestions?</div><div><br></div><div>Lorenzo<br></div><br></div>