aggregateS2 | R Documentation |
aggregateS2
aggregates Sentinel-2 data from 10-m or 20-m
resolution to either 20-m or 60-m resolution.
interpol
does bilinear interpolation from 20-m resolution to
10-m resolution.
tabulateS2
tabulates (efficiently) the values of reflectance
using preset bin intervals (equal to the precision of the raw data).
aggregateS2(x, finalreso = 60)
interpol(x)
tabulateS2(x)
x |
a vector of reflectance values for a single band at the 10-m resolution (so there must 10980 by 10980 pixels). |
finalreso |
the target resolution for the aggregation. |
These functions are under development and are currently intended to be used in combination with others functions (e.g., to extract the values from the raw rasters). The outputs also need to be input to appropriate data structures (e.g., rasters).
a vector of numeric values of the appropriate length.
Emmanuel Paradis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.