Skip to main content

Geosections (experimental)

PyPI version License: MIT Lifecycle: experimental Build: status codecov Formatting: ruff

Simple command line tool to create geological cross-sections from borehole and CPT data using .toml configuration files.

Installation

Install the latest release by:

pip install geosections

Or the latest (experimental) version of the main branch directly from GitHub using:

pip install git+https://github.com/Deltares-research/geosections.git

Usage

Every element that needs to plotted in a section is specified in a configuration .toml. Below is a simple example .toml that plots borehole data from a .parquet file and a AHN surface along a section line:

[settings] # General plot settings
column_width = 20 # Width of boreholes
fig_width = 11
fig_height = 7
grid = true

[line]
file = "my_line.shp"
crs = 28992 # Geosections uses this crs as default

[data.boreholes]
file = "my_boreholes.parquet"
max_distance_to_line = 50 # Meters

[[surface]]
file = "ahn_surface.tif"
style_kwds = { color = "r", label = "AHN surface" } # Matplotlib keyword arguments

[labels]
xlabel = "Distance (m)"
ylabel = "Depth (NAP)"

[colors]
Z = "gold"
K = "green"
V = "brown"

Next, create the cross-section by:

geosections plot my_settings.toml --save "my-section.png"

Metadata

Release files for geosections 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geosections 0.1.6
File Size Uploaded Provenance Actions
geosections-0.1.6.tar.gz 14.7 kB Without provenance Details for geosections-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geosections 0.1.6
File Interpreter ABI Platform Actions
geosections-0.1.6-py3-none-any.whl Python 3 none any Details for geosections-0.1.6-py3-none-any.whl

Total release size: 27.3 kB

Release files / geosections-0.1.6.tar.gz

Download URL geosections-0.1.6.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
622b1eb1613a73160463f60c25e33136c84735994a527ecdab7bdccd72b8e1af
BLAKE2b-256 checksum
How to use checksums
15558c9d0b75dfafc85af5272e21784d0f15a6af9ef34cb1ef3e91d7891bb473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / geosections-0.1.6-py3-none-any.whl

Download URL geosections-0.1.6-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
347e50fe6c38bb949524e1207edda4162c8f91d1f6ca7c89f8f114e73d33cc37
BLAKE2b-256 checksum
How to use checksums
24c1f1b1e002d72dfa861f3c0d115463e85859dc6973297f469ff971f4b28c72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for geosections 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page