emanuelhuber / RGPR

Ground-penetrating radar (GPR) data processing and visualisation: a free and open-source software package (R language)
http://emanuelhuber.github.io/RGPR/
162 stars 49 forks source link

Slice Interpolation Issue #54

Closed wollaspon closed 2 years ago

wollaspon commented 2 years ago

I'm having an issue interpolating horizontal GPR slices where no matter what value I use for 'h' I get identical results. I admit that I don't know R and have no idea how mba.surf() uses 'h', but I think this line in the GPRcube class may be the problem:

https://github.com/emanuelhuber/RGPR/blob/867619489fa4eb8e78835a54eb463315cf557391/R/ClassGPRcube.R#L718

emanuelhuber commented 2 years ago

Hello @wollaspon

Thank you for opening this issue and pointing to the solution. I fixed the bug. Let me know it now works and if you need any functionalities. Best,

Emanuel

wollaspon commented 2 years ago

Thanks Emanuel, I can confirm it's working as expected.