Skip to main content

Checking conformity of Log ASCII Standard (LAS) files to LAS 2.0 standard

Project description

lascheck

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

Derived from 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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lascheck-0.1.5.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

lascheck-0.1.5-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file lascheck-0.1.5.tar.gz.

File metadata

  • Download URL: lascheck-0.1.5.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for lascheck-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8868273238269d5d64b7b8ad94ea445261aa0ef2f4c663632b1d89d318b9841e
MD5 8104781c72a8df7d3f551f62b8f26d8a
BLAKE2b-256 76a2a9ffb4e83bf02c2b8aa146ef3077b57c1c8c5d61ff4af2a65f80ccc4409c

See more details on using hashes here.

File details

Details for the file lascheck-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: lascheck-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for lascheck-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 833a5eb0f7d9fdf8f56115fb4eec7f9d6a7dc1148f49a942a1dca65a06e5d16f
MD5 bc93839e92bb30d6960356c64d25e1f6
BLAKE2b-256 d341dbfcde8768e51ccd76dca304c56ccebb58f892f300c6cc8e74a733d72a1b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page