Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 819 Bytes

Tutorial.md

File metadata and controls

32 lines (19 loc) · 819 Bytes

TUTORIAL - Using 'petrodc'

Index

1. Wellbores

>>> import petrodc.npd as npd

>>> df = npd.wellbore(12)   # Get exploration dataset

# Selecting name, TVD, MD, and location (N and S)
>>> df = df[['wlbWellboreName','wlbFinalVerticalDepth','wlbTotalDepth','wlbNsDecDeg','wlbEwDesDeg']]    

2. Elevation

>>> import petrodc.usgs_eros as elev

>>> latitude, longitude = (55, 57), (3, 6)    # Setting coordinates

>>> c = elev.elevation(latitude, londitude)     # Request data

>>> c.plot()    # Plot 3D surface

Screenshot 2020-08-26 at 13 14 33