get_sm_data_parallel: Function to extract the soilmoisture data for a set of...

Description Usage

View source: R/get_sm_data_parallel.R

Description

This funtions takes a path to the folder of all the soilmoisture-tiffs and a geometry. The geometry must have a column called date. This is necessasry in order to check if there is soilmoisture data for the date of the landslide (plus, minus days_before_window, days_after_window). It then extracts the soilmoisture values for the point, the buffered point, ot the polygon.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_sm_data_parallel(
  landsld = NULL,
  path_sm = "\\\\projectdata.eurac.edu/projects/Proslide/soilmoisture/32632",
  days_before_window = 5,
  days_after_window = 0,
  point_buffer = NULL,
  aggre_fun = NULL,
  parallel = TRUE,
  ncores = NULL
)

RobinKohrs/soilmoistr documentation built on Dec. 18, 2021, 10:55 a.m.