diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 2fc63597..11d64a3a 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -15,7 +15,7 @@ Upcoming Release * With this release, we change the license from copyleft GPLv3 to the more liberal MIT license with the consent of all major contributors `#263 `_. * Added 1-axis vertical and 2-axis tracking option for solar pv and trigon_model = "simple" * Added small documentation for get_windturbineconfig - +* The deprecated functions `grid_cells` and `grid_coordinates` were removed. Version 0.2.10 ============== diff --git a/atlite/cutout.py b/atlite/cutout.py index c02c6f0d..170ecb71 100644 --- a/atlite/cutout.py +++ b/atlite/cutout.py @@ -385,35 +385,6 @@ def prepared_features(self): index = pd.MultiIndex.from_tuples(index, names=["module", "feature"]) return pd.Series(list(self.data), index, dtype=object) - def grid_coordinates(self): - """ - Array of grid coordinates, deprecated since v0.2.1. - """ - warn( - "The function `grid_coordinates` has been deprecated in favour of " - "`grid`", - DeprecationWarning, - ) - logger.warning( - "The order of elements returned by `grid_coordinates` changed. " - "Check the output of your workflow for correctness." - ) - return self.grid[["x", "y"]].values - - def grid_cells(self): - """ - List of grid cells, deprecated since v0.2.1. - """ - warn( - "The function `grid_cells` has been deprecated in favour of `grid`", - DeprecationWarning, - ) - logger.warning( - "The order of elements in `grid_cells` changed. " - "Check the output of your workflow for correctness." - ) - return self.grid.geometry.to_list() - @CachedAttribute def grid(self): """