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.
1 2 3 4 5 6 7 8 9 | get_sm_data(
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,
quiet = TRUE
)
|
quiet |
Print an updating message on the status of the extraction |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.