get_rainfall_for_polygons: Extract the rainfall for a 'data.frame' of polygons

Description Usage Arguments

View source: R/get_rainfall_for_polygons.R

Description

This function builds on the results of slide_dates_in_polygon which returns a df where each row is a polygon with a slide that is uniquely indentifiable by its poly_id and the date

Usage

1
2
3
4
5
6
7
8
9
get_rainfall_for_polygons(
  landslidepoints_in_poly,
  days_back = 5,
  funs = c("mean"),
  nc_var = "precipitation",
  parallel = T,
  ncores = NULL,
  data_path = "\\\\projectdata.eurac.edu/projects/Proslide/PREC_GRIDS_updated/"
)

Arguments

landslidepoints_in_poly

Object of type sf as returned by slide_dates_in_polygon


MaThRk/rainfallR documentation built on Dec. 17, 2021, 2:14 a.m.