Skip to content

Commit

Permalink
Update xarray.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Sep 4, 2024
1 parent 2f2e2dc commit acc789e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions argopy/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,14 @@ def profile2point(self):
ds.argo._type = "point"
return ds

@deprecated(
"This method action and signature are deprecated and will break your code for versions >= 1.0.0. "
"In versions >= 1.0.0, 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 "
"or <PARAM>_DATA_MODE values.",
ignore_caller="postprocessing",
version="0.1.17",
)
def filter_data_mode( # noqa: C901
self, keep_error: bool = True, errors: str = "raise"
):
Expand Down

0 comments on commit acc789e

Please sign in to comment.