Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
esde
toar-public
toarstats
Commits
69d0ff78
Commit
69d0ff78
authored
Nov 08, 2021
by
Niklas Selke
Browse files
All arguments in the new interface are now keyword arguments.
parent
270e114f
Changes
1
Hide whitespace changes
Inline
Side-by-side
toarstats/interface.py
View file @
69d0ff78
...
...
@@ -9,10 +9,11 @@ from toarstats.input_checks import (check_crops, check_data, check_metadata,
check_statistics
)
def
calculate_statistics
(
sampling
,
statistics
,
data
=
None
,
metadata
=
None
,
seasons
=
None
,
crops
=
None
,
data_capture
=
None
,
datetimes
=
None
,
values
=
None
,
station_lat
=
None
,
station_lon
=
None
,
station_climatic_zone
=
None
):
def
calculate_statistics
(
sampling
=
None
,
statistics
=
None
,
data
=
None
,
metadata
=
None
,
seasons
=
None
,
crops
=
None
,
data_capture
=
None
,
datetimes
=
None
,
values
=
None
,
station_lat
=
None
,
station_lon
=
None
,
station_climatic_zone
=
None
):
"""Calculate the requested statistics.
This function is the public interface for the ``toarstats`` package.
...
...
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