geoprior1d
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geoprior1d-1.0.0.tar.gz | 25.2 kB | Without provenance | Details for geoprior1d-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geoprior1d-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for geoprior1d-1.0.0-py3-none-any.whl |
Total release size: 57.3 kB
Release files / geoprior1d-1.0.0.tar.gz
| Download URL | geoprior1d-1.0.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a64d9e0a91980ff80866663f311ea0de8dcc459bfee29a8a13951b7b4798b46
|
|
BLAKE2b-256 checksum How to use checksums |
c0b49785dd933e9e4eb62603308dc00a1b85bf26d2a5eb542bee2116af535061
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / geoprior1d-1.0.0-py3-none-any.whl
| Download URL | geoprior1d-1.0.0-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82ff77a83fcc17d5df888104ed34378bad0c70e379741e1877a8804d77089edc
|
|
BLAKE2b-256 checksum How to use checksums |
eacfac9eb4447f19e81e816a7aa01b4eeca13c554977c2c146520d0e11d53882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for geoprior1d 1.0.0
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.