We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t21-gempy
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to reproduce the
t21-gempy
workshop notebook.When I try to execute the following cell
I get the following error:
Any ideas on how to solve it, please?
The text was updated successfully, but these errors were encountered: