read_las: Read .las files

Description Usage Arguments Value Note Examples

Description

This function read well logs data from a .las file and return a data frame with depth and all log values. If the filename you provide does not existe, the function stops and return an error message.

Usage

1
read_las(filename, lasnull = "-999.250000")

Arguments

filename

A character string giving the name or path of the file to be read.

lasnull

A character string indicating which value is sued as NULL

Value

This function returns a dataframe with the logs data read from a .las file. It include a first column with the wellname.

Note

read_las has been tested to LAS 2.0 standard, check: <http://www.cwls.org/wp-content/uploads/2017/02/Las2_Update_Feb2017.pdf>

Examples

1
2
3
4
5
## Not run: 
read_las("filename.las")
read_las("pathname/filename.las", "-999")

## End(Not run)

ravenroadresources/petroreadr documentation built on May 23, 2019, 3:03 p.m.