From 436292f3b39c3437875e8a0665048488fb20a0a9 Mon Sep 17 00:00:00 2001 From: Sharon Fitzpatrick Date: Thu, 14 Mar 2024 17:19:02 -0700 Subject: [PATCH] v0.1.55 fixes shoreline extraction area plot issues --- pyproject.toml | 2 +- src/coastsat/SDS_shoreline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c5754c2..2a01d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ where = ["src"] [project] name = "coastsat_package" dynamic = ["readme"] -version = "0.1.54" +version = "0.1.55" authors = [ { name="Sharon Fitzpatrick" }, ] diff --git a/src/coastsat/SDS_shoreline.py b/src/coastsat/SDS_shoreline.py index 404f751..ccea3d5 100644 --- a/src/coastsat/SDS_shoreline.py +++ b/src/coastsat/SDS_shoreline.py @@ -156,7 +156,7 @@ def filter_shoreline(shoreline, satname, sl_date, acc_georef, cloud_cover, outpu crs=f"epsg:{output_epsg}", ) if shoreline_gdf is None: - return np.array(shoreline) + return shoreline shoreline_gdf.reset_index(drop=True, inplace=True) # Filter shorelines within the extraction area.