diff --git a/funcs/functions.py b/funcs/functions.py index dd95f8a5a7d3a9fe7de97c816ff2cce77cbd89eb..057bae0a19380c7aad19b0422a4cc1d81c66f41d 100644 --- a/funcs/functions.py +++ b/funcs/functions.py @@ -124,10 +124,7 @@ def flagSoilMoistureBySoilFrost(data, flags, field, flagger, soil_temp_reference :param frost_level: Value level, the flagger shall check against, when evaluating soil frost level. """ - # TODO: (To ASK):HOW TO FLAG nan values in input frame? general question: what should a test test? - # TODO: -> nan values with reference values that show frost, are flagged bad, nan values with reference value nan - # TODO: as well, are not flagged (test not applicable-> no flag) - # TODO: puffer zone for intermediate/fluktuating frost state + # retrieve data series input: dataseries = pd.Series(data[field].values, index=pd.to_datetime(data.index))