webviz-subsurface 0.2.39__py3-none-any.whl → 0.2.41__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.
Files changed (105) hide show
  1. webviz_subsurface/_figures/timeseries_figure.py +1 -1
  2. webviz_subsurface/_providers/ensemble_summary_provider/_provider_impl_arrow_lazy.py +3 -1
  3. webviz_subsurface/_providers/ensemble_summary_provider/_provider_impl_arrow_presampled.py +3 -1
  4. webviz_subsurface/_providers/ensemble_table_provider/ensemble_table_provider_impl_arrow.py +3 -1
  5. webviz_subsurface/_utils/dataframe_utils.py +1 -1
  6. webviz_subsurface/_version.py +34 -0
  7. webviz_subsurface/plugins/_bhp_qc/views/_view_functions.py +5 -5
  8. webviz_subsurface/plugins/_co2_migration/__init__.py +1 -0
  9. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_plugin.py +86 -46
  10. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/callbacks.py +53 -30
  11. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/co2volume.py +283 -40
  12. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/color_tables.py +1 -1
  13. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/containment_data_provider.py +6 -4
  14. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/containment_info.py +6 -0
  15. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/ensemble_well_picks.py +1 -1
  16. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/generic.py +59 -6
  17. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/initialization.py +73 -10
  18. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/polygon_handler.py +1 -1
  19. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/summary_graphs.py +20 -18
  20. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/surface_publishing.py +18 -20
  21. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/unsmry_data_provider.py +8 -8
  22. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/views/mainview/mainview.py +98 -44
  23. webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/views/mainview/settings.py +7 -5
  24. webviz_subsurface/plugins/_disk_usage.py +19 -8
  25. webviz_subsurface/plugins/_line_plotter_fmu/controllers/build_figure.py +4 -4
  26. webviz_subsurface/plugins/_map_viewer_fmu/layout.py +2 -1
  27. webviz_subsurface/plugins/_map_viewer_fmu/map_viewer_fmu.py +1 -1
  28. webviz_subsurface/plugins/_parameter_analysis/_utils/_parameters_model.py +5 -5
  29. webviz_subsurface/plugins/_property_statistics/property_statistics.py +1 -1
  30. webviz_subsurface/plugins/_relative_permeability.py +6 -6
  31. webviz_subsurface/plugins/_reservoir_simulation_timeseries_regional.py +12 -12
  32. webviz_subsurface/plugins/_running_time_analysis_fmu.py +6 -1
  33. webviz_subsurface/plugins/_seismic_misfit.py +2 -3
  34. webviz_subsurface/plugins/_simulation_time_series/_views/_subplot_view/_utils/vector_statistics.py +4 -4
  35. webviz_subsurface/plugins/_structural_uncertainty/views/intersection_and_map.py +1 -1
  36. webviz_subsurface/plugins/_swatinit_qc/_business_logic.py +1 -1
  37. webviz_subsurface-0.2.41.dist-info/METADATA +822 -0
  38. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info}/RECORD +51 -102
  39. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info}/WHEEL +1 -1
  40. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info}/entry_points.txt +1 -1
  41. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info}/top_level.txt +0 -1
  42. tests/integration_tests/test_parameter_filter.py +0 -28
  43. tests/integration_tests/test_surface_selector.py +0 -53
  44. tests/unit_tests/abbreviations_tests/test_reservoir_simulation.py +0 -94
  45. tests/unit_tests/data_input/__init__.py +0 -0
  46. tests/unit_tests/data_input/test_calc_from_cumulatives.py +0 -178
  47. tests/unit_tests/data_input/test_image_processing.py +0 -11
  48. tests/unit_tests/mocks/__init__.py +0 -0
  49. tests/unit_tests/mocks/ensemble_summary_provider_dummy.py +0 -67
  50. tests/unit_tests/model_tests/__init__.py +0 -0
  51. tests/unit_tests/model_tests/test_ensemble_model.py +0 -176
  52. tests/unit_tests/model_tests/test_ensemble_set_model.py +0 -105
  53. tests/unit_tests/model_tests/test_gruptree_model.py +0 -89
  54. tests/unit_tests/model_tests/test_property_statistics_model.py +0 -42
  55. tests/unit_tests/model_tests/test_surface_set_model.py +0 -48
  56. tests/unit_tests/model_tests/test_well_attributes_model.py +0 -110
  57. tests/unit_tests/model_tests/test_well_set_model.py +0 -70
  58. tests/unit_tests/plugin_tests/__init__.py +0 -0
  59. tests/unit_tests/plugin_tests/test_grouptree.py +0 -175
  60. tests/unit_tests/plugin_tests/test_simulation_time_series/__init__.py +0 -0
  61. tests/unit_tests/plugin_tests/test_simulation_time_series/mocks/__init__.py +0 -0
  62. tests/unit_tests/plugin_tests/test_simulation_time_series/mocks/derived_vectors_accessor_ensemble_summary_provider_mock.py +0 -60
  63. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/__init__.py +0 -0
  64. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_create_vector_traces_utils.py +0 -530
  65. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_dataframe_utils.py +0 -119
  66. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_datetime_utils.py +0 -51
  67. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_delta_ensemble_utils.py +0 -222
  68. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_derived_delta_ensemble_vectors_accessor_impl.py +0 -319
  69. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_derived_ensemble_vectors_accessor_impl.py +0 -271
  70. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_derived_ensemble_vectors_accessor_utils.py +0 -78
  71. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_derived_vector_accessor.py +0 -57
  72. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_ensemble_summary_provider_set_utils.py +0 -213
  73. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_from_timeseries_cumulatives.py +0 -322
  74. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_history_vectors.py +0 -201
  75. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_trace_line_shape.py +0 -56
  76. tests/unit_tests/plugin_tests/test_simulation_time_series/test_utils/test_vector_statistics.py +0 -171
  77. tests/unit_tests/plugin_tests/test_tornado_data.py +0 -130
  78. tests/unit_tests/plugin_tests/test_well_completions.py +0 -158
  79. tests/unit_tests/provider_tests/__init__.py +0 -0
  80. tests/unit_tests/provider_tests/test_ensemble_summary_provider.py +0 -255
  81. tests/unit_tests/provider_tests/test_ensemble_summary_provider_impl_arrow_lazy.py +0 -388
  82. tests/unit_tests/provider_tests/test_ensemble_summary_provider_impl_arrow_presampled.py +0 -160
  83. tests/unit_tests/provider_tests/test_ensemble_summary_provider_resampling.py +0 -320
  84. tests/unit_tests/provider_tests/test_ensemble_table_provider.py +0 -190
  85. tests/unit_tests/utils_tests/__init__.py +0 -0
  86. tests/unit_tests/utils_tests/test_dataframe_utils.py +0 -281
  87. tests/unit_tests/utils_tests/test_ensemble_summary_provider_set/__init__.py +0 -0
  88. tests/unit_tests/utils_tests/test_ensemble_summary_provider_set/test_ensemble_summary_provider_set.py +0 -306
  89. tests/unit_tests/utils_tests/test_formatting.py +0 -10
  90. tests/unit_tests/utils_tests/test_simulation_timeseries.py +0 -51
  91. webviz_subsurface/plugins/_co2_leakage/__init__.py +0 -1
  92. webviz_subsurface/plugins/_co2_leakage/_utilities/__init__.py +0 -0
  93. webviz_subsurface/plugins/_co2_leakage/views/__init__.py +0 -0
  94. webviz_subsurface/plugins/_co2_leakage/views/mainview/__init__.py +0 -0
  95. webviz_subsurface-0.2.39.dist-info/METADATA +0 -147
  96. /webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_error.py +0 -0
  97. /webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_types.py +0 -0
  98. {tests/integration_tests → webviz_subsurface/plugins/_co2_migration/_utilities}/__init__.py +0 -0
  99. /webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/_misc.py +0 -0
  100. /webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/fault_polygons_handler.py +0 -0
  101. /webviz_subsurface/plugins/{_co2_leakage → _co2_migration}/_utilities/plume_extent.py +0 -0
  102. {tests/unit_tests → webviz_subsurface/plugins/_co2_migration/views}/__init__.py +0 -0
  103. {tests/unit_tests/abbreviations_tests → webviz_subsurface/plugins/_co2_migration/views/mainview}/__init__.py +0 -0
  104. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info/licenses}/LICENSE +0 -0
  105. {webviz_subsurface-0.2.39.dist-info → webviz_subsurface-0.2.41.dist-info/licenses}/LICENSE.chromedriver +0 -0
