From c73a699e1e31b2efa384cba3e0b8ad5f2d1cb586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Thu, 20 Jan 2022 22:43:20 +0100 Subject: [PATCH] Deprecate `ReservoirSimulationTimeSeries` (#935) --- CHANGELOG.md | 10 +++++++--- .../plugins/_reservoir_simulation_timeseries.py | 5 +++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab2364d1b..cab46403e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - [#921](https://github.com/equinor/webviz-subsurface/pull/921) - Fixed bug with History Vectors in new `SimulationTimeSeries` plugin. Replaced hard coded realization number of 0, with first valid realization in provider. -- [#926](https://github.com/equinor/webviz-subsurface/pull/926) - `VolumetricAnalysis` - Fixed bug when building portables with aggregated (csvfile_vol) input. -- [#929](https://github.com/equinor/webviz-subsurface/pull/929) - `TornadoWidget` - No longer skipping sensitivities with `SENSNAME="ref"` from tornado bars if there is more than one realizations with `SENSNAME="ref"`. -- [#932](https://github.com/equinor/webviz-subsurface/pull/932) - `RftPlotter` - Fixed bug related to calculated correlations returnin NaN if the response variable has constant values. +- [#926](https://github.com/equinor/webviz-subsurface/pull/926) - `VolumetricAnalysis` - Fixed bug when building portables with aggregated (`csvfile_vol`) input. +- [#929](https://github.com/equinor/webviz-subsurface/pull/929) - `TornadoWidget` - No longer skipping sensitivities with `SENSNAME="ref"` from tornado bars if there is more than one realization with `SENSNAME="ref"`. +- [#932](https://github.com/equinor/webviz-subsurface/pull/932) - `RftPlotter` - Fixed bug related to calculated correlations returning `NaN` if the response variable has constant values. + +### Changed + +- [#935](https://github.com/equinor/webviz-subsurface/pull/935) - Deprecated plugin `ReservoirSimulationTimeSeries`. This has been replaced by the faster, more flexible and less memory hungry plugin `SimulationTimeSeries`. ### Changed diff --git a/webviz_subsurface/plugins/_reservoir_simulation_timeseries.py b/webviz_subsurface/plugins/_reservoir_simulation_timeseries.py index 8015b7443..69e2718d6 100644 --- a/webviz_subsurface/plugins/_reservoir_simulation_timeseries.py +++ b/webviz_subsurface/plugins/_reservoir_simulation_timeseries.py @@ -18,6 +18,7 @@ from plotly.subplots import make_subplots from webviz_config import EncodedFile, WebvizPluginABC, WebvizSettings from webviz_config.common_cache import CACHE +from webviz_config.deprecation_decorators import deprecated_plugin from webviz_config.webviz_assets import WEBVIZ_ASSETS from webviz_config.webviz_store import webvizstore from webviz_subsurface_components import ExpressionInfo, ExternalParseData @@ -81,6 +82,10 @@ def _check_plugin_options(options: Optional[dict]) -> Optional[Tuple[str, str]]: # pylint: disable = too-many-instance-attributes +@deprecated_plugin( + "This plugin has been replaced by the faster, " + "more flexible and less memory hungry plugin `SimulationTimeSeries`" +) class ReservoirSimulationTimeSeries(WebvizPluginABC): """Visualizes reservoir simulation time series data for FMU ensembles.