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
Project details
Release history Release notifications | RSS feed
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.33.tar.gz
(19.3 kB
view details)
Built Distribution
lasfile-0.1.33-py3-none-any.whl
(18.7 kB
view details)
File details
Details for the file lasfile-0.1.33.tar.gz
.
File metadata
- Download URL: lasfile-0.1.33.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a4b6d035e39a3f370e67a09a31f7b8d7d487fb520742de6f05182356f86823b |
|
MD5 | 15915ad917a7fc35f3f1d4936144b02d |
|
BLAKE2b-256 | 3a2e8f220c7fe17e338a4f823feb568ef0be35f978db57b62e0ed1e3d5fbd4ef |
File details
Details for the file lasfile-0.1.33-py3-none-any.whl
.
File metadata
- Download URL: lasfile-0.1.33-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f24b0483a898c416246ad8b4a5a8afeb5f4570162f1d5f94f1265651f05474 |
|
MD5 | 089dcf097d3e2602abf8d30a5c2a0525 |
|
BLAKE2b-256 | 97cb391893610af57c8b1cace1c6372fef699e763cbb3dff05da4b8a00b5c2cd |