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 = ","
)

Arguments

prefix

keyword prefix

suffixes

keyword suffixes

coord_suffixes

coordinate keyword suffixes. Default is c("PointX","PointY")

elevation_suffix

sting suffix for Elvation (see default)

elevation_map_keyword

keyword used for Digital Elevation Model map, e.g. "DemFile"

wpath

GEOtop simulation path

vector_sep, ...

further arguments for get.geotop.inpts.keyword.value

Examples


# \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"

# }