A Rust library for parsing geophysical well log (.las) files
Supports only version 2.0 of LAS Specification. For more information about this format, see the Canadian Well Logging Society.
-
Usage And this to your cargo.toml
[dependencies] lasrs = "0.1.3"
and this to your crate root (if you're using Rust 2015):
extern crate lasrs;
An example of reading well log headers.
use lasrs::Las; fn main() { let las = Las::new("./sample/example.las"); assert_eq!( vec!["DEPT", "DT", "RHOB", "NPHI", "SFLU", "SFLA", "ILM", "ILD"], las.headers() ); let las = Las::new("./sample/A10.las"); assert_eq!( vec!["DEPT", "Perm", "Gamma", "Porosity", "Fluvialfacies", "NetGross"], las.headers() ); }
-
Documentation
-
Test
- Clone this repo and run:
cargo test