View source: R/get_yearly_rainfall.R
This function takes either a polygon, or nothing (than it's pixel based) and calculates the sum of rainfall for each polygon (each pixel) for each year
1 2 3 4 5 6 7 8 9 10 |
return.list |
if |
aggre_fun |
If you pass a polygon, the values need to be aggregated somehow |
fun |
How to combine the individual values. E.G. the mean for each pixel for the years 1980, 1981 and 1982 requires the
the fun to be "mean". The maximum value for each month in the years 80,81,82 requires the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.