Station net creator

Share:

Description

Creates a net of the stations of dataset by checking the distances between the stations.

Usage

1
2
3
data.combine.stationNet(dataset, range, 
					alt.range, silent=FALSE, 
					out2File=FALSE)

Arguments

dataset

A dataset created by data.extract containing the information that should be used to generate the station net.

range

The maximum distance between two stations that should be connected in the net.

alt.range

The maximum altitude difference between two stations that should be connected in the net.

silent

A boolean value determining wether the function should generate output messages or not.

out2File

A boolean value determining wether the output will be stored in log-files.

Details

Only stations with a maximal distance of 'range' and maximal altitude difference of ‘alt.range’ are connected.

Value

Returns a list with entries for all stations of dataset. Each list entry stands for a station and contains all neighbours of that station.

Author(s)

Daniel Doktor, Maximilian Lange

Examples

1
2
3
4
5
6
7
  ## load extracted observations as created by 'data.extract'
  data(extractedObs)

  ## create station net
  stations.net <- data.combine.stationNet(extractedObs, 
				range=5000, alt.range=50, silent=FALSE, 
				out2File=FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.