Snaps the coordinates of the provided calibration gauges to the respective midpoint of the nearest channel cell.
# S4 method for class 'RPhosFate'
snapGauges(x)
An S4 RPhosFate
river catchment object.
An S4 RPhosFate
river catchment object.
# temporary demonstration project copy
cv_dir <- demoProject()
#> Warning: A folder called "demoProject" already exists and is left as is.
# load temporary demonstration project
x <- RPhosFate(
cv_dir = cv_dir,
ls_ini = TRUE
)
#> Warning: Omitted parameter "iv_fDo", as it is no longer required. It will definitely be lost upon saving the project's state.
x <- snapGauges(x)