Metadata-Version: 2.1
Name: lascheck
Version: 0.1.5
Summary: Checking conformity of Log ASCII Standard (LAS) files to LAS 2.0 standard
Home-page: https://github.com/MandarJKulkarni/lascheck
Author: Mandar J Kulkarni.
Author-email: "Mandar J Kulkarni." <mjkool@gmail.com>
License: MIT License
Project-URL: Homepage, https://github.com/MandarJKulkarni/lascheck
Project-URL: Issues, https://github.com/MandarJKulkarni/lascheck/issues
Keywords: las,geophysics,version
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Filesystems
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.5
Description-Content-Type: text/markdown
License-File: LICENSE

# lascheck
Python library for checking conformity of Log ASCII Standard (LAS) files to standards

Derived from [lasio](https://github.com/kinverarity1/lasio)

Currently, supports checking against LAS 2.0 standard only

http://www.cwls.org/wp-content/uploads/2014/09/LAS_20_Update_Jan2014.pdf

Simple example

```
 >>> las = lascheck.read('sample.las')
 >>> las.check_conformity()
 >>> las.get_non_conformities()
```
The checks present in the package:

```
  The depth value divided by the step value must be a whole number.

  The index curve (i.e. first curve) must be depth, time or index.

  The only valid mnemonics for the index channel are DEPT, DEPTH, TIME, or INDEX.

  Time and date can be included in LAS 2.0 files provided that they are expressed as a number.

  "~V" must be the first section.

  Embedded blank lines anywhere in the section are forbidden

  "~V" is a required section.

   "~W" (also known as "WELL INFORMATION SECTION") is a required section.

  *"~C" *(also known as ~CURVE INFORMATION SECTION") is a required section.

  *"~A" *(also known as ~ASCII LOG DATA") is a required section.

  Only one *"~V" *section can occur in an LAS 2.0 file.

  ~V section must contain the lines: VERS, WRAP.

  Only one *"~W" *section can occur in an LAS 2.0 file.

  ~W section must contain the lines: "STRT", "STOP", "STEP", "NULL", "COMP", "WELL", "FLD", "LOC", "SRVC", "DATE".

  Only one *"~C" *section can occur in an LAS 2.0 file.

  Only one *"~P" *section can occur in an LAS 2.0 file.

  Only one *"~O" *section can occur in an LAS 2.0 file.

  The data section ~A is the last section in a file.
  
  The start depth (or time or index) value when divided by the step depth (or time or index) value must be a whole number.

  The stop depth (or time or index) value when divided by the step depth (or time or index) value must be a whole number.
  
  If the index is depth, the units must be M (metres), F (feet) or FT (feet).
```
