
Compute siting class for a station measuring precipitation
Source:R/compute_class_precipitation.R
compute_class_precipitation.Rd
Assess the class of a station from the type of surrounding slope, sheltering and obstacles as potential of reducing or increasing catching precipitation in a rain gauge and using the requirements set by WMO and Met
Usage
compute_class_precipitation(
stn = NULL,
horizon = NULL,
dem = NULL,
test_type = "MET",
f_plot = TRUE
)
Examples
# Get station metadata
# stn <- get_metadata_frost(stationid = 18700, dx = 100, resx = 1)
# Compute maximum horizon
# horizon_max <- compute_horizon_max(stn, step = 1, f_plot_polygon = FALSE)
# Load a digital elevation model
# dem <- download_dem_kartverket(stn, name = "dtm")
# Compute class
# compute_class_precipitation(stn,
# horizon_max,
# test_type = "WMO",
# f_plot = TRUE)