fmu-sumo 2.3.9__tar.gz → 2.4.0__tar.gz
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-2.3.9 → fmu_sumo-2.4.0}/PKG-INFO +1 -1
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/_version.py +2 -2
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/cases.py +1 -3
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/ensembles.py +2 -16
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/iterations.py +1 -4
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/realizations.py +1 -4
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu_sumo.egg-info/PKG-INFO +1 -1
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.github/pull_request_template.md +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.github/workflows/build_docs.yaml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.github/workflows/check_formatting.yml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.github/workflows/publish_release.yaml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.github/workflows/run_tests.yaml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.gitignore +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.pre-commit-config.yaml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/.readthedocs.yml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/CONTRIBUTING.md +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/LICENSE +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/README.md +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/SECURITY.md +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/_static/equinor-logo.png +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/_static/equinor-logo2.jpg +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/_static/equinor_logo.jpg +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/_static/equinor_logo_only.jpg +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/_templates/layout.html +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/conf.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/explorer.rst +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/docs/index.rst +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/explorer.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/explorer2.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/grids-and-properties.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/metrics.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/table-aggregation.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/examples/tables.ipynb +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/pyproject.toml +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/setup.cfg +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/__init__.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/__init__.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/__init__.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/cache.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/explorer.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/filters.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/__init__.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/_child.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/_document.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/_metrics.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/_search_context.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/case.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/cpgrid.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/cpgrid_property.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/cube.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/dictionary.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/ensemble.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/iteration.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/polygons.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/realization.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/surface.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/objects/table.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu/sumo/explorer/timefilter.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu_sumo.egg-info/SOURCES.txt +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu_sumo.egg-info/dependency_links.txt +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu_sumo.egg-info/requires.txt +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/src/fmu_sumo.egg-info/top_level.txt +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/tests/conftest.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/tests/context.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/tests/test_explorer.py +0 -0
- {fmu_sumo-2.3.9 → fmu_sumo-2.4.0}/tests/test_objects_table.py +0 -0
|
@@ -16,8 +16,6 @@ class Cases(SearchContext):
|
|
|
16
16
|
return
|
|
17
17
|
|
|
18
18
|
def filter(self, **kwargs):
|
|
19
|
-
sc =
|
|
20
|
-
self._sumo, must=[{"terms": {"fmu.case.uuid.keyword": self._hits}}]
|
|
21
|
-
).filter(**kwargs)
|
|
19
|
+
sc = super().filter(**kwargs)
|
|
22
20
|
uuids = sc.get_field_values("fmu.case.uuid.keyword")
|
|
23
21
|
return Cases(sc, uuids)
|
|
@@ -11,17 +11,6 @@ class Ensembles(SearchContext):
|
|
|
11
11
|
self._hits = uuids
|
|
12
12
|
return
|
|
13
13
|
|
|
14
|
-
# def __str__(self) -> str:
|
|
15
|
-
# length = len(self)
|
|
16
|
-
# if length == 0:
|
|
17
|
-
# return "None"
|
|
18
|
-
# else:
|
|
19
|
-
# preview = [self[i].metadata for i in range(min(5, length))]
|
|
20
|
-
# return f"Data Preview:\n{json.dumps(preview, indent=4)}"
|
|
21
|
-
|
|
22
|
-
# def __repr__(self) -> str:
|
|
23
|
-
# return(f"<{self.__class__.__name__} {len(self)} objects of type ensemble>")
|
|
24
|
-
|
|
25
14
|
@property
|
|
26
15
|
def classes(self) -> List[str]:
|
|
27
16
|
return ["ensemble"]
|
|
@@ -73,9 +62,6 @@ class Ensembles(SearchContext):
|
|
|
73
62
|
return obj
|
|
74
63
|
|
|
75
64
|
def filter(self, **kwargs):
|
|
76
|
-
sc =
|
|
77
|
-
|
|
78
|
-
must=[{"terms": {"fmu.ensemble.uuid.keyword": self._hits}}],
|
|
79
|
-
).filter(**kwargs)
|
|
80
|
-
uuids = sc.get_field_values("fmu.iteration.uuid.keyword")
|
|
65
|
+
sc = super().filter(**kwargs)
|
|
66
|
+
uuids = sc.get_field_values("fmu.ensemble.uuid.keyword")
|
|
81
67
|
return Ensembles(sc, uuids)
|
|
@@ -62,9 +62,6 @@ class Iterations(SearchContext):
|
|
|
62
62
|
return obj
|
|
63
63
|
|
|
64
64
|
def filter(self, **kwargs):
|
|
65
|
-
sc =
|
|
66
|
-
self._sumo,
|
|
67
|
-
must=[{"terms": {"fmu.iteration.uuid.keyword": self._hits}}],
|
|
68
|
-
).filter(**kwargs)
|
|
65
|
+
sc = super().filter(**kwargs)
|
|
69
66
|
uuids = sc.get_field_values("fmu.iteration.uuid.keyword")
|
|
70
67
|
return Iterations(sc, uuids)
|
|
@@ -54,9 +54,6 @@ class Realizations(SearchContext):
|
|
|
54
54
|
return obj
|
|
55
55
|
|
|
56
56
|
def filter(self, **kwargs):
|
|
57
|
-
sc =
|
|
58
|
-
self._sumo,
|
|
59
|
-
must=[{"terms": {"fmu.realization.uuid.keyword": self._hits}}],
|
|
60
|
-
).filter(**kwargs)
|
|
57
|
+
sc = super().filter(**kwargs)
|
|
61
58
|
uuids = sc.get_field_values("fmu.realization.uuid.keyword")
|
|
62
59
|
return Realizations(self, uuids)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|