Skip to content

Issue with GPR Metadata... I think? #45

Answered by emanuelhuber
Lewisfa asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Lewis

Thank you for contacting me. I could solve the problem and I also had to update RGPR, so you need to re-install it. Here is a working code (you did a mistake where you set the "ylines" because length(10 + 1:4) is not equal 6):

if(!require("devtools")) install.packages("devtools")
devtools::install_github("emanuelhuber/RGPR")

library(RGPR)

setwd("/mnt/data/RGPR/CODE/DEVELOPMENT/HELP_PEOPLE/lewisfa")


LINES <- file.path(getwd(), "rawGPR",
                   paste0("LINE", sprintf("%02d", 1:10),".DZT"))
SU <- GPRsurvey(LINES, verbose = FALSE)

# you have 10 lines
#    - 1, 2, 3, 4 = xlines -> "1:4"
#    - 5, 6, 7, 8, 9, 10 = ylines -> "5:10"
setGridCoord(SU) <- list(xlines = 1:4

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Lewisfa
Comment options

@emanuelhuber
Comment options

Answer selected by emanuelhuber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants