Commit e7c21810 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Detect precipiation in input data, not threshold parameter (closes #39)

parent 7d6ce2d1
......@@ -12,7 +12,7 @@ class SpellLength:
self.reducer = reducer
def prepare(self, input_cube):
if is_precipitation(self.threshold):
if is_precipitation(self.input_cube):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment