Watershed-class: Class '"Watershed"'

Description Objects from the Class Slots Methods Author(s) References See Also Examples

Description

A S4 class "Watershed" for representing "Watershed" objects.

Objects from the Class

Objects can be created by calls of the form new("Watershed", ...).

Slots

station:

Object of class "SpatialPoints" of length 1. Represents a point from which aggregation fo watersheds will occur.

subbasin:

Object of class "SpatialPolygonsDataFrame" of length 1. Represents the current boundary of the hydrological units or zhyd objects.

zhyd:

Object of class "SpatialPolygonsDataFrame". Represents the current hydrological units (zhyd accordingly to ECRINS (EAA, 2012)) to be analized inside the subbasin boundary.

river:

Object of class "SpatialLinesDataFrame" that represents the current river network to be analised inside the subbasin boundary.

c1:

Object of class "SpatialPolygonsDataFrame" of lentgh 1. Represents the curren zhyd object of analysis.

node:

Object of class "SpatialPointsDataFrame". Represents the current nodes of the river network to be analised inside the subbasin boundary.

Methods

Watershed.Order

signature(x = "Watershed"): ...

Watershed.Order2

signature(watershed = "Watershed"): ...

Watershed.Tributary

signature(x = "SpatialPointsDataFrame", xo = "SpatialPointsDataFrame", y = "SpatialLinesDataFrame", z = "SpatialPointsDataFrame", zhyd = "SpatialPolygonsDataFrame", c1 = "SpatialPolygonsDataFrame")

Author(s)

J.A. Torres-Matallana

References

European Environment Agency - EAA. (2012). EEA catchments and rivers network system, ECRINS v1.1. rationales, building and improving for widening uses to Water Accounts and WISE applications (EEA Technical report No. 7/2012). (Luxembourg: Publications Office of the European Union).

See Also

See Also as the functions Watershed.IOR1, Watershed.IOR2, Watershed.IOR3, Watershed.IOR4, or the S4 methods Watershed.Order, Watershed.Order2, Watershed.Tributary

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	data(WatershedsData)
	station1 = WatershedsData$station
	subbasin1 = WatershedsData$subbasin
	zhyd1 = WatershedsData$zhyd
	river1 = WatershedsData$river
	node1 = WatershedsData$node	
	
	station1 = SpatialPoints(coords=slot(station1,"coords"), 
		proj4string=slot(subbasin1,"proj4string"))
	watershed = new("Watershed",station=station1,subbasin=subbasin1,
		zhyd=zhyd1,river=river1,c1=subbasin1,node=node1)

Watersheds documentation built on May 2, 2019, 12:10 p.m.