View source: R/get_rainfall_point_data.R
Wrapper-funtion to calculate the rainfall, the cumulated sum, and the events for point-data for specific dates (e.g. dates of landslides)
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/"
)
|
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 |
id_landslide |
The name of a column that uniquely identifies each landslide |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.