Hi,
Would there be a way to have the distance of the participating point(s) (at least the nearest) to the node of the cell in nearneighbor interpolation ?
Thanks for answer.
Laure AVISSE
SHOM
French IHO
Hi,
Would there be a way to have the distance of the participating point(s) (at least the nearest) to the node of the cell in nearneighbor interpolation ?
Thanks for answer.
Laure AVISSE
SHOM
French IHO
Is-it possible (what is the option) to have the distance to the node of the participating point(s) in an output file ?
Not that I know of. The gmtblock*
modules would be one place where that could be done.
I guess you could realise it with two steps ?
nearneighbor
or block*
sphdistance
.I’ve never used it so I’m not sure how it works, but here’s an example :
… Might be worth to explore.
I have some ideas of how to divert the gmtblock * to do it but it seems complicated …
Is there another easier way? (my data sets are large)
Since you are SHOM I guess that means multi-beam bathymetry. I think the best solution would be to extend blockmedian
to do it. You or any of colleagues with C knowledge would be willing to tackle that?
EDIT: or perhaps even simpler, add an option to nearneighbor
to output a grid of those distances.
Maybe you can adapt this code :