@@ -1,147 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: webviz-subsurface
3
- Version: 0.2.39
4
- Summary: Webviz config plugins for subsurface data
5
- Home-page: https://github.com/equinor/webviz-subsurface
6
- Author: R&T Equinor
7
- Project-URL: Documentation, https://equinor.github.io/webviz-subsurface
8
- Project-URL: Download, https://pypi.org/project/webviz-subsurface/
9
- Project-URL: Source, https://github.com/equinor/webviz-subsurface
10
- Project-URL: Tracker, https://github.com/equinor/webviz-subsurface/issues
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Operating System :: OS Independent
13
- Classifier: Natural Language :: English
14
- Classifier: Environment :: Web Environment
15
- Classifier: Framework :: Dash
16
- Classifier: Framework :: Flask
17
- Classifier: Topic :: Multimedia :: Graphics
18
- Classifier: Topic :: Scientific/Engineering
19
- Classifier: Topic :: Scientific/Engineering :: Visualization
20
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
21
- Requires-Python: ~=3.8
22
- Description-Content-Type: text/markdown
23
- License-File: LICENSE
24
- License-File: LICENSE.chromedriver
25
- Requires-Dist: dash<3,>=2.0.0
26
- Requires-Dist: dash-bootstrap-components>=0.10.3
27
- Requires-Dist: dash-daq>=0.5.0
28
- Requires-Dist: defusedxml>=0.6.0
29
- Requires-Dist: flask-caching
30
- Requires-Dist: fmu-ensemble>=1.2.3
31
- Requires-Dist: fmu-tools>=1.8
32
- Requires-Dist: geojson>=2.5.0
33
- Requires-Dist: jsonschema>=3.2.0
34
- Requires-Dist: pandas<3,>=1.1.5
35
- Requires-Dist: pillow>=6.1
36
- Requires-Dist: pyarrow>=5.0.0
37
- Requires-Dist: pyjwt>=2.6.0
38
- Requires-Dist: pyscal>=0.7.5
39
- Requires-Dist: scipy>=1.2
40
- Requires-Dist: statsmodels>=0.12.1
41
- Requires-Dist: xtgeo>=2.20.0
42
- Requires-Dist: vtk>=9.2.2
43
- Requires-Dist: webviz-config>=0.6.5
44
- Requires-Dist: webviz-subsurface-components>=1.0.3
45
- Requires-Dist: res2df>=1.0; sys_platform == "linux"
46
- Requires-Dist: opm>=2023.10; sys_platform == "linux"
47
- Provides-Extra: tests
48
- Requires-Dist: bandit; extra == "tests"
49
- Requires-Dist: black<24,>=22.1; extra == "tests"
50
- Requires-Dist: dash[testing]; extra == "tests"
51
- Requires-Dist: isort; extra == "tests"
52
- Requires-Dist: mypy<1.12; extra == "tests"
53
- Requires-Dist: pylint<3.2.0; extra == "tests"
54
- Requires-Dist: pytest-mock; extra == "tests"
55
- Requires-Dist: pytest-xdist; extra == "tests"
56
- Requires-Dist: pytest-forked; extra == "tests"
57
- Requires-Dist: selenium>=3.141; extra == "tests"
58
- Requires-Dist: types-setuptools; extra == "tests"
59
- Requires-Dist: types-pyyaml; extra == "tests"
60
-
61
- <h4>This package will be deprecated - we move instead all collaboration focus to the reusable React and Dash components in:
62
- <ul>
63
- <li>https://github.com/equinor/webviz-subsurface-components</li>
64
- <li>https://github.com/equinor/webviz-core-components</li>
65
- </ul>
66
- and the FMU use case to https://github.com/equinor/webviz
67
- </h2>
68
-
69
- <hr/>
70
-
71
- [![PyPI version](https://badge.fury.io/py/webviz-subsurface.svg)](https://badge.fury.io/py/webviz-subsurface)
72
- [![Build Status](https://github.com/equinor/webviz-subsurface/workflows/webviz-subsurface/badge.svg)](https://github.com/equinor/webviz-subsurface/actions?query=branch%3Amaster)
73
- [![Python 3.8 | 3.9 | 3.10 | 3.11 | 3.12](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12-blue.svg)](https://www.python.org/)
74
- ![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)
75
-
76
- ## Webviz subsurface
77
-
78
- > :sparkles::eyeglasses: **[Live demo application](https://webviz-subsurface-example.azurewebsites.net)**
79
-
80
- ### Introduction
81
-
82
- This repository contains subsurface specific standard `webviz` containers, which are used as
83
- plugins in [webviz-config](https://github.com/equinor/webviz-config).
84
-
85
- ### Installation
86
-
87
- The easiest way of installing this package is to run
88
- ```bash
89
- pip install webviz-subsurface
90
- ```
91
- Add `--upgrade` if you have installed earlier, but want to upgrade to a newer version.
92
-
93
- If you want to install the latest, unreleased, code you can instead run
94
- ```bash
95
- pip install git+https://github.com/equinor/webviz-subsurface
96
- ```
97
-
98
- ### Usage and documentation
99
-
100
- For general usage, see the documentation on
101
- [webviz-config](https://github.com/equinor/webviz-config). End-user documentation for
102
- the subsurface containers are automatically built and hosted on the
103
- [github pages](https://equinor.github.io/webviz-subsurface/) for this repository.
104
-
105
- There is also a [live demo application](https://webviz-subsurface-example.azurewebsites.net)
106
- showing how a created application can look like, using the `master` branch of this repository.
107
-
108
- ### Example webviz configuration files
109
-
110
- Example `webviz` configuration files, and corresponding test data, is available at
111
- https://github.com/equinor/webviz-subsurface-testdata.
112
-
113
- See that repository for instructions on how to download and run the examples.
114
-
115
- ### Creating new elements
116
-
117
- If you are interested in creating new elements which can be configured through
118
- the configuration file, take a look at the
119
- [webviz-config contribution guide](https://github.com/equinor/webviz-config/blob/master/CONTRIBUTING.md).
120
-
121
- You can do automatic linting of your code changes by running
122
- ```bash
123
- black --check webviz_subsurface tests # Check code style
124
- pylint webviz_subsurface tests # Check code quality
125
- bandit -r -c ./bandit.yml webviz_subsurface tests # Check Python security best practice
126
- ```
127
-
128
- ### Review of contributions
129
-
130
- When doing review of contributions, it is usually useful to also see the resulting application live, and
131
- not only the code changes. In order to facilitate this, this repository is using GitHub actions.
132
-
133
- When on a feature branch, and a commit message including the substring `[deploy test]` arrives, the GitHub
134
- action workflow will try to build and deploy a test Docker image for you (which you then can link to a web app with
135
- e.g. automatic reload on new images). All you need to do in your own fork is to add
136
- GitHub secrets with the following names:
137
- - `review_docker_registry_url`: The registry to push to (e.g. `myregistry.azurecr.io`)
138
- - `review_docker_registry_username`: Registry login username.
139
- - `review_docker_registry_token`: Registry login token (or password).
140
- - `review_container_name`: What you want to call the container pushed to the registry.
141
-
142
- You are encouraged to rebase and squash/fixup unnecessary commits before pull request is merged to `master`.
143
-
144
- ### Disclaimer
145
-
146
- This is a tool under heavy development. The current configuration file layout,
147
- also for subsurface containers, will therefore see large changes.