Skip to main content

Las/Geoh5 conversion

Project description

Code coverage Maintainability pre-commit.ci status Documentation Status Coding style version on PyPI version status on PyPI Python versions

las-geoh5

Import/Export LAS files to/from geoh5 format.

This package allows for import and export of LAS files to and from a drillhole group. There is a module each for import and export operations. Each of these includes a driver and a ui.json that parameterizes the driver and renders a UI for use within Geoscience ANALYST Pro. Read on to learn how to install las-geoh5 and get started importing and exporting LAS files.

Documentation

Online documentation

Installation

Install las-geoh5 with pip from PyPI:

$ pip install las-geoh5

Or from a branch on github:

$ pip install --upgrade --force-reinstall https://github.com/MiraGeoscience/las-geoh5/archive/refs/heads/BRANCH_NAME.zip

(to use a tag rather than a branch, replace heads\BRANCH_NAME.zip by tags\TAG_NAME.zip)

Or from a local sources, after you have cloned the repository:

$ git clone https://github.com/MiraGeoscience/las-geoh5 [-b BRANCH_NAME]
$ pip install -e las-geoh5

Basic Usage

From Geoscience Analyst

The most convenient way to use this package is through Geoscience ANALYST Pro where the import files driver may be run from the file -> import menu.

All drivers may also be run from a ui.json file in Geoscience ANALYST Pro by either adding to the Python Scripts directory or drag and drop into the viewport. Defaulted ui.json files can be found in the uijson folder of the las-geoh5 project.

From command line

To run from command line, prepare first a JSON file with the parameters required for conversion.

Then execute with:

$ las_to_geoh5 parameters.json [-o output_geoh5]
$ geoh5_to_las parameters.json [-o output_dir]

where parameters.json is the path on disk to a JSON file with required input parameters.

If optional -o (or --out) value is not provided, the program will write out to the location specified by the JSON file.

License

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Third Party Software

The curve-apps Software may provide links to third party libraries or code (collectively “Third Party Software”) to implement various functions. Third Party Software does not comprise part of the Software. The use of Third Party Software is governed by the terms of such software license(s). Third Party Software notices and/or additional terms and conditions are located in the THIRD_PARTY_SOFTWARE.rst file.

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

las_geoh5-0.3.0b1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

las_geoh5-0.3.0b1-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file las_geoh5-0.3.0b1.tar.gz.

File metadata

  • Download URL: las_geoh5-0.3.0b1.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for las_geoh5-0.3.0b1.tar.gz
Algorithm Hash digest
SHA256 9c062cdbadb452786b328524d8ef583c38b549411d27bae1e8afc0140c3c3fe4
MD5 17e7c22f809a23cca57866c8b69d1d92
BLAKE2b-256 4cb5673d85572c6bfc11e9aeaa356bcc128b1ce448cb530bfb0ac602ea920498

See more details on using hashes here.

File details

Details for the file las_geoh5-0.3.0b1-py3-none-any.whl.

File metadata

  • Download URL: las_geoh5-0.3.0b1-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for las_geoh5-0.3.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 1bcc0b0dc2345b1b029d1fc5960720731d52f86943a5a50d4f0ceed81d02a8fa
MD5 0b2ef691b65ec5f214709e0036371565
BLAKE2b-256 f3ad324932a676772d28557f0e0fee5ddc7a13e41e377fb5ae216a3ebd79f8c8

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