Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add aggregation type for temporal data #571

Closed
5 tasks
sfluegel05 opened this issue Oct 19, 2020 · 8 comments · Fixed by #610
Closed
5 tasks

add aggregation type for temporal data #571

sfluegel05 opened this issue Oct 19, 2020 · 8 comments · Fixed by #610
Assignees
Labels
[A] new term Including new term(s) in the ontology

Comments

@sfluegel05
Copy link
Contributor

Description of the issue

An aggregation type is usually part of the description of a time step. This appeared in #267, see #267 (comment) and #267 (comment)

Ideas of solution

We could implement this analogous to time stamp alignment:

  • a class aggregation type that is a subclass of data descriptor
  • individuals of this class that represent the different possible aggregation types

Aggregation types mentioned so far:

  • sum/integrated
  • mean
  • instantaneous

Workflow checklist

  • I discussed the issue with someone else than me before working on a solution
  • I already read the latest version of the workflow for this repository
  • The goal of this ontology is clear to me

I am aware that

  • every entry in the ontology should have a definition
  • classes should arise from concepts rather than from words
@sfluegel05 sfluegel05 added [A] new term Including new term(s) in the ontology To do Issues that haven't got discussed yet labels Oct 19, 2020
@akleinau akleinau added this to the oeo-release-1.3.0 milestone Oct 23, 2020
@carstenhoyerklick
Copy link
Contributor

We should also add "maximum" and "minimum" to the aggregation types. A typical "maximum" are e.g. wind gust in a time interval. Similar could be maximum and minim prices in the time series.
A further option could be something like "number", e.g. if we count the number of flahes in a thunder storm within a time interval. Or maybe something how often a thereshold of a price level is surpassed.

@carstenhoyerklick
Copy link
Contributor

And another one: "flags" could als be a possibility, e.g. for quality control flags of measurement time series.

Number could occur e.g. as the number of values used to create an average in an aggregation process.

@stap-m
Copy link
Contributor

stap-m commented Nov 18, 2020

Also mean shold be called "arithmetic mean". Are other types of mean used for the aggregation, too?

Suggestion for a definition: An aggregation type is a data descriptor that contains information on the aggregation method applied on a data set.

We could add an example of usage here, too. E.g. temporal aggregation of continuous measurements for discrete a time series, aggregation of a data set with a spatial references

@github-actions github-actions bot removed the To do Issues that haven't got discussed yet label Nov 18, 2020
@stap-m
Copy link
Contributor

stap-m commented Nov 18, 2020

Do individuals also get definitions @sfluegel05 ?

I'd say, "number" (e.g. of flashes) is the same as "sum/integral".

@sfluegel05
Copy link
Contributor Author

So far, we have some individuals without definitions and some that have definitions. In general, I'd say definitions are not necessary for individuals, because there is just one of them.
In this case it might be nice to have some examples or definitions so everyone understands what is meant by a term.

@stap-m
Copy link
Contributor

stap-m commented Nov 19, 2020

Defs for the instances. Apart from instantaneous, all other instances can be used for temporal AND spatial aggregation. Maybe we have to specify "spatial region" when classes for georeferencing are implemented. But for now:

  • instantaneous: value measured at or modelled for exactly one 0-dim temporal region, referenced by a time stamp, e.g. to represent a time step in a time series
  • integral: sum or integral of values, e.g. within a time step or a spatial region
  • arithemetic mean: average value claculated by arithmetic mean over a set of data values, e.g. within a time step or spatial region
  • minimum: minimum value within a set of data values, e.g. in a time step or spatial region
  • maximum: maximum value within a set of data values, e.g. in a time step or spatial region

@stap-m
Copy link
Contributor

stap-m commented Nov 23, 2020

For "flag" we should find another place than aggregation type, propably as own data descriotor subclass. Any ideas for a definition @carstenhoyerklick?

@stap-m
Copy link
Contributor

stap-m commented Nov 27, 2020

I'd propose to implement what we have and discuss "flag" in another issue, so that we can close here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[A] new term Including new term(s) in the ontology
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants