lasrs

Crates.iolasrs
lib.rslasrs
version0.1.3
sourcesrc
created_at2020-05-16 17:02:48.254586
updated_at2020-05-16 17:37:20.180962
descriptionA library for parsing geophysical well log (.las) files
homepagehttps://github.com/laslibs/lasrs
repositoryhttps://github.com/laslibs/lasrs
max_upload_size
id242418
size369,384
Ikechukwu Eze (iykekings)

documentation

https://docs.rs/lasrs

README

Test

Lasrs

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;
    

    A example of reading version of 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

    Module documentation with examples

  • Test

    • Clone this repo and run:
    cargo test
    
Commit count: 25

cargo fmt