sumo-wrapper-python 1.1.0__tar.gz → 1.1.1__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.
Potentially problematic release.
This version of sumo-wrapper-python might be problematic. Click here for more details.
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/CONTRIBUTING.md +6 -6
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/PKG-INFO +1 -1
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_version.py +2 -2
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/sumo_client.py +10 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/PKG-INFO +1 -1
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/tests/testdata/case.yml +6 -6
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/tests/testdata/surface.yml +22 -21
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.github/workflows/build_docs.yaml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.github/workflows/linting.yml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.github/workflows/publish_release.yml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.github/workflows/pytest.yml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.gitignore +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.pre-commit-config.yaml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.readthedocs.yaml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/LICENSE +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/README.md +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/SECURITY.md +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/Makefile +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/_static/equinor-logo.png +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/_static/equinor-logo2.jpg +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/_static/equinor_logo.jpg +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/_static/equinor_logo_only.jpg +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/_templates/layout.html +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/api.rst +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/conf.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/index.rst +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/make.bat +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/docs/sumo-wrapper-python.rst +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/pyproject.toml +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/setup.cfg +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/__init__.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/__init__.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_auth_provider.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_blob_client.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_decorators.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_logging.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/_retry_strategy.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/config.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo/wrapper/login.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/SOURCES.txt +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/dependency_links.txt +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/entry_points.txt +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/requires.txt +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/top_level.txt +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/tests/conftest.py +0 -0
- {sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/tests/test_sumo_thin_client.py +0 -0
|
@@ -11,18 +11,18 @@ This is how you should do it:
|
|
|
11
11
|
|
|
12
12
|
Use our [issue list](../../issues) to report a **bug** or **propose a new feature**, including
|
|
13
13
|
|
|
14
|
-
### Reporting a **bug report**
|
|
14
|
+
### Reporting a **bug report**
|
|
15
15
|
- A quick summary and/or background
|
|
16
16
|
- Steps to reproduce
|
|
17
17
|
- What actually happens
|
|
18
18
|
|
|
19
|
-
### Adding a **feature request**
|
|
19
|
+
### Adding a **feature request**
|
|
20
20
|
- Brief description of the feature
|
|
21
21
|
- What problem/issue will this solve
|
|
22
22
|
- A sort of Definition of Done - "How should it look when finished"
|
|
23
23
|
|
|
24
|
-
### When submitting a fix using a Pull Request (PR)
|
|
25
|
-
- Fork this repository from GitHub
|
|
26
|
-
- After you have made the changes, create a pull request (PR)
|
|
24
|
+
### When submitting a fix using a Pull Request (PR)
|
|
25
|
+
- Fork this repository from GitHub
|
|
26
|
+
- After you have made the changes, create a pull request (PR)
|
|
27
27
|
|
|
28
|
-
We will review the pull request and if it is appropriate and there are no clashes or vulnerabilities, it will be merged to the main code.
|
|
28
|
+
We will review the pull request and if it is appropriate and there are no clashes or vulnerabilities, it will be merged to the main code.
|
|
@@ -227,6 +227,11 @@ class SumoClient:
|
|
|
227
227
|
path,
|
|
228
228
|
)
|
|
229
229
|
is not None
|
|
230
|
+
or re.match(
|
|
231
|
+
r"^/tasks\('[0-9a-fA-F-]{8}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{12}'\)/result$", # noqa: E501
|
|
232
|
+
path,
|
|
233
|
+
)
|
|
234
|
+
is not None
|
|
230
235
|
):
|
|
231
236
|
follow_redirects = True
|
|
232
237
|
|
|
@@ -542,6 +547,11 @@ class SumoClient:
|
|
|
542
547
|
path,
|
|
543
548
|
)
|
|
544
549
|
is not None
|
|
550
|
+
or re.match(
|
|
551
|
+
r"^/tasks\('[0-9a-fA-F-]{8}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{4}-[0-9a-fA-F-]{12}'\)/result$", # noqa: E501
|
|
552
|
+
path,
|
|
553
|
+
)
|
|
554
|
+
is not None
|
|
545
555
|
):
|
|
546
556
|
follow_redirects = True
|
|
547
557
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# example YAML file for ensembles (a parent object in Sumo)
|
|
2
2
|
|
|
3
|
-
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.
|
|
4
|
-
version: "0.
|
|
5
|
-
source: fmu
|
|
3
|
+
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.12.0/fmu_results.json
|
|
4
|
+
version: "0.12.0" # including for REP and others to build logic on.
|
|
5
|
+
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
|
|
6
6
|
class: case
|
|
7
7
|
fmu:
|
|
8
8
|
case:
|
|
9
9
|
name: TestCase from fmu.sumo
|
|
10
|
-
uuid: 8bb56d60-8758-481a-89a4-6bac8561d38e # (pseudo-)random valid uuid4xs
|
|
10
|
+
uuid: 8bb56d60-8758-481a-89a4-6bac8561d38e # (pseudo-)random valid uuid4xs, this is re-generated in tests.
|
|
11
11
|
user:
|
|
12
12
|
id: testuser # $USER from ERT
|
|
13
13
|
description:
|
|
14
14
|
- yet other detailed description
|
|
15
15
|
- optional
|
|
16
|
-
restart_from: 00000000-0000-0000-0000-000000000000
|
|
16
|
+
restart_from: 00000000-0000-0000-0000-000000000000 # fmu.ensemble.uuid for another ensemble/case
|
|
17
17
|
model:
|
|
18
18
|
name: ff
|
|
19
19
|
revision: 21.0.0.dev
|
|
@@ -26,7 +26,7 @@ fmu:
|
|
|
26
26
|
|
|
27
27
|
access:
|
|
28
28
|
asset:
|
|
29
|
-
name: Drogon
|
|
29
|
+
name: Drogon # adding level to make room for unique ID in the future
|
|
30
30
|
|
|
31
31
|
# ensemble objects have no ssdl details
|
|
32
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.
|
|
2
|
-
version: "0.
|
|
3
|
-
source: fmu
|
|
1
|
+
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.12.0/fmu_results.json
|
|
2
|
+
version: "0.12.0" # including for REP and others to build logic on.
|
|
3
|
+
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
|
|
4
4
|
|
|
5
5
|
tracklog:
|
|
6
6
|
- datetime: '2020-10-28T14:28:02'
|
|
@@ -24,10 +24,10 @@ fmu:
|
|
|
24
24
|
description:
|
|
25
25
|
- detailed description
|
|
26
26
|
- optional
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
context:
|
|
29
29
|
stage: "realization"
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
workflow: # not sure, but a reference to the workflow / job that made this. Making it expandable.
|
|
32
32
|
reference: rms/structural_model
|
|
33
33
|
|
|
@@ -39,16 +39,19 @@ fmu:
|
|
|
39
39
|
description:
|
|
40
40
|
- yet other detailed description
|
|
41
41
|
- optional
|
|
42
|
-
restart_from: 15ce3b84-766f-4c93-9050-b154861f9100
|
|
42
|
+
restart_from: 15ce3b84-766f-4c93-9050-b154861f9100 # fmu.ensemble.uuid for another ensemble/case
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
ensemble:
|
|
45
45
|
id: 0 # always an int, will be 0 for e.g. "pred"
|
|
46
|
-
uuid: 4b939310-34b1-4179-802c-49460bc0f799 # hash of case.uuid +
|
|
46
|
+
uuid: 4b939310-34b1-4179-802c-49460bc0f799 # hash of case.uuid + ensemble.id
|
|
47
47
|
name: "iter-0" # /"pred"
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
entity:
|
|
50
|
+
uuid: dc2971e1-abae-4691-92fc-17fbd926461a
|
|
51
|
+
|
|
52
|
+
realization: # could be expanded in the future?
|
|
50
53
|
id: 33
|
|
51
|
-
uuid: 29a15b21-ce13-471b-9a4a-0f791552aa51 # hash of case.uuid +
|
|
54
|
+
uuid: 29a15b21-ce13-471b-9a4a-0f791552aa51 # hash of case.uuid + ensemble.uuid + realization.id
|
|
52
55
|
name: "realization-33"
|
|
53
56
|
parameters: # directly pass parameters.txt. This is potentially a lot of content, only a stub is included here.
|
|
54
57
|
SENSNAME: faultseal
|
|
@@ -61,28 +64,27 @@ fmu:
|
|
|
61
64
|
FAULT_SEAL_SCALING: 0.1
|
|
62
65
|
FWL_CENTRAL: 1677
|
|
63
66
|
jobs: # directly pass jobs.json. This is a lot of content, only a stub is included here.
|
|
64
|
-
umask:
|
|
67
|
+
umask: "0002"
|
|
65
68
|
DATA_ROOT: /some/path/20.4.0_20201106/ert/model
|
|
66
69
|
anything: something
|
|
67
70
|
something:
|
|
68
71
|
anything: something
|
|
69
72
|
global_update_path: {}
|
|
70
73
|
jobList:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
- name: MAKE_DIRECTORY
|
|
75
|
+
min_arg: 1
|
|
76
|
+
anything: something
|
|
74
77
|
|
|
75
78
|
file:
|
|
76
79
|
relative_path: realization-33/iter-0/share/results/maps/volantis_gp_base--amplitude.gri # case-relative
|
|
77
80
|
absolute_path: /some/absolute/path//realization-33/iter-0/share/results/maps/volantis_gp_base--amplitude.gri
|
|
78
|
-
checksum_md5: 0123456789abcdef0123456789abcdef
|
|
81
|
+
checksum_md5: 0123456789abcdef0123456789abcdef # checksum of the file, not the data.
|
|
79
82
|
|
|
80
83
|
data: # The data block describes the actual data (e.g. surface). Only present in data objects
|
|
81
|
-
|
|
82
84
|
# if stratigraphic, name must match the strat column. This is the official name of this surface.
|
|
83
85
|
name: volantis_top-volantis_base
|
|
84
|
-
stratigraphic: false
|
|
85
|
-
offset: 0.0
|
|
86
|
+
stratigraphic: false # if true, this is a stratigraphic surface found in the strat column
|
|
87
|
+
offset: 0.0 # to be used if a specific horizon is represented with an offset.
|
|
86
88
|
|
|
87
89
|
top: # not required, but allowed
|
|
88
90
|
name: volantis_gp_top
|
|
@@ -127,7 +129,7 @@ data: # The data block describes the actual data (e.g. surface). Only present in
|
|
|
127
129
|
yinc: 25.0
|
|
128
130
|
yflip: 1
|
|
129
131
|
rotation: 30.000000834826057
|
|
130
|
-
undef: 1.0e+33
|
|
132
|
+
undef: 1.0e+33 # Allow both number and string
|
|
131
133
|
bbox:
|
|
132
134
|
xmin: 456012.5003497944
|
|
133
135
|
xmax: 467540.52762886323
|
|
@@ -181,10 +183,9 @@ masterdata:
|
|
|
181
183
|
field:
|
|
182
184
|
- identifier: DROGON
|
|
183
185
|
uuid: 00000000-0000-0000-0000-000000000000
|
|
184
|
-
coordinate_system:
|
|
186
|
+
coordinate_system: # changing from "coordinates" to clarify this is not content
|
|
185
187
|
identifier: ST_WGS84_UTM37N_P32637
|
|
186
188
|
uuid: ad214d85-dac7-19da-e053-c918a4889309
|
|
187
189
|
stratigraphic_column:
|
|
188
190
|
identifier: DROGON_2020
|
|
189
191
|
uuid: 12345678-1234-1234-1234-123456789012
|
|
190
|
-
|
|
File without changes
|
|
File without changes
|
{sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/.github/workflows/publish_release.yml
RENAMED
|
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
|
{sumo_wrapper_python-1.1.0 → sumo_wrapper_python-1.1.1}/src/sumo_wrapper_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|