Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
toarstats
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
toar-public
toarstats
Commits
9e050c14
Commit
9e050c14
authored
1 year ago
by
Niklas Selke
Browse files
Options
Downloads
Patches
Plain Diff
Added a short description of the 'custom' sampling.
parent
6d08b814
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!11
Added a custom sampling option to aggregate over the full time series time span
,
!10
Resolve "Allow for arbitrary sampling intervals"
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-2
4 additions, 2 deletions
README.md
toarstats/metrics/interface.py
+3
-1
3 additions, 1 deletion
toarstats/metrics/interface.py
with
7 additions
and
3 deletions
README.md
+
4
−
2
View file @
9e050c14
...
...
@@ -49,7 +49,7 @@ calculate_statistics(
:param sampling: temporal aggregation, one of ``daily``,
``monthly``, ``seasonal``, ``vegseason``,
``summer``, ``xsummer``,
or
``annual``;
``summer``, ``xsummer``, ``annual``
, or ``custom``
;
``summer`` will pick the 6-months summer season in
the hemisphere where the station is located;
``xsummer`` does the same for a 7-months summer
...
...
@@ -57,7 +57,9 @@ calculate_statistics(
``vegseason`` requires also the ``crops`` argument
and will then determine the appropriate growing
seasons based on the ``climatic_zone`` metadata and
crop type
crop type;
``custom`` will create one aggregate value over the
entire time series
:param statistics: a single statistic or metric or a list of
statistics and metrics to call, these must be
defined in ``stats.py`` or ``ozone_metrics.py``
...
...
This diff is collapsed.
Click to expand it.
toarstats/metrics/interface.py
+
3
−
1
View file @
9e050c14
...
...
@@ -34,7 +34,9 @@ def calculate_statistics(
``vegseason`` requires also the ``crops`` argument
and will then determine the appropriate growing
seasons based on the ``climatic_zone`` metadata and
crop type
crop type;
``custom`` will create one aggregate value over the
entire time series
:param statistics: a single statistic or metric or a list of
statistics and metrics to call, these must be
defined in ``stats.py`` or ``ozone_metrics.py``
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment