diff --git a/python/ts/mowingDetection/mowingDetection_UDF.py b/python/ts/mowingDetection/mowingDetection_UDF.py index dc9264a..c367c09 100644 --- a/python/ts/mowingDetection/mowingDetection_UDF.py +++ b/python/ts/mowingDetection/mowingDetection_UDF.py @@ -2,6 +2,7 @@ from datetime import datetime, timedelta import time import numpy as np +import warnings """ >>> Mowing detection @@ -89,6 +90,7 @@ def sinceEpoch(date): # returns seconds since epoch def detectMow_S2_new(xs, ys, clearWd, yr, type='ConHull', nOrder=3, model='linear'): + warnings.simplefilter('ignore') another_thrs = 0.15 Y = np.asarray(ys)/10000