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.2.2.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file las_geoh5-0.2.2.tar.gz.

File metadata

  • Download URL: las_geoh5-0.2.2.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Windows/10

File hashes

Hashes for las_geoh5-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bd24b2ef809194f16be7501c6724f1ca80f0d1402a96f848413fad41a10bd745
MD5 c0327d3f59e2e62c3ae0a9dc1f2613e9
BLAKE2b-256 25e80730f03672d75db6ea7055fa3bb26cbe0d446e737041019aaca9f2ce6b5c

See more details on using hashes here.

File details

Details for the file las_geoh5-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: las_geoh5-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Windows/10

File hashes

Hashes for las_geoh5-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7a9ff33a3720693d04197c715d38c3b4b316d550d64ae9e878167a4621f03ecb
MD5 c70d7bcc0440d3e3df381a6a2ee026e9
BLAKE2b-256 a7db85941848cc6f97a4742965493b24f6d7974a3756fd17f7d3cc7f74cfb043

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