Welcome to dlisio. dlisio is a python package for reading Digital Log Interchange Standard (DLIS) v1. Version 2 exists, and has been around for quite a while, but it is our understanding that most dlis files out there are still version 1. Hence dlisio’s focus is put on version 1 [1], for now.
As of version 0.3.0, dlisio is extended to also read Log Information Standard 79 (LIS79) [2]. An extended version of the LIS79 standard called LIS84/Enhanced LIS exists, but this version is currently not supported by dlisio.
Before you get started we recommended that you familiarize yourself with some basic concepts of the DLIS- and LIS file formats. These are non-trivial formats and some knowledge about them is required for effective work. A good place to start is the user guides: DLIS User Guide and LIS User Guide.
Warning
DLIS and LIS files are often “wrapped” in “container”-formats. Essentially this is just extra information needed for the file to be correctly read by a tape-reader and does not add anything to the well-logs themselves. Maybe the most common one is the TapeImageFormat (TIF). TIF is automatically detected by dlisio and both DLIS and LIS files wrapped in TIF can be read without any special care from the user. There are other container formats or TIF-modifications with unknown origins that dlisio does not support. DLIS and LIS files using these formats or modifications will fail to read.
Installation#
dlisio can be installed with pip
$ python3 -m pip install dlisio
Alternatively, you can grab the latest source code from GitHub.
About the project#
dlisio attempts to abstract away a lot of the pain of LIS and DLIS and give access to the data in a simple and easy-to-use manner. It gives the user the ability to work with these files without having to know all the details of the standard itself. Its main focus is making the data accessible while putting little assumptions on how the data is to be used.
dlisio is written and maintained by Equinor ASA as a free, simple, easy-to-use library to read well logs that can be tailored to our needs, and as a contribution to the open-source community.
dlisio is divided into 3 subpackages:
dlisio.dlis
, Digital Log Interchange Standarddlisio.lis
, Log Interchange Standarddlisio.common
, Common API Reference
Table of Contents#
Digital Log Interchange Standard
Log Interchange Standard
- LIS Specification
- LIS User Guide
- LIS API Reference
- Load a LIS-file
- LIS Physical File
- LIS Logical File
LogicalFile
LogicalFile.path
LogicalFile.io
LogicalFile.index
LogicalFile.reel
LogicalFile.tape
LogicalFile.close()
LogicalFile.data_format_specs()
LogicalFile.flic_comment()
LogicalFile.header()
LogicalFile.job_identification()
LogicalFile.operator_command_inputs()
LogicalFile.operator_response_inputs()
LogicalFile.parse_records()
LogicalFile.system_outputs_to_operator()
LogicalFile.tool_string_info()
LogicalFile.trailer()
LogicalFile.wellsite_data()
- LIS Curves
- LIS Logical Records
- File Header (FHLR)
- File Trailer (FTLR)
- Tape Header (THLR)
- Tape Trailer (TTLR)
- Reel Header (RHLR)
- Reel Trailer (RTLR)
- Data Format Specification
DataFormatSpec
DataFormatSpec.absent_value
DataFormatSpec.depth_mode
DataFormatSpec.depth_reprc
DataFormatSpec.depth_units
DataFormatSpec.direction
DataFormatSpec.entries
DataFormatSpec.frame_size
DataFormatSpec.index_mnem
DataFormatSpec.index_units
DataFormatSpec.max_frames
DataFormatSpec.optical_log_depth_units
DataFormatSpec.record_type
DataFormatSpec.reference_point
DataFormatSpec.reference_point_units
DataFormatSpec.sample_rates()
DataFormatSpec.spacing
DataFormatSpec.spacing_units
DataFormatSpec.spec_block_subtype
DataFormatSpec.spec_block_type
DataFormatSpec.specs
- Job Identification
- Tool String Info
- Wellsite Data
- Operator Command Inputs
- Operator Response Inputs
- System Outputs to Operator
- FLIC Comment
- LIS Structures
dlisio.core.spec_block_0
dlisio.core.spec_block_0.mnemonic
dlisio.core.spec_block_0.service_id
dlisio.core.spec_block_0.service_order_nr
dlisio.core.spec_block_0.units
dlisio.core.spec_block_0.file_nb
dlisio.core.spec_block_0.reserved_size
dlisio.core.spec_block_0.samples
dlisio.core.spec_block_0.reprc
dlisio.core.spec_block_0.api_log_type
dlisio.core.spec_block_0.api_curve_type
dlisio.core.spec_block_0.api_curve_class
dlisio.core.spec_block_0.api_modifier
dlisio.core.spec_block_0.process_level
dlisio.core.spec_block_1
dlisio.core.spec_block_1.mnemonic
dlisio.core.spec_block_1.service_id
dlisio.core.spec_block_1.service_order_nr
dlisio.core.spec_block_1.units
dlisio.core.spec_block_1.file_nb
dlisio.core.spec_block_1.reserved_size
dlisio.core.spec_block_1.samples
dlisio.core.spec_block_1.reprc
dlisio.core.spec_block_1.api_codes
dlisio.core.spec_block_1.process_indicators
dlisio.core.process_indicators
dlisio.core.process_indicators.original_logging_direction
dlisio.core.process_indicators.true_vertical_depth_correction
dlisio.core.process_indicators.data_channel_not_on_depth
dlisio.core.process_indicators.data_channel_is_filtered
dlisio.core.process_indicators.data_channel_is_calibrated
dlisio.core.process_indicators.computed
dlisio.core.process_indicators.derived
dlisio.core.process_indicators.tool_defined_correction_nb_2
dlisio.core.process_indicators.tool_defined_correction_nb_1
dlisio.core.process_indicators.mudcake_correction
dlisio.core.process_indicators.lithology_correction
dlisio.core.process_indicators.inclinometry_correction
dlisio.core.process_indicators.pressure_correction
dlisio.core.process_indicators.hole_size_correction
dlisio.core.process_indicators.temperature_correction
dlisio.core.process_indicators.auxiliary_data_flag
dlisio.core.process_indicators.schlumberger_proprietary
dlisio.core.component_block
InformationRecord
- Utilities