Learn R Programming

sos4R (version 0.1-15)

read.sos: Read Data from a SOS Connection

Description

This function provides a high level interface to read data from a SOS connection in an abstract and uncomplicated manner. It wraps the actual request operation (i.e. GetObservation) and also uses different terms for soem properties.

WARNING: FUNCTIONS ARE NOT IMPLEMENTED YET! But any ideas or input is highly appreciated.

Usage

read.sos(sos, sensors = NA_character_, phenomena = NA_character_, bbox = NA_character_, times = c(NA), mergeResult = FALSE, addLocation = FALSE, verbose = FALSE)

Arguments

sos
The SOS to read data from.
sensors
A character array with sensor identifier(s) to limit data to certain sensors.
phenomena
A character array with phenomenon identifier(s) to limit data to certain phenomena.
bbox
A bounding box representation to request a certain spatial extend of data.
times
A vector of times (e.g. start and end time) as POSIXt classes or character string that can be parsed to POSIXt classes depicting a temporal extend.
mergeResult
A flag to turn merging of the results into a single data structure on or off.
addLocation
A flag to turn the adding of the location to every data set in the result on or off.
verbose
Turn verbose logging on/off.

Value

  • An object or a list of object from class OmObservation or OmMeasurement.

See Also

See Also as getObservation.

Examples

Run this code
# TBD

Run the code above in your browser using DataLab