Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
climix
climix
Commits
6811cd1a
Commit
6811cd1a
authored
Jul 02, 2019
by
Klaus Zimmermann
Browse files
Fix index function spell_length (fixes #91)
parent
8fa53a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
climix/index_functions.py
View file @
6811cd1a
...
...
@@ -85,8 +85,8 @@ class CountOccurences:
class
SpellLength
:
def
__init__
(
self
,
threshold
,
condition
,
reducer
):
self
.
threshold
=
threshold
self
.
condition
=
condition
self
.
reducer
=
reducer
self
.
condition
=
NUMPY_OPERATORS
[
condition
]
self
.
reducer
=
NUMPY_REDUCERS
[
reducer
]
self
.
standard_name
=
None
self
.
units
=
Unit
(
'days'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment