Survey#

Description of Survey…

Write about the Dip and Azimuth…


GeoAssistant Implementation#

Creation#

To create a single Survey instance:

from geoassistant import Survey

collar = Survey(name="MySurvey", hole_id="MyDrillhole",
                depth=[0, 100, 200], dip=[-85, 80, 80], azimuth=[45, 50, 45])

Or:

from geoassistant import Survey

collar = Survey(hole_id="MyDrillhole", dip=-90, azimuth=0)

Reading#

To read a csv file with multiple Survey intances:

from geoassistant import CollarsCollection

surveys = SurveysCollection.readSurveysCsvFile(filepath="./my_surveys.csv",
                                               id_key="HOLEID",
                                               dip_key="DIP", azimuth_key="AZIMUTH", depth_key="DEPTH",
                                               metadata_keys=["date"])

metadata_keys is useful to hold extra data sometimes included into surveys files.

To read a csv file containing the Survey of a single drill hole (TO IMPLEMENT):

from geoassistant import CollarsCollection

dh_survey = SurveysCollection.readSurveysCsvFile(filepath="./my_surveys.csv",
                                                 hole_id="MyDrillhole",
                                                 dip_key="DIP", azimuth_key="AZIMUTH", depth_key="DEPTH",
                                                 metadata_keys=["date"])

Writing#

To write a csv file from a Surveyss collection:

surveys.writeSurveysCsvFile(filepath="./my_surveys.csv")