1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! `las_rs` — a high-performance parser and writer for LAS (Log ASCII
//! Standard) well-log files, supporting LAS 1.2, 2.0, and 3.0.
//!
//! The crate is pure Rust by default. The optional `python` feature adds the
//! PyO3 bindings that back the [`las-rs`](https://pypi.org/project/las-rs/)
//! PyPI wheel; Rust consumers never pull PyO3 or numpy.
//!
//! # Quick start
//!
//! ```no_run
//! // Read from disk (encoding auto-detected).
//! let las = las_rs::read_file("welllog.las")?;
//!
//! // Header metadata.
//! println!("well: {:?}", las.well_value("WELL"));
//! println!("index unit: {:?}", las.index_unit);
//!
//! // Curve data (NULLs are NaN).
//! for name in las.curve_mnemonics() {
//! let n = las.curve_data(name).map_or(0, |d| d.len());
//! println!("{name}: {n} samples");
//! }
//! # Ok::<(), las_rs::LasError>(())
//! ```
//!
//! Parse from a string with [`parse`], or take full control of parsing via
//! [`ReadOptions`] + [`parse_with`] / [`read_file_with`].
pub use ;
pub use LASFile;
pub use LasError;
pub use ;
pub use NullPolicy;
pub use ;