Skip to main content
Logo

PyPI version GitHub release license Documentation Status Build Status Codacy Badge codecov DOI

A Python package for pore pressure prediction using well log data and seismic velocity data.

DOI

Cite pyGeoPressure as:

Yu, (2018). PyGeoPressure: Geopressure Prediction in Python. Journal of Open Source Software, 3(30), 992, https://doi.org/10.21105/joss.00992

BibTex:

@article{yu2018pygeopressure,
  title = {{PyGeoPressure}: {Geopressure} {Prediction} in {Python}},
  author = {Yu, Hao},
  journal = {Journal of Open Source Software},
  volume = {3},
  pages = {922}
  number = {30},
  year = {2018},
  doi = {10.21105/joss.00992},
}

Features

  1. Overburden (or Lithostatic) Pressure Calculation
  2. Eaton's method and Parameter Optimization
  3. Bowers' method and Parameter Optimization
  4. Multivariate method and Parameter Optimization

Getting Started

Installation

pyGeoPressure is on PyPI:

pip install pygeopressure

Example

Pore Pressure Prediction using well log data

import pygeopressure as ppp

survey = ppp.Survey("CUG")

well = survey.wells['CUG1']

a, b = ppp.optimize_nct(well.get_log("Velocity"),
                        well.params['horizon']["T16"],
                        well.params['horizon']["T20"])
n = ppp.optimize_eaton(well, "Velocity", "Overburden_Pressure", a, b)

pres_eaton_log = well.eaton(np.array(well.get_log("Velocity").data), n)

fig, ax = plt.subplots()
ax.invert_yaxis()

pres_eaton_log.plot(ax, color='blue')
well.get_log("Overburden_Pressure").plot(ax, 'g')
ax.plot(well.hydrostatic, well.depth, 'g', linestyle='--')
well.plot_horizons(ax)
Logo

Documentation

Read the documentaion for detailed explanations, tutorials and references: https://pygeopressure.readthedocs.io/en/latest/

Contribute

Report Bugs

If you find a bug, please report it at Github Issues by opening a new issue with bug label.

Suggest Enhancements

If you have new ideas or need new features, you can request them by opening a new issue at Github Issues with enhancement label. We will see if we can work on it together.

Submit Pull Requests

If you would like to help fix known bugs, please submit a PR. (See The beginner's guide to contributing to a GitHub project, if you are new to Github).

Before creating a pull request, please try to make sure the tests pass and use numpy-style docstrings. (Please see the documentation on setting up the development environment https://pygeopressure.readthedocs.io/en/latest/install.html)

Support

If you have any questions, please open an issue at Github Issues with question label. Tell us about your question, we will provide assistance. And maybe we could add it to the documentation.

License

The project is licensed under the MIT license, see the file LICENSE for details.

Release files for pyGeoPressure 0.1.10

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

Source distribution (sdist)

Source distribution for pyGeoPressure 0.1.10
File Size Uploaded
pyGeoPressure-0.1.10.tar.gz 59.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyGeoPressure 0.1.10
File Interpreter ABI Platform
pyGeoPressure-0.1.10-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 116.0 kB

Release files / pyGeoPressure-0.1.10.tar.gz

Download URL pyGeoPressure-0.1.10.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
af4632cb72093434e7c971777f08d3f1d7ecdecec783feddc632ddbb217862ac
BLAKE2b-256 checksum
How to use checksums
4f1eda849d767850fe77e94eeddcbc41969f6221e85adf89238be1cc4fa91ca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

Release files / pyGeoPressure-0.1.10-py2.py3-none-any.whl

Download URL pyGeoPressure-0.1.10-py2.py3-none-any.whl
Size 56.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f0596f3026a8d4f86a54b2b4a1c2c2845e28413565d23f7bec394ce4c298a6c0
BLAKE2b-256 checksum
How to use checksums
25942c08862ac2266e8fda9685545b2eff41f3678c011329ec98b556de1cd92a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.8

2 release files

0.1.6

2 release files

0.1.5

2 release files

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