Skip to main content

pyGeoPressure: Tools for geopressure prediction

Project description

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.

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

pyGeoPressure-0.1.10.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

pyGeoPressure-0.1.10-py2.py3-none-any.whl (56.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyGeoPressure-0.1.10.tar.gz.

File metadata

  • Download URL: pyGeoPressure-0.1.10.tar.gz
  • Upload date:
  • Size: 59.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyGeoPressure-0.1.10.tar.gz
Algorithm Hash digest
SHA256 af4632cb72093434e7c971777f08d3f1d7ecdecec783feddc632ddbb217862ac
MD5 c3703b0e1bc9b7fd721410b06123f19b
BLAKE2b-256 4f1eda849d767850fe77e94eeddcbc41969f6221e85adf89238be1cc4fa91ca9

See more details on using hashes here.

File details

Details for the file pyGeoPressure-0.1.10-py2.py3-none-any.whl.

File metadata

  • Download URL: pyGeoPressure-0.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for pyGeoPressure-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0596f3026a8d4f86a54b2b4a1c2c2845e28413565d23f7bec394ce4c298a6c0
MD5 776432381c38454bf87c4f35747fe595
BLAKE2b-256 25942c08862ac2266e8fda9685545b2eff41f3678c011329ec98b556de1cd92a

See more details on using hashes here.

Supported by

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