Skip to main content

geoprior1d

PyPI version Python versions License

1D geological prior generator for stochastic lithology and resistivity modeling.

Installation

From PyPI

pip install geoprior1d

From source

cd geoprior1d

# Basic installation
pip install .

# Development installation (editable mode)
pip install -e .

Quick Start

Command Line

# Copy example file and show usage (doesn't run, just prepares the file)
geoprior1d

# Then run with the copied example file
geoprior1d daugaard_standard.xlsx --plot

# Or use your own input file
geoprior1d input.xlsx -n 10000 -d 90 --plot

# With custom output filename
geoprior1d input.xlsx -n 10000 -d 90 -o my_output.h5

# With parallel processing (use all CPU cores)
geoprior1d input.xlsx -n 10000 -d 90 -j -1

# All options combined
geoprior1d input.xlsx -n 10000 -d 90 -s 1 --plot -j 4 -o output.h5

Python API

from geoprior1d import geoprior1d

# Generate priors
filename, flags = geoprior1d(
    input_data="daugaard_matlab.xlsx",
    Nreals=10000,
    dmax=90,
    dz=1,
    doPlot=1,
    n_processes=None,      # Optional: use -1 for all cores, or specify number
    output_file=None       # Optional: specify custom output filename
)

print(f"Output saved to: {filename}")

Input File Format

See CLAUDE.md for detailed format specification and code architecture.

Requirements

  • Python >= 3.8
  • numpy >= 1.20.0
  • h5py >= 3.0.0
  • matplotlib >= 3.3.0
  • pandas >= 1.2.0
  • scipy >= 1.6.0
  • tqdm >= 4.60.0
  • openpyxl >= 3.0.0

All dependencies are automatically installed via pip.

License

MIT License

Metadata

Release files for geoprior1d 1.0.1

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

Source distribution (sdist)

Source distribution for geoprior1d 1.0.1
File Size Uploaded Provenance Actions
geoprior1d-1.0.1.tar.gz 25.7 kB Without provenance Details for geoprior1d-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 58.1 kB

Release files / geoprior1d-1.0.1.tar.gz

Download URL geoprior1d-1.0.1.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2eecafca54d8eae3be561ccb4542221cf19ecd242dc6773dbb5edb42e0abf49d
BLAKE2b-256 checksum
How to use checksums
742d7dc0ee160089550673f8bcdbdc8fee4f034a1e7760cd8286d43fdd0b1628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / geoprior1d-1.0.1-py3-none-any.whl

Download URL geoprior1d-1.0.1-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
048c29a38829ad896952f5a467854b6878512351bc7bee4a727b25be1909fe8f
BLAKE2b-256 checksum
How to use checksums
dda9ccaca2abb1d717585e613991d0b2c616e9550d3b80849c51e27b2b258d54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for geoprior1d 1.0.1

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