Name | lasfile JSON |
Version |
0.1.47
JSON |
| download |
home_page | None |
Summary | A Python library for reading LAS files. |
upload_time | 2024-04-11 22:42:08 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | None |
keywords |
las
cwls
las logs
petrophysical logs
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# lasfile
Library for reading CWLS Log ASCII Standard v. 1.2, 2.0, and 3.0 .las files.
## Installation
```bash
pip install lasfile
```
## Usage
### Read LAS file
```python
import lasfile
las = lasfile.LASFile(file_path='path/to/file.las')
```
#### In order for an lasfile to properly read, and pass a critical error check, it must have the following sections:
##### Version
##### Well
##### Curves
##### Data
### View sections in LAS file
```python
las.sections
```
### View section data in LAS file
#### Using dot notation
##### As raw ascii text
```python
las.well.raw_data
```
##### As pandas dataframe
```python
las.well.df
```
#### Using dictionary notation
##### As raw ascii text
```python
las['well']['raw_data']
```
##### As pandas dataframe
```python
las['well']['df']
```
### Errors
#### View all errors
```python
las.errors
```
#### View specific errors
```python
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
```python
lasfile.error_check(las)
```
##### Check for all errors
```python
lasfile.error_check(las, critical_only=False)
```
##### LASSection objects can also be passed to error_check
```python
lasfile.error_check(las.well)
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "lasfile",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "las, CWLS, las logs, petrophysical logs",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/08/a9/46a8b28edcb343e80a5be26c077af93fc8b1e8a7f18b1c35fce1310f2d38/lasfile-0.1.47.tar.gz",
"platform": null,
"description": "# lasfile\n Library for reading CWLS Log ASCII Standard v. 1.2, 2.0, and 3.0 .las files.\n\n## Installation\n```bash\npip install lasfile\n```\n\n## Usage\n### Read LAS file\n```python\nimport lasfile\n\nlas = lasfile.LASFile(file_path='path/to/file.las')\n```\n#### In order for an lasfile to properly read, and pass a critical error check, it must have the following sections:\n##### Version\n##### Well\n##### Curves\n##### Data\n\n### View sections in LAS file\n```python\nlas.sections\n```\n### View section data in LAS file\n#### Using dot notation\n##### As raw ascii text\n```python\nlas.well.raw_data\n```\n##### As pandas dataframe\n```python\nlas.well.df\n```\n#### Using dictionary notation\n##### As raw ascii text\n```python\nlas['well']['raw_data']\n```\n##### As pandas dataframe\n```python\nlas['well']['df']\n```\n\n### Errors\n#### View all errors\n```python\nlas.errors\n```\n\n#### View specific errors\n```python\nlas.open_error\nlas.read_error\nlas.split_error\nlas.version_error\nlas.parse_error\nlas.validate_error\n```\n\n#### Check for errors\n##### Check for only critical errors\n```python\nlasfile.error_check(las)\n```\n##### Check for all errors\n```python\nlasfile.error_check(las, critical_only=False)\n```\n##### LASSection objects can also be passed to error_check\n```python\nlasfile.error_check(las.well)\n```\n\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "A Python library for reading LAS files.",
"version": "0.1.47",
"project_urls": {
"homepage": "https://github.com/bzlmnop/lasfile"
},
"split_keywords": [
"las",
" cwls",
" las logs",
" petrophysical logs"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9bc88606ab8ef0ee1209e592d48552a037b78875d6dbdbf70a2f3f36a9bee65e",
"md5": "5b5fe988b3189aaa61f7eed9511e20da",
"sha256": "fa88ef7b0641e636d1603aa661bfe6d9764a296b9abb00284de036d1e2964413"
},
"downloads": -1,
"filename": "lasfile-0.1.47-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5b5fe988b3189aaa61f7eed9511e20da",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 21124,
"upload_time": "2024-04-11T22:42:07",
"upload_time_iso_8601": "2024-04-11T22:42:07.000728Z",
"url": "https://files.pythonhosted.org/packages/9b/c8/8606ab8ef0ee1209e592d48552a037b78875d6dbdbf70a2f3f36a9bee65e/lasfile-0.1.47-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08a946a8b28edcb343e80a5be26c077af93fc8b1e8a7f18b1c35fce1310f2d38",
"md5": "85728cb4c1efed14f1dc5346f4d40f67",
"sha256": "45809259c9e5c4c7e765ca92a1ed9fb1259d43bdcc868f449004858880690de0"
},
"downloads": -1,
"filename": "lasfile-0.1.47.tar.gz",
"has_sig": false,
"md5_digest": "85728cb4c1efed14f1dc5346f4d40f67",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 21739,
"upload_time": "2024-04-11T22:42:08",
"upload_time_iso_8601": "2024-04-11T22:42:08.459533Z",
"url": "https://files.pythonhosted.org/packages/08/a9/46a8b28edcb343e80a5be26c077af93fc8b1e8a7f18b1c35fce1310f2d38/lasfile-0.1.47.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-11 22:42:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bzlmnop",
"github_project": "lasfile",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "lasfile"
}