GithubHelp home page GithubHelp logo

gempy_workshops's Introduction

NOTE:

The aim of this repository is to provide access to files during concrete workshops. This repository is not regularly tested and there is no guarantee that will be all time functional. For tutorials please refer to docs.gempy.org

Basic Introduction to GemPy

The intention of this repository is to introduct the main functionalities of GemPy and getting familiar with the API.

For more advanced trainings or especific consulting please contact Terranigma

Important Links

[WhiteBoard](https://terranigmasolutionscom.sharepoint.com/sites/TerranigmaSolutions/_layouts/OneNote.aspx?id=%2Fsites%2FTerranigmaSolutions%2FSiteAssets%2FTerranigma%20Solutions%20Notebook&wd=target%28Workshops.one%7C35B54950-5E32-4FD3-8C82-1FFD0B773E31%2FTransform%202022%7CB7CED3E2-C0D9-4D86-A77D-5790EA107406%2F%29 onenote:https://terranigmasolutionscom.sharepoint.com/sites/TerranigmaSolutions/SiteAssets/Terranigma%20Solutions%20Notebook/Workshops.one#Transform%202022&section-id={35B54950-5E32-4FD3-8C82-1FFD0B773E31}&page-id={B7CED3E2-C0D9-4D86-A77D-5790EA107406}&end)

gempy_workshops's People

Contributors

japhiolite avatar leguark avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gempy_workshops's Issues

bug on the `t21-gempy` workshop notebook

I am trying to reproduce the t21-gempy workshop notebook.

When I try to execute the following cell

wts = sb.reader.wells.WellyToSubsurfaceHelper(collar_df=collar, survey_df=survey, lith_df=lith)

I get the following error:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_25240/482279566.py in <module>
----> 1 wts = sb.reader.wells.WellyToSubsurfaceHelper(collar_df=collar, survey_df=survey, lith_df=lith)

~\miniconda3\envs\gempy\lib\site-packages\subsurface\reader\wells\pandas_to_welly.py in __init__(self, collar_df, survey_df, lith_df, attrib_dfs)
     52 
     53         if collar_df is not None: self.add_datum(collar_df)
---> 54         if survey_df is not None: self.add_deviation(survey_df)
     55         if lith_df is not None:  self.add_striplog(lith_df)
     56 

~\miniconda3\envs\gempy\lib\site-packages\subsurface\reader\wells\pandas_to_welly.py in add_deviation(self, deviations, td, method, update_deviation, azimuth_datum)
    173         for b in unique_borehole:
    174             w = self.p.get_well(b)
--> 175             w.location.add_deviation(deviations.loc[[b], ['md', 'inc', 'azi']],
    176                                      td=td,
    177                                      method=method,

~\miniconda3\envs\gempy\lib\site-packages\welly\location.py in add_deviation(self, deviation, td, method, update_deviation, azimuth_datum, course_length)
    242             None. Adds the position log to `well.location` in place.
    243         """
--> 244         dev_new, pos, dog = compute_position_log(deviation,
    245                                                  td,
    246                                                  method,

~\miniconda3\envs\gempy\lib\site-packages\welly\tools.py in compute_position_log(deviation, td, method, azimuth_datum, course_length)
     54 
     55     # Make wellpathpy deviation object.
---> 56     dev = wp.deviation(*deviation.T)
     57 
     58     # Compute position log.

~\miniconda3\envs\gempy\lib\site-packages\wellpathpy\position_log.py in __init__(self, md, inc, azi)
     23     """
     24     def __init__(self, md, inc, azi):
---> 25         md, inc, azi = checkarrays(md, inc, azi)
     26         self.md = np.copy(md)
     27         self.inc = np.copy(inc)

~\miniconda3\envs\gempy\lib\site-packages\wellpathpy\checkarrays.py in checkarrays(md, inc, azi)
     57 
     58     if not np.all(md[1:] > md[:-1]):
---> 59         raise ValueError('md must have strictly increasing values')
     60 
     61     return md, inc, azi

ValueError: md must have strictly increasing values

Any ideas on how to solve it, please?

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.