Working With Well Survey Data in Python Using wellpathpy

Sdílet
Vložit
  • čas přidán 5. 07. 2024
  • Depth is an essential measurement when working with subsurface data. It is used to tie multiple sets of data to a single reference. There are numerous depth references used to identify a position within the subsurface. These include Measured Depth (MD), True Vertical Depth (TVD), and True Vertical Depth Subsea (TVDSS).
    When wells are drilled, survey measurements are often taken to ensure that the well is going in the intended direction. This generates a dataset with sparse measurements containing the wellbore’s inclination (how deviated the wellbore is from vertical), azimuth relative to north, and the current measured depth.
    To convert this to regularly sampled data, similar to the sample rates used within well log measurements we need to apply trigonometric calculations
    Within this tutorial, we will see how we can use a Python library called wellpathpy to generate complete positional logs.
    If you prefer to follow along with a written tutorial, you can find the Medium article version here: / b8eb39773f64
    ⭐️ If you haven't already, make sure you subscribe to the channel: / @andymcdonald42
    ▼ --- SUPPORT THE CHANNEL --- ▼
    ☕️ BUY ME A COFFEE: www.buymeacoffee.com/andymcdo...
    ▼ --- GET THE LIBRARY -- ▼
    github.com/Zabamund/wellpathpy
    ▼ --- RECOMMENDED BOOKS --- ▼
    As an Amazon Associate I earn from qualifying purchases. By buying through any of the links below I will earn commission at no extra cost to you.
    PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
    UK: amzn.to/3HNycJ9
    US: amzn.to/3DL7qPv
    FUNDAMENTALS OF PETROPHYSICS
    UK: amzn.to/3l1PgSf
    PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
    UK: amzn.to/30UNWZS
    US: amzn.to/3DNqBbd
    WELL LOGGING FOR EARTH SCIENTISTS
    UK: amzn.to/3FHsbfn
    US: amzn.to/3CILAuE
    GEOLOGICAL INTERPRETATION OF WELL LOGS
    UK: amzn.to/3l2v2HV
    US: amzn.to/30UOTkU
    ▼ --- SOCIAL CHANNELS --- ▼
    Thanks for watching, if you want to connect you can find me at the links below:
    / andymcdonaldgeo
    / geoandymcd
    / andymcdonaldgeo
    www.andymcdonald.scot/
    Be sure to sign up for my newsletter to be kept updated when I post and share new content on CZcams and Medium.
    www.getrevue.co/profile/andym...
    #datascience #petrophysics #python #geoscience #welldrilling
  • Věda a technologie

Komentáře • 9

  • @vitorribeirosa
    @vitorribeirosa Před rokem

    THanks for sharing this content. Your channel has helped me to get new insights about my data and projects.
    I am a fan of your work.
    Cheers fro Japan!!!

  • @ramist4976
    @ramist4976 Před rokem +2

    Your videos are very interesting and helpful Andy!
    I have a request, can you make a video about the complete petrophysical calculation (shale volume, porosity, water saturation, permeability) in python? thank you...

  • @chibuzorahumaraeze418

    I want to plot multiple well trajectories in one 3D plots. Their survey data are all in separate files

  • @jag925
    @jag925 Před rokem

    Hi Andy, Thanks for another awesome video! Unfortnately, I run into a problem with the "resampled_dev = pos.deviation"
    It returns a greater value for depths and when plotting resampled_dev over dev, I get a zigzag pattern/ all over the place? After reading all your available material on the topic I'm still a bit stuck. Any help would be much appreciated!

    • @AndyMcDonald42
      @AndyMcDonald42  Před rokem +1

      I haven't seen that occur before. Were you able to resolve the issue or is it still occurring?
      If it is still occurring, it may be best to raise a ticket on the wellpathpy repo: github.com/Zabamund/wellpathpy/tree/master/wellpathpy
      These guys would be able to provide more help.
      Off the top of my head, I would be checking the sample rate you used and checking the actual values of the arrays that are generated.

  • @flcabo
    @flcabo Před rokem

    hello Andy, i have a list of 100+ wells with their own name IDs and the directional/survey data. I would like to process them all at once to generate the "Northing", "Easting" and "TVDSS" coordinates. Can you give some tips on how to do it on wellpathpy ?

    • @flcabo
      @flcabo Před rokem

      Also, thank you very much for this great content

    • @AndyMcDonald42
      @AndyMcDonald42  Před rokem

      That’s an interesting one. Are all the wells in a single CSV? If so I would consider using pandas groupby option and then loop through each group.
      If they are separate CSV files, then you could try reading each file, process it and save out the results all within a loop.

    • @flcabo
      @flcabo Před rokem

      @@AndyMcDonald42 thank you fo answering. All the wells are contained in 2 CSV files, 1 containing the wellhead coordinates and the other containing the surveys, both of them have a same WELL_ID field that can be used to correlate them.