Code Monkey home page Code Monkey logo

fast-dlis's Introduction

DLIS File Processing Suite

A fast way to check the number of logical files and the number of errors in a DLIS file.

Overview

The DLIS File Processing Suite is a Python-based tool designed for the efficient handling and analysis of Digital Log Interchange Standard (DLIS) files, commonly used in the oil and gas industry for well log data. This suite provides a set of tools for extracting metadata, processing frames, and summarizing the contents of .dlis files.

Entities

  • BeloFastFrame: Represents and processes individual frames in a DLIS file, extracting channel and index information.
  • BeloDlisFast: Aggregates multiple BeloFastFrame instances, facilitating batch processing of frames from DLIS files.
  • DlisFileWrapper: Wraps a DLIS file, storing metadata and error details for easy access and analysis.
  • SingleBeloProcessor: Provides static methods for loading DLIS files into DlisFileWrapper objects and generating BeloDlisFast objects for comprehensive file analysis.
  • General File Information Extraction: A utility function to extract general information from all .dlis files in a directory and save it as a JSON file.

Installation

To install the DLIS File Processing Suite, clone the repository and install the required dependencies:

git clone 
cd DLIS-File-Processing-Suite
pip install -r requirements.txt

Usage

The fast report rapidly processes and summarizes DLIS files, providing essential information like well names, file sizes, and error statuses in a concise, accessible format.

You can use this project in 2 ways. Using the command line interface or using the python API.

Command Line Interface

In the directory where the project is cloned, run the following command passing a path to a folder containg .dlis files:

make fast_report '<path_to_file>'

You will be presented with a terminal looking like this:

and then a chart, like this one:

Python API

In the project that you download this package, you can use the following API to process DLIS files.

Processing DLIS Files

Load a DLIS file into a wrapper:

from fastdlis.dlis_files import SingleBeloProcessor

dlis_wrapper = SingleBeloProcessor.load_dlis_wrapper('path/to/file.dlis')

Generate a report from the DLIS file:

from fastdlis.dlis_files import SingleBeloProcessor
report = SingleBeloProcessor.create_fast_report(dlis_wrapper)

fast-dlis's People

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.