From dd293692c308cf6466b1eacdbda8f834a8d19e38 Mon Sep 17 00:00:00 2001 From: Jessica Scheick Date: Wed, 13 Sep 2023 11:51:53 -0400 Subject: [PATCH] depreciation --> deprecation --- icepyx/core/exceptions.py | 2 +- icepyx/core/read.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/icepyx/core/exceptions.py b/icepyx/core/exceptions.py index 527104acc..a36a1b645 100644 --- a/icepyx/core/exceptions.py +++ b/icepyx/core/exceptions.py @@ -1,4 +1,4 @@ -class DepreciationError(Exception): +class DeprecationError(Exception): """ Class raised for use of functionality that is no longer supported by icepyx. """ diff --git a/icepyx/core/read.py b/icepyx/core/read.py index 4812057c3..a7ee15db7 100644 --- a/icepyx/core/read.py +++ b/icepyx/core/read.py @@ -5,7 +5,7 @@ import numpy as np import xarray as xr -from icepyx.core.exceptions import DepreciationError +from icepyx.core.exceptions import DeprecationError import icepyx.core.is2ref as is2ref from icepyx.core.variables import Variables as Variables from icepyx.core.variables import list_of_dict_vals @@ -283,7 +283,7 @@ class Read: catalog : string, default None Full path to an Intake catalog for reading in data. If you still need to create a catalog, leave as default. - **Depreciation warning:** This argument has been depreciated. Please use the data_source argument to pass in valid data. + **Deprecation warning:** This argument has been depreciated. Please use the data_source argument to pass in valid data. out_obj_type : object, default xarray.Dataset The desired format for the data to be read in. @@ -312,8 +312,8 @@ def __init__( ): # Raise error for depreciated argument if catalog: - raise DepreciationError( - 'The `catalog` argument has been depreciated and intake is no longer supported. ' + raise DeprecationError( + 'The `catalog` argument has been deprecated and intake is no longer supported. ' 'Please use the `data_source` argument to specify your dataset instead.' )