Description Usage Arguments Details
Calculate time average raster
1 2 | calculate_time_average_raster(raster.path, ext = extent(-11.5, 15.1, 45.8,
61.1), time.format, time.period)
|
raster.path |
is the full path to the raster file with a pattern ".grd". |
ext |
is the extent in lon lat |
time.format |
extracts the date out of the file name |
time.period |
averages over months, years, the whole period or yearmonths. Input includes: "month", "yearmonth","whole period". |
calculate_time_average_raster
uses raster and rts to calculate time averages for an extent. Stacking the raster files
doesn't load everything into memory. Note that for large files stackApply can consume a long time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.