emanuelhuber / RGPR

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

Can't read .rd7 files. #51

Closed roneetsingh closed 2 years ago

roneetsingh commented 2 years ago

Whenever I try to read .rd7 files, I get this error.

Error in if (ntr * npt != fileLength) { : argument is of length zero In addition: Warning message: In scan(dsn, what = character(), strip.white = TRUE, quiet = TRUE, : embedded nul(s) found in input

RGPR has been really helpful for some older .rd3 files, kudos to you for that Emanuel.

However, as of now, some rd3 files give this error.

Error in if (ntr * npt != fileLength) { : argument is of length zero In addition: Warning message: In scan(dsn, what = character(), strip.white = TRUE, quiet = TRUE, : embedded nul(s) found in input

emanuelhuber commented 2 years ago

Hello roneetsingh

Thank you very much for opening this issue. Did you try to re-install RGPR and re-run your code? If it still does not work, would you send me one of the GPR file that RGPR cannot read, in order that I find the bug? My email: emanuel.huber@pm.me You can count on my Swiss confidentiality. Best, Emanuel

roneetsingh commented 2 years ago

Hello Emanuel

Thank you for helping me out, To answer you, and give more details. I have done the following things:

  1. Re-install RGPR and test the code for same files again.
  2. Testing out the code on different .rd7 and .rd3 files.

This still does not work for the .rd7 files and some newer .rd3 files. For some older .rd3 files RGPR works like a charm. As, for the files, I have sent you an email with the files attached. I hope we can get this problem solved. Looking forward to hear back from you. Best, Roneet Singh

emanuelhuber commented 2 years ago

I close this issue, as it was a problem related with the file recording and not with RGPR.