diff --git a/CHANGELOG.md b/CHANGELOG.md index 79d06444ff..91a606760d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] - YYYY-MM-DD ### Changed - [#612](https://github.com/equinor/webviz-subsurface/pull/612) - New features in ReservoirSimulationTimeSeries: Statistical lines, option to remove history trace, histogram available when plotting individual realizations. +- [#618](https://github.com/equinor/webviz-subsurface/pull/618) - Added deprecation warning to `HorizonUncertaintyViewer`, +`WellCrossSection` and `WellCrossSectionFMU`. These plugins will soon be removed. Relevant functionality is implememented +in the new `StructuralUncertainty` plugin. + ### Fixed - [#615](https://github.com/equinor/webviz-subsurface/pull/615) - Improve table performance of AssistedHistoryMatchingAnalysis. diff --git a/setup.py b/setup.py index 0fc784bfd7..15521346d2 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ "pyscal>=0.7.5", "scipy>=1.2", "statsmodels>=0.12.1", # indirect dependency through https://plotly.com/python/linear-fits/ - "webviz-config>=0.2.7", + "webviz-config>=0.3.0", "webviz-subsurface-components>=0.3.0", "xtgeo>=2.14", ], diff --git a/webviz_subsurface/plugins/_horizon_uncertainty_viewer/horizon_uncertainty_viewer.py b/webviz_subsurface/plugins/_horizon_uncertainty_viewer/horizon_uncertainty_viewer.py index b16b4ad80e..44aca43a44 100644 --- a/webviz_subsurface/plugins/_horizon_uncertainty_viewer/horizon_uncertainty_viewer.py +++ b/webviz_subsurface/plugins/_horizon_uncertainty_viewer/horizon_uncertainty_viewer.py @@ -21,6 +21,7 @@ from webviz_config import WebvizPluginABC from webviz_config import WebvizSettings from webviz_config.webviz_store import webvizstore +from webviz_config.deprecation_decorators import deprecated_plugin import webviz_subsurface from webviz_subsurface._models import SurfaceLeafletModel @@ -29,6 +30,10 @@ from ._huv_table import FilterTable +@deprecated_plugin( + "This plugin will soon be deprecated. " + "Relevant functionality is implemented in the StructuralUncertainty plugin." +) class HorizonUncertaintyViewer(WebvizPluginABC): """Visualizes depth uncertainty for surfaces in map view and cross section view. diff --git a/webviz_subsurface/plugins/_well_cross_section.py b/webviz_subsurface/plugins/_well_cross_section.py index 3250c020d8..a25864174e 100644 --- a/webviz_subsurface/plugins/_well_cross_section.py +++ b/webviz_subsurface/plugins/_well_cross_section.py @@ -11,6 +11,7 @@ from webviz_subsurface_components import LeafletMap from webviz_config import WebvizPluginABC from webviz_config.webviz_store import webvizstore +from webviz_config.deprecation_decorators import deprecated_plugin from webviz_subsurface._models import SurfaceLeafletModel from .._datainput.xsection import XSectionFigure @@ -19,6 +20,10 @@ from .._datainput.surface import load_surface +@deprecated_plugin( # type: ignore + "This plugin will soon be deprecated. " + "Relevant functionality is implemented in the StructuralUncertainty plugin." +) class WellCrossSection(WebvizPluginABC): """Displays a cross section along a well with intersected surfaces, and optionally seismic cubes. diff --git a/webviz_subsurface/plugins/_well_cross_section_fmu.py b/webviz_subsurface/plugins/_well_cross_section_fmu.py index 316b24e2ba..53e21f5a3a 100644 --- a/webviz_subsurface/plugins/_well_cross_section_fmu.py +++ b/webviz_subsurface/plugins/_well_cross_section_fmu.py @@ -19,6 +19,7 @@ from webviz_config import WebvizSettings from webviz_config.webviz_store import webvizstore from webviz_config.common_cache import CACHE +from webviz_config.deprecation_decorators import deprecated_plugin from webviz_subsurface._models import SurfaceLeafletModel from .._datainput.fmu_input import get_realizations @@ -27,6 +28,10 @@ from .._datainput.well import load_well # pylint: disable=too-many-instance-attributes +@deprecated_plugin( # type: ignore + "This plugin will soon be deprecated. " + "Relevant functionality is implemented in the StructuralUncertainty plugin." +) class WellCrossSectionFMU(WebvizPluginABC): """Well cross-section displaying statistical surfaces from a FMU ensemble.