Skip to content

A rust library for parsing geophysical well log (.las) files

Notifications You must be signed in to change notification settings

GiGainfosystems/lasrs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

    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

    Module documentation with examples

  • Test

    • Clone this repo and run:
    cargo test

About

A rust library for parsing geophysical well log (.las) files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%