read.LAS {SDAR} | R Documentation |
read.LAS files
Description
Log ASCII Standard (LAS) is a standard file-format common
in the oil-and-gas and water-well industries to store well log information. This function is designed to read Log ASCII
Standard (LAS) files; the objective of this function is to omit the information in the header of the LAS file, and
extract only the data (curve information ~A "ASCII Log Data") to keep it into R data structure
data.frame
. Also, it includes the option of write the data table (curve information) as CSV file.
WARNING: This method is very much in an alpha stage.
Expect it to change.
Usage
read.LAS(filePath, repl.null = FALSE, writecsv=FALSE)
Arguments
filePath |
the name of the .LAS file which the data are to be read. If |
repl.null |
logical, default |
writecsv |
logical, default |
Note
read.LAS function included in SDAR packages is not very mature yet; it is an experimental version.
We are working on making it compatible with versions 1.2, 2.0 and 3.0 of the LAS file specification published by the Canadian Well Logging Society(CWLS).
This is NOT a function to read LAS file formats used for Remote Sensing Data (also called LAS files); there is a package on CRAN called rlas to read and write this format.
The source of the file "saltarinST_1A_well_log.LAS" was provided by Alejandro Mora of HOCOL S.A.
Author(s)
John Ortiz
Examples
fpath <- system.file("extdata", "saltarinST_1A_well_log.LAS", package = "SDAR")
well_log <- read.LAS(fpath, repl.null=TRUE)
head(well_log)