diff --git a/copernicusmarine/__init__.py b/copernicusmarine/__init__.py index a51d5ff0..aba83359 100644 --- a/copernicusmarine/__init__.py +++ b/copernicusmarine/__init__.py @@ -48,11 +48,9 @@ from copernicusmarine.python_interface.get import get from copernicusmarine.python_interface.login import login from copernicusmarine.python_interface.open_dataset import ( - load_xarray_dataset, # depracated open_dataset, ) from copernicusmarine.python_interface.read_dataframe import ( - load_pandas_dataframe, # depracated read_dataframe, ) from copernicusmarine.python_interface.subset import subset diff --git a/copernicusmarine/python_interface/open_dataset.py b/copernicusmarine/python_interface/open_dataset.py index d25be41f..2903ce81 100644 --- a/copernicusmarine/python_interface/open_dataset.py +++ b/copernicusmarine/python_interface/open_dataset.py @@ -5,10 +5,7 @@ import xarray from copernicusmarine.catalogue_parser.request_structure import LoadRequest -from copernicusmarine.core_functions.deprecated import ( - deprecated_python_option, - log_deprecated_message, -) +from copernicusmarine.core_functions.deprecated import deprecated_python_option from copernicusmarine.core_functions.deprecated_options import ( DEPRECATED_OPTIONS, ) @@ -37,15 +34,6 @@ from copernicusmarine.python_interface.utils import homogenize_datetime -@log_exception_and_exit -def load_xarray_dataset(*args, **kwargs): - """ - Deprecated function, use 'open_dataset' instead. - """ - log_deprecated_message("load_xarray_dataset", "open_dataset") - return open_dataset(*args, **kwargs) - - @deprecated_python_option(**DEPRECATED_OPTIONS.dict_old_names_to_new_names) @log_exception_and_exit def open_dataset( diff --git a/copernicusmarine/python_interface/read_dataframe.py b/copernicusmarine/python_interface/read_dataframe.py index f8e26eba..f6344961 100644 --- a/copernicusmarine/python_interface/read_dataframe.py +++ b/copernicusmarine/python_interface/read_dataframe.py @@ -5,10 +5,7 @@ import pandas from copernicusmarine.catalogue_parser.request_structure import LoadRequest -from copernicusmarine.core_functions.deprecated import ( - deprecated_python_option, - log_deprecated_message, -) +from copernicusmarine.core_functions.deprecated import deprecated_python_option from copernicusmarine.core_functions.deprecated_options import ( DEPRECATED_OPTIONS, ) @@ -37,15 +34,6 @@ from copernicusmarine.python_interface.utils import homogenize_datetime -@log_exception_and_exit -def load_pandas_dataframe(*args, **kwargs): - """ - Deprecated function, use 'read_dataframe' instead. - """ - log_deprecated_message("load_pandas_dataframe", "read_dataframe") - return read_dataframe(*args, **kwargs) - - @deprecated_python_option(**DEPRECATED_OPTIONS.dict_old_names_to_new_names) @log_exception_and_exit def read_dataframe(