Coder Social home page Coder Social logo

abv-hub / las-util-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dcslagel/las-util-cpp

0.0 0.0 0.0 65 KB

LAS (Log Ascii Standard v2.0) parser in c++: beta-level-software

License: Apache License 2.0

C++ 87.38% C 1.61% Makefile 11.01%

las-util-cpp's Introduction

NAME

LAS-Util-Cpp - LAS parser in C++

TABLE-OF-CONTENTS

Caution: This is beta software!

basic LAS (Log Ascii Standard) well-log parser in c++

lasUtil partially reads a las formatted file.

The parser currently parses and displays the following sections:

  • Version
  • Well-Information
  • Curve
  • Parameter
  • Other

The current goal of LAS-Util are:

  • Parse LAS header meta-data records(lines)
  • Explore the LAS file format specifications
  • Explore design decisions related to CPP-Lang

LAS file format versions are written and maintained by
the Canadian Well Logging Society at
https://www.cwls.org/products/

Usage: lasUtil -f <las_filename> [-p <sections_to_print>]

Sections to print:
Specify which sections to display by listing the letters following '-p'

Letter Section
v Version Information Section
w Well Information Section
c Curve Section
p Log Parameter Section
o Other Section
a Drilling Data Section

Note: Currently validated with GNU's g++-9 compiler

git clone https://github.com/dcslagel/las-util-cpp
cd las-util-cpp/src  
make clean
make  
cd ..
./src/lasUtil -f examples/sample_2.0.las
  • Display help
    ./src/lasUtil -h

  • Display all sections of a given LAS file
    ./src/lasUtil -f examples/sample_2.0.las

  • Display only the well information section of a given LAS file
    ./src/lasUtil -p w -f examples/sample_2.0.las

  • Display the version and well information sections of a given LAS file
    ./src/lasUtil -p vw -f examples/sample_2.0.las

-f LAS file to parse

-p options for displaying section information

-h display help

las-util-cpp's project road-map is managed in github milestones at:

https://github.com/dcslagel/las-util-cpp/milestones

  1. The current work-in-progress milestone is 0.0.3:

https://github.com/dcslagel/las-util-cpp/milestone/5

  • Goals:
    • Add Add a REPL command loop
    • Add additional tests

To request and discuss a potential feature create an issue at:

Copyright (c) 2019, 2020 DC Slagel and contributors

las-util-cpp's People

Contributors

dcslagel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.