Skip to content

A comprehensive Open Source repository for Petrophysics, providing tools, scripts, and resources for analyzing subsurface data. Ideal for geoscientists, engineers, and researchers working with porosity, permeability, and other petrophysical properties. Join us in advancing the science of subsurface exploration and reservoir characterization.

License

Notifications You must be signed in to change notification settings

Philliec459/Open-Source-Petrophysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open-Source-Petrophysics

A comprehensive Open Source repository for Petrophysics, providing tools, scripts, and resources for analyzing subsurface data. Ideal for geoscientists, engineers, and researchers working with porosity, permeability, and other petrophysical properties. Join us in advancing the science of subsurface exploration and reservoir characterization.

image

We have created this GitHub repository titled Open-Source-Petrophysics where we will be sharing specialized petrophysical tools, primarily written in Jupyter Notebooks, to document and streamline various processes. This repository will also include example datasets, and each notebook will feature links to run the code directly in Google Colab, allowing users to execute the notebooks without needing Python installed locally.

The goal of the Open-Source-Petrophysics repository is to consolidate various petrophysical tools and scripts into a focused, well-documented resource. Initially, the repository will serve as a launchpad for tools designed with one or two specific objectives, making them easy for others to try out and build upon. Over time, we’ll also develop more comprehensive workflows, like those we have shared in this repository.


Below are some topics for the petrophysical tools we are developing. Any topic highlighted in blue is a hyperlink to a python Colab-ready Jupyter Notebook accessible from that link. These notebooks can be run directly in the Colab environment using an ordinary web browser. As we develop more notebooks, the number of blue links will increase.

Clicking a link will first open the Jupyter Notebook in GitHub. Press the 'Open in Colab' button in the upper left corner to launch the notebook in Colab. While in Colab, the notebook will automatically load the necessary data files and any required python libraries. Ensure that you are logged into your Google account by checking the upper right corner of the webpage. If not, log in before running Colab. To execute the notebook, go to the top title bar of Colab, click on the 'Runtime' tab, and select 'Run all.' The notebook will upload all necessary data files and run the Python code. The process may take a few minutes, but we've tested it in our environment, and Colab usually works fine. When finished, we suggest that in the "Runtime" column, click on "Disconnect and delete runtime" to end your CoLab session. That is it.

Traditional Petrophysical Analysis

Shaley Sand Log Analysis

  • Shaley Sand Workflow
    • Hodges-Lehmann Multiple Shale Indicator method used to model Clay Bound Water, PHIE and Qv.
    • Calculate Clay Bound Water, PHIE and Qv for Waxman-Smits saturation analysis using Panel interactive widgets.

Permeability and Core Data Interrogation

Field Studies

Carbonate and Clastic Workflows

  • Comprehensive Carbonate workflow for reservoir characterization using a new, comprehensive carbonate reservoir characterization database from Costa, Geiger and Arnold(1). This repository has 17 wells from Costa Field, and a single Jupyter Notebook that performs the following tasks:
    • Load las file using lasio
    • Visualize Data Extent using Andy McDonald's methods
    • Calculate Total Porosity from digitized Chart Book data using Knn
    • Calculate Water Saturation using Interactive Pickett Plot tool from Panel
    • Optimization of log response functions to model lithology
    • Model Permeability using kNN
    • Estimate Thomeer Capillary Pressure parameters from PHIT and Knn Permeability using Knn again
    • Perform Free Water Level (FWL) search on subject well
    • Estimate Capillary Pressure based saturations from Thomeer parameters and and height above FWL
    • Export results to Excel and las files
    • Workflow in a Geolog Project with python Loglans
  • Interactive workflows for Waxman-Smits saturation analysis Workflow in a Geolog Project with python Loglans
  • Interactive Passey methods used in unconventional well log analysis

Miscellaneous

Additional Open Source Petrophysical Sites:



HOW TO RUN JUPYTER NOTEBOOKS IN COLAB:

  1. If you click on the Jupyter Notebook links that we have provided, then you will see the following type of image while you are still in GitHub. Click on the banner "Open in CoLab" at the top. This will then open the notebook in Google CoLab. Look to the far upper right corner of the web page to make sure that you are logged into your Google account. If not, then login before trying to run CoLab.

Image

  1. On the top title bar of CoLab there is a label called "Runtime"(second image below). Click on this and then click on "Run all". That is it. The notebook should upload all of the data files, load the necessary python libraries and run the python notebook. It could take a few minutes, but we have tested each notebook in this environment, and CoLab works well most of the time. If you have any issues, then click on Run all again. That should take care of the problem unless the CoLab network is extremely busy.

Image

  1. When finished, then we suggest in the "Runtime" tab, click on "Disconnect and delete runtime" to end your CoLab session. This will delete all of the data and terminate the runtime.


REFERENCES:

  1. Xu, C., Torres-Verdín, C. Pore System Characterization and Petrophysical Rock Classification Using a Bimodal Gaussian Density Function. Math Geoscience 45, 753–771 (2013). https://doi.org/10.1007/s11004-013-9473-2
  2. Costa Gomes J, Geiger S, Arnold D. The Design of an Open-Source Carbonate Reservoir Model. Petroleum Geoscience, https://doi.org/10.1144/petgeo2021-067
  3. Phillips, E. C., Buiting, J. M., Clerke, E. A, “Full Pore System Petrophysical Characterization Technology for Complex Carbonate Reservoirs – Results from Saudi Arabia”, AAPG, 2009 Extended Abstract.
  4. Clerke, E. A., Mueller III, H. W., Phillips, E. C., Eyvazzadeh, R. Y., Jones, D. H., Ramamoorthy, R., Srivastava, A., (2008) “Application of Thomeer Hyperbolas to decode the pore systems, facies and reservoir properties of the Upper Jurassic Arab D Limestone, Ghawar field, Saudi Arabia: A Rosetta Stone approach”, GeoArabia, Vol. 13, No. 4, p. 113-160, October 2008.
  5. .J.M. Buiting, Fully Upscaled Saturation-Height Functions for Reservoir Modeling Based on Thomeer's Method for Analyzing Capillary Pressure Measurements, SPE Paper 105139, 2007.
  6. J.J.M. Buiting, E.A. Clerke, Permeability from Porosimetry Measurements: Derivation for a Tortuous and Fractal Tubular Bundle, Journal of Petroleum Science and Engineering, 108 (2013), 267–278.

About

A comprehensive Open Source repository for Petrophysics, providing tools, scripts, and resources for analyzing subsurface data. Ideal for geoscientists, engineers, and researchers working with porosity, permeability, and other petrophysical properties. Join us in advancing the science of subsurface exploration and reservoir characterization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published