Skip to content

Commit

Permalink
Apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
theroggy committed Sep 5, 2024
1 parent ea80ef3 commit 54fbf7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/doc/operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ Examples
weighted by the coverage fraction of each pixel.
* ``count(default_value=0)``: the sum of all pixel coverage fractions, including
NODATA pixels, as they will be treated as having value 0 instead of being ignored.
* ``mean(min_coverage_frac=0.5)``: the mean value of pixels that intersect the
polygon. Only pixels with a coverage fraction of 50% or more will be considered in
the calculation and they will be weighted by the coverage fraction.
* ``mean(min_coverage_frac=0.5,coverage_weight=none)``: the mean value of pixels that
intersect the polygon. Only pixels with a coverage fraction of 50% or more will be
considered in the calculation, and they will be treated as having 100% coverage.
* ``mean(min_coverage_frac=0.5)``: the mean value of pixels having 50% or
more of their area covered by the polygon. Pixel values will be weighted by the
coverage fraction.
* ``mean(min_coverage_frac=0.5,coverage_weight=none)``: the mean value of pixels
having 50% or more of their area covered by the polygon. Pixel values will be
weighted equally (all included pixels treated as having 100% coverage).
* ``mean(coverage_weight=none)``: the mean value of pixels that intersect the polygon.
All pixels with any coverage will be counted as having 100% coverage.

0 comments on commit 54fbf7c

Please sign in to comment.