Skip to content

Commit

Permalink
Merge pull request #56 from geo-engine/percentile
Browse files Browse the repository at this point in the history
percentile
  • Loading branch information
jdroenner authored May 23, 2024
2 parents 551467e + fea4f52 commit 4d05f18
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/operators/temporalrasteraggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ The following describes the types used in the parameters.
There are different methods that can be used to aggregate the raster time series.
Encountering a _no data_ value makes the aggregation value of a pixel also _no data_ unless the `ignoreNoData` parameter is set to `true`.

| Variant | Parameters | Description |
| ------- | ---------------------- | -------------------------- |
| `min` | `ignoreNoData`: `bool` | minimum value |
| `max` | `ignoreNoData`: `bool` | maximum value |
| `first` | `ignoreNoData`: `bool` | first encountered value |
| `last` | `ignoreNoData`: `bool` | last encountered value |
| `mean` | `ignoreNoData`: `bool` | mean value |
| `sum` | `ignoreNoData`: `bool` | sum of the values |
| `count` | `ignoreNoData`: `bool` | count the number of values |
| Variant | Parameters | Description |
| -------------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `min` | `ignoreNoData`: `bool` | minimum value |
| `max` | `ignoreNoData`: `bool` | maximum value |
| `first` | `ignoreNoData`: `bool` | first encountered value |
| `last` | `ignoreNoData`: `bool` | last encountered value |
| `mean` | `ignoreNoData`: `bool` | mean value |
| `percentileEstimate` | `ignoreNoData`: `bool`, `percentile`: `number` in `(0, 1)` | computes a percentile estimate using the [](https://www.cs.wustl.edu/~jain/papers/ftp/psqr.pdf) method |
| `sum` | `ignoreNoData`: `bool` | sum of the values |
| `count` | `ignoreNoData`: `bool` | count the number of values |

**Attention:** For the variants `sum` and `count`, a saturating addition is used.
This means, that if the sum of two values exceeds the maximum value of the data type, the result will be the maximum value of the data type.
Expand Down

0 comments on commit 4d05f18

Please sign in to comment.