Skip to content

Commit

Permalink
Update SDS_shoreline.py
Browse files Browse the repository at this point in the history
quick bug fix, was missing L9 in SDS_shoreline.py
  • Loading branch information
kvos committed May 4, 2022
1 parent 8fc46cf commit 23f2cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coastsat/SDS_shoreline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 23f2cfe

Please sign in to comment.