Library for D programming language that provides tools to work with LAS (Well Log ASCII Standart) files.
Simple library for D to deal with well logs.
Documentation is available here
Author: Dmitriy Linev
License: MIT
- Import LAS files version 1, 2 and 3
auto loader = new Loader;
auto lasHeader = loader.loadLasHeader("path/to/file.las");
double start = lasHeader["STRT"].value.get!double;
double stop = lasHeader["STOP"].value.get!double;
double step = lasHeader["STEP"].value.get!double;
int nsamples = (stop - start) / step; // computes amount of samples in LAS file
auto lasData = loader.loadLasData("path/to/file.las");
auto md = data[0][]; // data is a 2D array of doubles so all cool D stuff can be applied
Directory | Contents |
---|---|
./source |
Source code. |
./test |
Unittest data. |
dlas is available in dub. If you're using dub run dub add dlas
in your project folder and dub will add dependency and fetch the latest version.