resfo-utilities 0.1.0__py3-none-any.whl → 0.1.1__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.
Potentially problematic release.
This version of resfo-utilities might be problematic. Click here for more details.
- resfo_utilities/_cornerpoint_grid.py +6 -2
- {resfo_utilities-0.1.0.dist-info → resfo_utilities-0.1.1.dist-info}/METADATA +1 -1
- resfo_utilities-0.1.1.dist-info/RECORD +7 -0
- resfo_utilities-0.1.0.dist-info/RECORD +0 -7
- {resfo_utilities-0.1.0.dist-info → resfo_utilities-0.1.1.dist-info}/WHEEL +0 -0
- {resfo_utilities-0.1.0.dist-info → resfo_utilities-0.1.1.dist-info}/licenses/LICENSE.md +0 -0
- {resfo_utilities-0.1.0.dist-info → resfo_utilities-0.1.1.dist-info}/top_level.txt +0 -0
|
@@ -531,8 +531,12 @@ class CornerpointGrid:
|
|
|
531
531
|
solutions = []
|
|
532
532
|
for point in points:
|
|
533
533
|
point = point
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
with warnings.catch_warnings():
|
|
535
|
+
warnings.simplefilter("ignore")
|
|
536
|
+
initial_guess = (
|
|
537
|
+
2 * (point - vertices[0]) / (vertices[7] - vertices[0]) - 1
|
|
538
|
+
)
|
|
539
|
+
initial_guess = np.clip(initial_guess, -1, 1)
|
|
536
540
|
np.nan_to_num(initial_guess, copy=False)
|
|
537
541
|
sol = scipy.optimize.least_squares(
|
|
538
542
|
residual(point),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: resfo-utilities
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A utility library for working with the output of reservoir simulators.
|
|
5
5
|
Author-email: Equinor <fg_sib-scout@equinor.com>
|
|
6
6
|
Maintainer-email: Eivind Jahren <ejah@equinor.com>, Håkon Steinkopf Søhoel <hsoho@equinor.com>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
resfo_utilities/__init__.py,sha256=AymNFhNg2Q8fQg2HfOFPDBlX2irU2fmizsSXf9YhWMg,205
|
|
2
|
+
resfo_utilities/_cornerpoint_grid.py,sha256=bBgCT1nEVl7jir3REGxQ20dKS9FAGqnrQLZEpAvoDBg,21801
|
|
3
|
+
resfo_utilities-0.1.1.dist-info/licenses/LICENSE.md,sha256=3IXI3x1RN4jDR2PonpWF1guc33zagcTgpq_VnboE3UU,7653
|
|
4
|
+
resfo_utilities-0.1.1.dist-info/METADATA,sha256=ju1jI3YTp-579bYJAIUGqv4424CCjWEswsouKARW994,2330
|
|
5
|
+
resfo_utilities-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
resfo_utilities-0.1.1.dist-info/top_level.txt,sha256=VjItoaJHqsDLhHEvCjEI5bN2sZy55tA-zlkl-CtggEU,16
|
|
7
|
+
resfo_utilities-0.1.1.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
resfo_utilities/__init__.py,sha256=AymNFhNg2Q8fQg2HfOFPDBlX2irU2fmizsSXf9YhWMg,205
|
|
2
|
-
resfo_utilities/_cornerpoint_grid.py,sha256=aY5af8X7n_A6rIribiI14vvzLUHd_EWZxP_ez6365PE,21661
|
|
3
|
-
resfo_utilities-0.1.0.dist-info/licenses/LICENSE.md,sha256=3IXI3x1RN4jDR2PonpWF1guc33zagcTgpq_VnboE3UU,7653
|
|
4
|
-
resfo_utilities-0.1.0.dist-info/METADATA,sha256=PgySjtZ9GZQKa4AGJGuB6RiGCNck5-U_j-C4hwQYltA,2330
|
|
5
|
-
resfo_utilities-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
-
resfo_utilities-0.1.0.dist-info/top_level.txt,sha256=VjItoaJHqsDLhHEvCjEI5bN2sZy55tA-zlkl-CtggEU,16
|
|
7
|
-
resfo_utilities-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|