fmu-sumo 2.6.0__py3-none-any.whl → 2.6.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.
- fmu/sumo/explorer/_version.py +2 -2
- fmu/sumo/explorer/objects/_search_context.py +2 -0
- fmu/sumo/explorer/objects/polygons.py +10 -2
- {fmu_sumo-2.6.0.dist-info → fmu_sumo-2.6.2.dist-info}/METADATA +1 -1
- {fmu_sumo-2.6.0.dist-info → fmu_sumo-2.6.2.dist-info}/RECORD +8 -8
- {fmu_sumo-2.6.0.dist-info → fmu_sumo-2.6.2.dist-info}/WHEEL +0 -0
- {fmu_sumo-2.6.0.dist-info → fmu_sumo-2.6.2.dist-info}/licenses/LICENSE +0 -0
- {fmu_sumo-2.6.0.dist-info → fmu_sumo-2.6.2.dist-info}/top_level.txt +0 -0
fmu/sumo/explorer/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '2.6.
|
|
32
|
-
__version_tuple__ = version_tuple = (2, 6,
|
|
31
|
+
__version__ = version = '2.6.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 6, 2)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -1569,6 +1569,7 @@ class SearchContext:
|
|
|
1569
1569
|
realization=True,
|
|
1570
1570
|
entity=entityuuid,
|
|
1571
1571
|
ensemble=ensemblename,
|
|
1572
|
+
column=columns,
|
|
1572
1573
|
)
|
|
1573
1574
|
|
|
1574
1575
|
if len(sc) != tot_hits:
|
|
@@ -1675,6 +1676,7 @@ class SearchContext:
|
|
|
1675
1676
|
realization=True,
|
|
1676
1677
|
entity=entityuuid,
|
|
1677
1678
|
ensemble=ensemblename,
|
|
1679
|
+
column=columns,
|
|
1678
1680
|
)
|
|
1679
1681
|
|
|
1680
1682
|
tot_reals = await sc.length_async()
|
|
@@ -28,7 +28,11 @@ class Polygons(Child):
|
|
|
28
28
|
import pandas as pd
|
|
29
29
|
|
|
30
30
|
try:
|
|
31
|
-
|
|
31
|
+
if self.format == "csv":
|
|
32
|
+
return pd.read_csv(self.blob)
|
|
33
|
+
if self.format == "parquet":
|
|
34
|
+
return pd.read_parquet(self.blob)
|
|
35
|
+
raise TypeError()
|
|
32
36
|
except TypeError as type_err:
|
|
33
37
|
raise TypeError(f"Unknown format: {self.format}") from type_err
|
|
34
38
|
|
|
@@ -42,6 +46,10 @@ class Polygons(Child):
|
|
|
42
46
|
import pandas as pd
|
|
43
47
|
|
|
44
48
|
try:
|
|
45
|
-
|
|
49
|
+
if self.format == "csv":
|
|
50
|
+
return pd.read_csv(await self.blob_async)
|
|
51
|
+
if self.format == "parquet":
|
|
52
|
+
return pd.read_parquet(await self.blob_async)
|
|
53
|
+
raise TypeError()
|
|
46
54
|
except TypeError as type_err:
|
|
47
55
|
raise TypeError(f"Unknown format: {self.format}") from type_err
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
fmu/__init__.py,sha256=ftS-xRPSH-vU7fIHlnZQaCTWbNvs4owJivNW65kzsIM,85
|
|
2
2
|
fmu/sumo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
fmu/sumo/explorer/__init__.py,sha256=Bc1wd1lQO3HP3tsVyPbqaesf2boZwGdtookWp8lmG-k,317
|
|
4
|
-
fmu/sumo/explorer/_version.py,sha256=
|
|
4
|
+
fmu/sumo/explorer/_version.py,sha256=K_PdMoDM3cnCth9l5Wj8Zgz4tHrD_dXoBfsMuI4VHeQ,704
|
|
5
5
|
fmu/sumo/explorer/cache.py,sha256=uvz8TciwBnDEwJIHa9wneC0WVWuzhUqyF3dzk4kvGNk,1037
|
|
6
6
|
fmu/sumo/explorer/explorer.py,sha256=_3nUTO1E_nf6jqpivjgjKcX6rX1fx_mIG76YOM8xb-8,2931
|
|
7
7
|
fmu/sumo/explorer/filters.py,sha256=_t2PmHeTY9XiBvQeEGM-BpudWUaxIfyUSdNyG70xfRU,875
|
|
@@ -10,7 +10,7 @@ fmu/sumo/explorer/objects/__init__.py,sha256=72G0yfWWMTXA-oZw5GMRkrWvQqAYfadjerE
|
|
|
10
10
|
fmu/sumo/explorer/objects/_child.py,sha256=I-TVxC5JhmcuCAkj1A_dK-cUzvbQarbonX1zq59d0ZU,6088
|
|
11
11
|
fmu/sumo/explorer/objects/_document.py,sha256=UR607n9N33vYaTSsYQoMmJUgnmS3To_uVyRSf7Vxulo,1797
|
|
12
12
|
fmu/sumo/explorer/objects/_metrics.py,sha256=Z7iJ8qmvH3iY5dsSf6At_AFIzITyM0rDfum_oGmUFG8,9989
|
|
13
|
-
fmu/sumo/explorer/objects/_search_context.py,sha256=
|
|
13
|
+
fmu/sumo/explorer/objects/_search_context.py,sha256=xZq04B0op2Rko-qcsvEqs8SHRFZh_uJYTV6ZXZcNRXY,66564
|
|
14
14
|
fmu/sumo/explorer/objects/case.py,sha256=fKp7X43ETLE1RaH3rMYxZiIuduRmf0JSnJ5gRoUgNPE,3813
|
|
15
15
|
fmu/sumo/explorer/objects/cases.py,sha256=i2bnvk7NWIkzbdWMs3BXU7TCqD5tH2r7pg1m1QXUj3o,561
|
|
16
16
|
fmu/sumo/explorer/objects/cpgrid.py,sha256=nuRgZ6FVEOPZT1ibd-rJhlbYYZ6BuUxXZPzovcH0kVc,2548
|
|
@@ -21,13 +21,13 @@ fmu/sumo/explorer/objects/ensemble.py,sha256=MoGiXrtyVL8_cQt5vjh0rIA5bMMGRahPb28
|
|
|
21
21
|
fmu/sumo/explorer/objects/ensembles.py,sha256=uFtnWDgk316NRM_JvD1C7PK20gDOPQVQjCygPFhe3ZE,772
|
|
22
22
|
fmu/sumo/explorer/objects/iteration.py,sha256=vXaH6G93pNPvufgliqRSs4fpqgNvgxa7QI0G0ucgr_U,2784
|
|
23
23
|
fmu/sumo/explorer/objects/iterations.py,sha256=ZRQOxPl6MpX7JV7lfvtXp8mGLHl37pl3-F9YAXYfRgc,778
|
|
24
|
-
fmu/sumo/explorer/objects/polygons.py,sha256=
|
|
24
|
+
fmu/sumo/explorer/objects/polygons.py,sha256=0N6sKTOGkYO6augIbBObzdovCAIF5VtA_XDzbWvd3YY,1523
|
|
25
25
|
fmu/sumo/explorer/objects/realization.py,sha256=HK47WyX6kwe6ZoHaGHeTWEno86Wkh9THLOtEzOt1FGE,2483
|
|
26
26
|
fmu/sumo/explorer/objects/realizations.py,sha256=ojyQDZNEGubRE97z7c5WHK1ZnO267jsIureNeIzouAw,1120
|
|
27
27
|
fmu/sumo/explorer/objects/surface.py,sha256=zHBtjLCIfkRHBv39OeJjA9lq3puLTfTII6TndZTtxVI,1627
|
|
28
28
|
fmu/sumo/explorer/objects/table.py,sha256=vLor3YTddHkDWZSMyWPQsddFNQ2_VXE_O-stmPIWIaQ,4900
|
|
29
|
-
fmu_sumo-2.6.
|
|
30
|
-
fmu_sumo-2.6.
|
|
31
|
-
fmu_sumo-2.6.
|
|
32
|
-
fmu_sumo-2.6.
|
|
33
|
-
fmu_sumo-2.6.
|
|
29
|
+
fmu_sumo-2.6.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
30
|
+
fmu_sumo-2.6.2.dist-info/METADATA,sha256=3SA9YL-w9t4cFxKw7gDO-uRvgYhdYi3ugLt4Rj6qbQ8,14781
|
|
31
|
+
fmu_sumo-2.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
32
|
+
fmu_sumo-2.6.2.dist-info/top_level.txt,sha256=Z-FIY3pxn0UK2Wxi9IJ7fKoLSraaxuNGi1eokiE0ShM,4
|
|
33
|
+
fmu_sumo-2.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|