Learn R Programming

geotopbricks (version 1.5.8.2)

get.geotop.points: Get a sf object for Meteorological Stations or Control Points in a GEOtop simulation

Description

Get a sf object for Meteorological Stations or Control Points in a GEOtop simulation

Usage

get.geotop.points(
  prefix = c("MeteoStation", "CoordinatePoint"),
  suffixes = c("Code", "Elevation", "Source"),
  coord_suffixes = list(MeteoStation = c("CoordinateX", "CoordinateY"), CoordinatePoint =
    c("X", "Y")),
  wpath,
  ...,
  vector_sep = ","
)

Arguments

prefix

keyword prefix

suffixes

keyword suffixes

coord_suffixes

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

wpath

GEOtop simulation path

vector_sep, ...

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

Examples

Run this code

# \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)
out <- get.geotop.points(prefix="CoordinatePoint",suffix=c("Code","Source"),wpath=wpath)
out <- get.geotop.points(prefix="MeteoStation",suffix=c("Code","Source"),wpath=wpath)

# }

Run the code above in your browser using DataLab