From 26693016c881754995f4b848feaae691f1643a4b Mon Sep 17 00:00:00 2001 From: Guillaume Maze Date: Fri, 13 Sep 2024 14:46:38 +0200 Subject: [PATCH] [skip-ci] --- argopy/xarray.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/argopy/xarray.py b/argopy/xarray.py index 8bd1e7a0..0bbfa773 100644 --- a/argopy/xarray.py +++ b/argopy/xarray.py @@ -580,7 +580,7 @@ def profile2point(self): @deprecated( "This method action and signature are deprecated and will break your code for versions >= 0.1.18. " "In versions >= 0.1.18, this method action will be available in the new `transform_data_mode` method while " - "this method will change its behavior to really filter measurements according to DATA_MODE " + "this method will change its signature and behavior to really filter measurements according to DATA_MODE " "or _DATA_MODE values.", ignore_caller="postprocessing", version="0.1.17", @@ -611,6 +611,16 @@ def filter_data_mode( # noqa: C901 Returns ------- :class:`xarray.Dataset` + + + .. deprecated:: 0.1.7 + + This method action and signature are deprecated and will break your code for versions >= 0.1.18. + + In versions >= 0.1.18, this method behavior will be transferred to the new `transform_data_mode` method + while this method `filter_data_mode` will change its signature and behavior to really filter measurements + according to DATA_MODE or _DATA_MODE values. + """ if self._type != "point": raise InvalidDatasetStructure(