Pull log data for selected wells (optionally selected curves)
Source:R/pull_write.R
pull_laslogs.RdPull log data for selected wells (optionally selected curves)
Usage
pull_laslogs(index, apis, curves = NULL, output = c("long", "wide"))Examples
td <- tempdir()
f <- file.path(td, "a.las")
las_text <- c(
" ~Version Information",
" VERS. 2.0:",
" WRAP. NO:",
" ~Well Information",
" STRT.M 1000:",
" STOP.M 1001:",
" STEP.M 1:",
" NULL. -999.25:",
" API . 1111111111:",
" CNTY. TEST:",
" ~Curve Information",
" DEPT.M:",
" GR.API:",
" ~ASCII Log Data",
" 1000 80",
" 1001 82"
)
writeLines(las_text, f)
idx <- index_laslogs(td)
dat <- pull_laslogs(idx, apis = "1111111111", curves = "GR", output = "long")
head(dat)
#> # A tibble: 0 × 0