Skip to content

Commit

Permalink
Merge branch 'maintenance/clean_up' into 'main'
Browse files Browse the repository at this point in the history
Maintenance/remove Tie_Point_Grid.to_Raster_using_Kriging

See merge request danschef/arosics!46
  • Loading branch information
Daniel Scheffler committed Dec 15, 2023
2 parents a807f0a + f4e4d89 commit 41b107a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ History
* !44: Removed deprecated Tie_Point_Grid.Tie_Point_Grid._to_PointShapefile() method
which was replaced by to_PointShapefile().
* !45: Replaced unittest assertions with pytest plain assertions.
* !46: Removed deprecated Tie_Point_Grid.to_Raster_using_Kriging().


1.9.4 (2023-11-23)
Expand Down
5 changes: 0 additions & 5 deletions arosics/Tie_Point_Grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,11 +966,6 @@ def to_interpolated_raster(self,

return TPGI.interpolate(metric=metric, method=method, plot_result=plot_result, lowres_spacing=lowres_spacing)

@staticmethod
def to_Raster_using_Kriging(*args, **kwargs):
raise NotImplementedError('This method was removed in arosics version 1.8.2. To interpolate tie points into '
'space, you may now use Tie_Point_Grid.to_interpolated_raster() instead.')


class Tie_Point_Refiner(object):
"""A class for performing outlier detection."""
Expand Down
4 changes: 0 additions & 4 deletions tests/test_tie_point_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ def test_interpolate_to_raster_kriging(self):

assert isinstance(arr_interp, np.ndarray)

def test_to_Raster_using_Kriging(self):
with pytest.raises(NotImplementedError):
self.TPG.to_Raster_using_Kriging()


if __name__ == '__main__':
pytest.main()

0 comments on commit 41b107a

Please sign in to comment.