Code Monkey home page Code Monkey logo

welltrajconvert's Introduction

welltrajconvert

The welltrajconvert is a Python package that allows a user to take the bare minimum required wellbore survey information and return it's directional survey points including its latitude, longitude, TVD, XY offset, and UTM points.

welltrajconvert requires only the wellId, measured depth, inclination angle, azimuth degrees, surface latitude, and surface longitude points or surface UTM XY and associated CRS to calculate its survey points using a minimum curvature algorithm.

welltrajconvert calculates the following points along the wellbore: latitude_points, longitude_points, x_points, y_points, surface_x, surface_y, dogleg severity, tvd, e_w_deviaiton, n_s_deviation, zone_number, zone_letter, and isHorizontal, a categorical array defining if the well is horizontal or not.

The package can take a variety of data inputs ranging from csv, df, and json.

see https://welltrajconvert.readthedocs.io/en/latest/ for complete documentation.

Installation

Prerequisites: Python 3.7 or later.

It is recommended to install the most recent stable release of welltrajconvert from PyPI.

$ pip install welltrajconvert

Alternatively, you could install from source code. This will give you the latest, but unstable, version of welltrajconvert.

$ git clone https://github.com/bpamos/welltrajconvert.git
$ cd welltrajconvert/
$ pip install ./

Overview


  1. Create (and activate) a new environment, named welltrajconvert with Python 3.7. If prompted to proceed with the install (Proceed [y]/n) type y.

    • Linux or Mac:
    conda create -n welltrajconvert python=3.7
    source activate welltrajconvert
    
    • Windows:
    conda create --name welltrajconvert python=3.7
    activate welltrajconvert
    

    At this point your command line should look something like: (welltrajconvert) <User>:welltrajconvert <user>$. The (welltrajconvert) indicates that your environment has been activated, and you can proceed with further package installations.

welltrajconvert's People

Contributors

bpamos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

welltrajconvert's Issues

Bug in minimum curvature method

Hello, was just poking around and saw within your minimum curvature method , your beta has a small parentheses issue.

beta = np.arccos(
np.cos(inc_rad - inc_rad_shift - (np.sin(inc_rad_shift) *
np.sin(inc_rad) *
(1 - np.cos(azim_rad - azim_rad_shift))
)))

beta = np.arccos(
    np.cos(inc_rad - inc_rad_shift)
    - (np.sin(inc_rad_shift) * np.sin(inc_rad) * (1 - np.cos(azim_rad - azim_rad_shift)))
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.