Skip to main content

Subsurface data types and utilities. This version is the one used by Terranigma Solutions. Please feel free to take anything in this repository for the original one.

Project description

subsurface

DataHub for geoscientific data in Python. Two main purposes:

  • Unify geometric data into data objects (using numpy arrays as memory representation) that all the packages of the stack understand

  • Basic interactions with those data objects:

    • Write/Read
    • Categorized/Meta data
    • Visualization

Data Levels

The difference between data levels is not which data they store but which data they parse and understand. The rationale for this is to be able to pass along any object while keeping the I/O in subsurface::

            HUMAN

\‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾/
= = = = = = = = = = = = = = /. \ -> Additional context/meta information about the data = = = = geo_format= = = = /. .
= = = = = = = = = = = = /. . . \ -> Elements that represent some = = = geo_object= = = /. . . . \ geological concept. E.g: faults, seismic = = = = = = = = = = /. . . . ./ = = element = = = /. . . . / -> type of geometric object: PointSet, = = = = = = = = /. . . ./ TriSurf, LineSet, Tetramesh \primary_struct/. . . / -> Set of arrays that define a geometric object: = = = = = = /. . ./ e.g. StructuredData, UnstructuredData \DF/Xarray /. . / -> Label numpy.arrays = = = = /. ./ \array /. / -> Memory allocation = = /./ = // /

           COMPUTER

Documentation (WIP)

Note that subsurface is still in early days; do expect things to change. We welcome contributions very much, please get in touch if you would like to add support for subsurface in your package.

An early version of the documentation can be found here:

https://softwareunderground.github.io/subsurface/

Direct links:

  • Developers-guide <https://softwareunderground.github.io/subsurface/maintenance.html>_
  • Changelog <https://softwareunderground.github.io/subsurface/changelog.html>_

Installation

.. code-block:: console

pip install subsurface

or

.. code-block:: console

conda install -c conda-forge subsurface

Be aware that to read different formats you will need to manually install the specific dependency (e.g. welly to read well data).

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

subsurface_terra-2025.1.0rc15.tar.gz (226.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subsurface_terra-2025.1.0rc15-py3-none-any.whl (109.7 kB view details)

Uploaded Python 3

File details

Details for the file subsurface_terra-2025.1.0rc15.tar.gz.

File metadata

  • Download URL: subsurface_terra-2025.1.0rc15.tar.gz
  • Upload date:
  • Size: 226.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for subsurface_terra-2025.1.0rc15.tar.gz
Algorithm Hash digest
SHA256 2d580302d2723caa65f89c8dc560d74b6ceef0b8b9f241cd50c46a385d82d9f6
MD5 e5c694c917d3ced0cec3346bc82f8d96
BLAKE2b-256 69a791ef6f2cfc0ba2e1fb65705e6baf377cd895c82b70285abc3c6f49efc428

See more details on using hashes here.

File details

Details for the file subsurface_terra-2025.1.0rc15-py3-none-any.whl.

File metadata

File hashes

Hashes for subsurface_terra-2025.1.0rc15-py3-none-any.whl
Algorithm Hash digest
SHA256 ab94051c5ac1318096383d32f849bacb0da215924f08cccb6c4663f7bbc4aeb4
MD5 f93442d25ab85d0740d37d3668d2a9f5
BLAKE2b-256 58a960530c1a0948cb4c4a3f59578286d061a5fcff9ab77b82da9e4ff8e24da0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page