get_rainfall_point_data: Get the rainfall-(events) for point data

Description Usage Arguments

View source: R/get_rainfall_point_data.R

Description

Wrapper-funtion to calculate the rainfall, the cumulated sum, and the events for point-data for specific dates (e.g. dates of landslides)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
get_rainfall_point_data(
  point.data = NULL,
  days_back = 10,
  daily_thresh = 0,
  n_dry = 0,
  parallel = TRUE,
  ncores = 8,
  last_event = FALSE,
  nle = FALSE,
  save = F,
  force = FALSE,
  base_path = NULL,
  id_landslide = NULL,
  antecedent = FALSE,
  path_rainfall = "/mnt/CEPH_PROJECTS/Proslide/PREC_GRIDS_updated/"
)

Arguments

last_event

if True: Returns only the last event before the date of the landslide

nle

if True: Returns all events. This will create a new column called class that either stores trigger or notrigger depending on if there is any landslide correspondending in time and space with a rainfall-event. if NLE == TRUE, all dates without any event will be omitted

id_landslide

The name of a column that uniquely identifies each landslide


RobinKohrs/rainfallR documentation built on Oct. 3, 2021, 1:42 a.m.