Skip to main content

A Python library for reading LAS files.

Project description

lasfile

Library for reading CWLS Log ASCII Standard v. 1.2, 2.0, and 3.0 .las files.

Installation

pip install lasfile

Usage

Read LAS file

import lasfile

las = lasfile.LASFile(file_path='path/to/file.las')

View sections in LAS file

las.sections

View section data in LAS file

Using dot notation

As raw ascii text
las.well.raw_data
As pandas dataframe
las.well.df

Using dictionary notation

As raw ascii text
las['well']['raw_data']
As pandas dataframe
las['well']['df']

Errors

View all errors

las.errors

View specific errors

las.open_error
las.read_error
las.split_error
las.version_error
las.parse_error
las.validate_error

Check for errors

Check for only critical errors
lasfile.error_check(las)
Check for all errors
lasfile.error_check(las, critical_only=False)
LASSection objects can also be passed to error_check
lasfile.error_check(las.well)

License

MIT

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

lasfile-0.1.35.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

lasfile-0.1.35-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file lasfile-0.1.35.tar.gz.

File metadata

  • Download URL: lasfile-0.1.35.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for lasfile-0.1.35.tar.gz
Algorithm Hash digest
SHA256 3c02d7e4070ce3a1a6ea1c8547527646fe9d29bb6509d4c65257f4ccaf1b8595
MD5 ec41b013cdf28c2de798bff07c8328fb
BLAKE2b-256 f136cb555d5dbf4ddb96803b138f068300498e2fb22a184fa88d899eecbf0578

See more details on using hashes here.

File details

Details for the file lasfile-0.1.35-py3-none-any.whl.

File metadata

  • Download URL: lasfile-0.1.35-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for lasfile-0.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 cde0a34a45fc2f15864cd29747ab5b5b458b8a52eb06db567e1b93acb9abb2b6
MD5 a82ba6bc53de60285ce3e24d42ae1718
BLAKE2b-256 c36541cf38c749f8287221c21ee5e8445a503fe8af58eb7c0c65f66d6cc61245

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