From 23f2cfee7dd0ed02c8a318428786970ada273df8 Mon Sep 17 00:00:00 2001 From: kvos Date: Wed, 4 May 2022 11:49:17 +1000 Subject: [PATCH] Update SDS_shoreline.py quick bug fix, was missing L9 in SDS_shoreline.py --- coastsat/SDS_shoreline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coastsat/SDS_shoreline.py b/coastsat/SDS_shoreline.py index de893fc0..0491438c 100644 --- a/coastsat/SDS_shoreline.py +++ b/coastsat/SDS_shoreline.py @@ -118,7 +118,7 @@ def extract_shorelines(metadata, settings): str_new = '' if not sklearn.__version__[:4] == '0.20': str_new = '_new' - if satname in ['L5','L7','L8']: + if satname in ['L5','L7','L8','L9']: pixel_size = 15 if settings['sand_color'] == 'dark': clf = joblib.load(os.path.join(filepath_models, 'NN_4classes_Landsat_dark%s.pkl'%str_new))