calculate_time_average_raster: Calculate time averages from raster

Description Usage Arguments Details

Description

Calculate time average raster

Usage

1
2
calculate_time_average_raster(raster.path, ext = extent(-11.5, 15.1, 45.8,
  61.1), time.format, time.period)

Arguments

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".

Details

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.


MariekeDirk/Solar-Radiation-Europe documentation built on May 23, 2019, 10:33 p.m.