resqpy 4.17.1__py3-none-any.whl → 4.17.2__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.
resqpy/__init__.py CHANGED
@@ -28,6 +28,6 @@
28
28
 
29
29
  import logging
30
30
 
31
- __version__ = "4.17.1" # Set at build time
31
+ __version__ = "4.17.2" # Set at build time
32
32
  log = logging.getLogger(__name__)
33
33
  log.info(f"Imported resqpy version {__version__}")
@@ -1166,9 +1166,9 @@ def find_faces_to_represent_surface_regular_optimised(grid,
1166
1166
  # NB. following assumes faces have been added to gcs in a particular order!
1167
1167
  if return_triangles:
1168
1168
  # log.debug('preparing triangles array')
1169
- k_triangles = np.emptry((0,), dtype = np.int32) if k_props is None else k_props.pop(0)
1170
- j_triangles = np.emptry((0,), dtype = np.int32) if j_props is None else j_props.pop(0)
1171
- i_triangles = np.emptry((0,), dtype = np.int32) if i_props is None else i_props.pop(0)
1169
+ k_triangles = np.empty((0,), dtype = np.int32) if k_props is None else k_props.pop(0)
1170
+ j_triangles = np.empty((0,), dtype = np.int32) if j_props is None else j_props.pop(0)
1171
+ i_triangles = np.empty((0,), dtype = np.int32) if i_props is None else i_props.pop(0)
1172
1172
  all_tris = np.concatenate((k_triangles, j_triangles, i_triangles), axis = 0)
1173
1173
  # log.debug(f'gcs count: {gcs.count}; all triangles shape: {all_tris.shape}')
1174
1174
  assert all_tris.shape == (gcs.count,)
@@ -1176,9 +1176,9 @@ def find_faces_to_represent_surface_regular_optimised(grid,
1176
1176
  # NB. following assumes faces have been added to gcs in a particular order!
1177
1177
  if return_depths:
1178
1178
  # log.debug('preparing depths array')
1179
- k_depths = np.emptry((0,), dtype = np.float64) if k_props is None else k_props.pop(0)
1180
- j_depths = np.emptry((0,), dtype = np.float64) if j_props is None else j_props.pop(0)
1181
- i_depths = np.emptry((0,), dtype = np.float64) if i_props is None else i_props.pop(0)
1179
+ k_depths = np.empty((0,), dtype = np.float64) if k_props is None else k_props.pop(0)
1180
+ j_depths = np.empty((0,), dtype = np.float64) if j_props is None else j_props.pop(0)
1181
+ i_depths = np.empty((0,), dtype = np.float64) if i_props is None else i_props.pop(0)
1182
1182
  all_depths = np.concatenate((k_depths, j_depths, i_depths), axis = 0)
1183
1183
  # log.debug(f'gcs count: {gcs.count}; all depths shape: {all_depths.shape}')
1184
1184
  assert all_depths.shape == (gcs.count,)
@@ -1186,9 +1186,9 @@ def find_faces_to_represent_surface_regular_optimised(grid,
1186
1186
  # NB. following assumes faces have been added to gcs in a particular order!
1187
1187
  if return_offsets:
1188
1188
  # log.debug('preparing offsets array')
1189
- k_offsets = np.emptry((0,), dtype = np.float64) if k_props is None else k_props[0]
1190
- j_offsets = np.emptry((0,), dtype = np.float64) if j_props is None else j_props[0]
1191
- i_offsets = np.emptry((0,), dtype = np.float64) if i_props is None else i_props[0]
1189
+ k_offsets = np.empty((0,), dtype = np.float64) if k_props is None else k_props[0]
1190
+ j_offsets = np.empty((0,), dtype = np.float64) if j_props is None else j_props[0]
1191
+ i_offsets = np.empty((0,), dtype = np.float64) if i_props is None else i_props[0]
1192
1192
  all_offsets = _all_offsets(grid.crs, k_offsets, j_offsets, i_offsets)
1193
1193
  # log.debug(f'gcs count: {gcs.count}; all offsets shape: {all_offsets.shape}')
1194
1194
  assert all_offsets.shape == (gcs.count,)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: resqpy
3
- Version: 4.17.1
3
+ Version: 4.17.2
4
4
  Summary: Python API for working with RESQML models
5
5
  Home-page: https://github.com/bp/resqpy
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- resqpy/__init__.py,sha256=fUx0U_c8Cc-tXpgWWXbigv3JkaDDuAcnpg-ZSWY-z_8,556
1
+ resqpy/__init__.py,sha256=oaXzrJ3znGh09f_UOkvMYW4bc7G2CG9pIWjbSpDIKiM,556
2
2
  resqpy/crs.py,sha256=R7DfcTP5xGv5pu9Y8RHA2WVM9DjBCSVMoHcz4RmQ7Yw,27646
3
3
  resqpy/derived_model/__init__.py,sha256=NFvMSOKI3cxmH7lAbddV43JjoUj-r2G7ExEfOqinD1I,1982
4
4
  resqpy/derived_model/_add_edges_per_column_property_array.py,sha256=cpW3gwp6MSYIrtvFmCjoJXcyUsgGuCDbgmwlJCJebUs,6410
@@ -48,7 +48,7 @@ resqpy/grid/_write_nexus_corp.py,sha256=yEVfiObsedEAXX6UG6ZTf56kZnQVkd3lLqE2NpL-
48
48
  resqpy/grid/_xyz.py,sha256=RLQWOdM_DRoCj4JypwB5gUJ78HTdk5JnZHSeAzuU634,13087
49
49
  resqpy/grid_surface/__init__.py,sha256=rPr5zFFRmUDbMEhnCYsweSC3xugtQ8LnhZOf8JLIqIc,2765
50
50
  resqpy/grid_surface/_blocked_well_populate.py,sha256=Lme1AR-nLWOUlNnmHMVThk6jEg_lAZxWWtL82Yksppw,35867
51
- resqpy/grid_surface/_find_faces.py,sha256=Lfj3gQnLFtLhDBpDHKrVVIMuZSTVW3NJjEpM7N0WvUY,90018
51
+ resqpy/grid_surface/_find_faces.py,sha256=FeKfpGyUM-UjHJNEvtVOGMhEHq2OcywxwSjKJfioxLg,90009
52
52
  resqpy/grid_surface/_grid_skin.py,sha256=D0cjHkcuT5KCKb-8EZfXgh0GgJj3kzOBS2wVNXg4bfY,26056
53
53
  resqpy/grid_surface/_grid_surface.py,sha256=l2NJo7Kiucolbb_TlLPC7NGdksg_JahkihfsrJVq99w,14379
54
54
  resqpy/grid_surface/_trajectory_intersects.py,sha256=Och9cZYU9Y7ofovhPzsLyIblRUl2xj9_5nHH3fMZp-A,22498
@@ -194,7 +194,7 @@ resqpy/well/_wellbore_marker_frame.py,sha256=xvYH2_2Ie3a18LReFymbUrZboOx7Rhv5DOD
194
194
  resqpy/well/blocked_well_frame.py,sha256=eK7Ca6PcqI3pK-XurZIcXAV5Z4B9PFe6H8a7DqVkmBo,22560
195
195
  resqpy/well/well_object_funcs.py,sha256=tWufc8wahihzMEO-Ou1dncIttrf4bNo1qmLgh3I2pOM,24717
196
196
  resqpy/well/well_utils.py,sha256=zwpYjT85nXAwWBhYB1Pygu2SgouZ-44k6hEOnpoMfBI,5969
197
- resqpy-4.17.1.dist-info/LICENSE,sha256=2duHPIkKQyESMdQ4hKjL8CYEsYRHXaYxt0YQkzsUYE4,1059
198
- resqpy-4.17.1.dist-info/METADATA,sha256=hq9C949cG5WrhQV9bmNJLqYAAIiQf86U1ANfYCrYCLo,4028
199
- resqpy-4.17.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
200
- resqpy-4.17.1.dist-info/RECORD,,
197
+ resqpy-4.17.2.dist-info/LICENSE,sha256=2duHPIkKQyESMdQ4hKjL8CYEsYRHXaYxt0YQkzsUYE4,1059
198
+ resqpy-4.17.2.dist-info/METADATA,sha256=82xvzgf-VX_O4dY0-3dNaM8wiGxwnMcaP_dJg3cJ-EM,4028
199
+ resqpy-4.17.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
200
+ resqpy-4.17.2.dist-info/RECORD,,