sf
object for Meteorological Stations or Control Points in a GEOtop simulationR/get.sf.points.R
get.geotop.points.Rd
Get a sf
object for Meteorological Stations or Control Points in a GEOtop simulation
get.geotop.points(
prefix = c("MeteoStation", "CoordinatePoint"),
suffixes = c("Code", "Elevation", "Source"),
coord_suffixes = list(MeteoStation = c("CoordinateX", "CoordinateY"), CoordinatePoint =
c("X", "Y")),
elevation_suffix = "Elevation",
elevation_map_keyword = "DemFile",
wpath,
...,
vector_sep = ","
)
keyword prefix
keyword suffixes
coordinate keyword suffixes. Default is c("PointX","PointY")
sting suffix for Elvation (see default)
keyword used for Digital Elevation Model map, e.g. "DemFile"
GEOtop simulation path
further arguments for get.geotop.inpts.keyword.value
# \donttest{
###See simulation template: "https://github.com/ecor/geotopbricks_doc/tree/master/template/sumava"
wpath <- "https://raw.githubusercontent.com/ecor/geotopbricks_doc/master/template/sumava/"
## system.file("template/sumava",package="geotopbricks")
out <- get.geotop.points(wpath=wpath)
#> [1] "Code" "Elevation" "Source" "CoordinateX" "CoordinateY"
#> [1] "CoordinateX" "CoordinateY"
out <- get.geotop.points(prefix="CoordinatePoint",suffix=c("Code","Source","Elevation"),wpath=wpath)
#> [1] "Code" "Source" "Elevation" "X" "Y"
#> [1] "X" "Y"
#> Warning (get.geotop.inpts.keyword.value): keyword CoordinatePointElevation without value:
out <- get.geotop.points(prefix="MeteoStation",suffix=c("Code","Source","Elevation"),wpath=wpath)
#> [1] "Code" "Source" "Elevation" "CoordinateX" "CoordinateY"
#> [1] "CoordinateX" "CoordinateY"
# }