cgre-aachen / gempy_workshops Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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?
Hello,
I was going through the 2021 tutuorial, and am getting an error on pooch.retrieve
. Are the data still at the given url?
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.