subsurface-terra 2025.1.0rc13__py3-none-any.whl → 2025.1.0rc14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
subsurface/_version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2025.1.0rc13'
21
- __version_tuple__ = version_tuple = (2025, 1, 0, 'rc13')
20
+ __version__ = version = '2025.1.0rc14'
21
+ __version_tuple__ = version_tuple = (2025, 1, 0, 'rc14')
@@ -91,7 +91,10 @@ class BoreholeSet:
91
91
  def get_bottom_coords_for_each_lith(self) -> dict[Hashable, np.ndarray]:
92
92
  merged_df = self._merge_vertex_data_arrays_to_dataframe()
93
93
  component_lith_arrays = {}
94
- for lith, group in merged_df.groupby('component lith'):
94
+ groupby = merged_df.groupby('lith_ids')
95
+ if groupby.ngroups == 0:
96
+ raise ValueError("No components found")
97
+ for lith, group in groupby:
95
98
  lith = int(lith)
96
99
  first_vertices = group.groupby('well_id').last().reset_index()
97
100
  array = first_vertices[['X', 'Y', 'Z']].values
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: subsurface_terra
3
- Version: 2025.1.0rc13
3
+ Version: 2025.1.0rc14
4
4
  Summary: Subsurface data types and utilities. This version is the one used by Terranigma Solutions. Please feel free to take anything in this repository for the original one.
5
5
  Home-page: https://softwareunderground.github.io/subsurface
6
6
  Author: Software Underground
@@ -1,5 +1,5 @@
1
1
  subsurface/__init__.py,sha256=0D2rCUem3fiHsXFXXSmwheLiPS4cXxEdfWdFBj0b-cY,930
2
- subsurface/_version.py,sha256=1lurCdEDo2HbEJ3FeUJE9c-X8kSa6DF_wZvcWmCLx3U,550
2
+ subsurface/_version.py,sha256=6hCz-0xeTsPVqYirvA5x7rupXsfeGqd4ZcT7_v8NHgo,550
3
3
  subsurface/optional_requirements.py,sha256=Wg36RqxzPiLtN-3qSg5K9QVEeXCB0-EjSzHERAoO8EE,2883
4
4
  subsurface/api/__init__.py,sha256=E3R1fNn_d5XQdlZyjtzBcH_bYRzAvOc3xV38qFLqbZY,369
5
5
  subsurface/api/interfaces/__init__.py,sha256=rqUtJyMLicobcyhmr74TepjmUQAEmlazKT3vjV_n3aA,6
@@ -11,7 +11,7 @@ subsurface/core/geological_formats/__init__.py,sha256=jOyPsC3ZEMFljo9SGk0ym7cmBZ
11
11
  subsurface/core/geological_formats/fault.py,sha256=Zldf9VT4Gzo0NWe_UvBf5kOgxZtg2T9eWaWPqxeffWw,1547
12
12
  subsurface/core/geological_formats/boreholes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  subsurface/core/geological_formats/boreholes/_combine_trajectories.py,sha256=U5VribebcMAag0DOKnna983g1BXAGLKCddGra2g3Nos,5246
14
- subsurface/core/geological_formats/boreholes/boreholes.py,sha256=Q7KBYIk9M4-SZjDOVx5dMp8DnHBo4VTFrJ4jAKCmrJ8,5256
14
+ subsurface/core/geological_formats/boreholes/boreholes.py,sha256=bWGEPMFHPVyGO8Kv3uBo9U8_MLXlEEkdraXx86eURJY,5364
15
15
  subsurface/core/geological_formats/boreholes/collars.py,sha256=o1I8bS0XqWa2fS0n6XZVKXsuBHknXO2Z_5sdlFc_GAE,750
16
16
  subsurface/core/geological_formats/boreholes/survey.py,sha256=aaENR0ksT_lK0BYR7HL73KNZ44eo3Ag353xQdVcLOz0,16219
17
17
  subsurface/core/reader_helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -89,8 +89,8 @@ subsurface/modules/writer/to_rex/material_encoder.py,sha256=zGlqF9X_Civ9VvtGwo-I
89
89
  subsurface/modules/writer/to_rex/mesh_encoder.py,sha256=6TBtJhYJEAMEBHxQkbweXrJO1jIUx1ClM8l5ajVCrLc,6443
90
90
  subsurface/modules/writer/to_rex/to_rex.py,sha256=njsm2d3e69pRVfF_TOC_hexvXPmgNTZdJvhbnXcvyIo,3800
91
91
  subsurface/modules/writer/to_rex/utils.py,sha256=HEpJ95LjHOK24ePpmLpPP5uFyv6i_kN3AWh031q-1Uc,379
92
- subsurface_terra-2025.1.0rc13.dist-info/licenses/LICENSE,sha256=GSXh9K5TZauM89BeGbYg07oST_HMhOTiZoEGaUeKBtA,11606
93
- subsurface_terra-2025.1.0rc13.dist-info/METADATA,sha256=K1xYEpRZttYYsycjsY58onE91vsou9A1-B3Z1gpDW6k,7094
94
- subsurface_terra-2025.1.0rc13.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
95
- subsurface_terra-2025.1.0rc13.dist-info/top_level.txt,sha256=f32R_tUSf83CfkpB4vjv5m2XcD8TmDX9h7F4rnEXt5A,11
96
- subsurface_terra-2025.1.0rc13.dist-info/RECORD,,
92
+ subsurface_terra-2025.1.0rc14.dist-info/licenses/LICENSE,sha256=GSXh9K5TZauM89BeGbYg07oST_HMhOTiZoEGaUeKBtA,11606
93
+ subsurface_terra-2025.1.0rc14.dist-info/METADATA,sha256=RrT1uQXG_FQJNwVpkyTo1ozaLYC3bPVZr1mU_SulRHA,7094
94
+ subsurface_terra-2025.1.0rc14.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
95
+ subsurface_terra-2025.1.0rc14.dist-info/top_level.txt,sha256=f32R_tUSf83CfkpB4vjv5m2XcD8TmDX9h7F4rnEXt5A,11
96
+ subsurface_terra-2025.1.0rc14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.0)
2
+ Generator: setuptools (80.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5