Watershed: Creates a Watershed object

View source: R/watershed.r

WatershedR Documentation

Creates a Watershed object

Description

Creates a Watershed object

Usage

Watershed(
  stream,
  drainage,
  elevation,
  accumulation,
  catchmentArea,
  otherLayers
)

Arguments

stream

Stream network raster, required

drainage

Drainage direction raster, required

elevation

Optional elevation raster

accumulation

Optional flow accumulation raster

catchmentArea

Optional catchment area raster

otherLayers

RasterStack of other data layers to add to the Watershed object

Details

All raster maps will be cropped to the stream network. The values in 'stream' will be automatically assigned to a reachID field in the Watershed object.

Value

A watershed object


mtalluto/WatershedTools documentation built on May 21, 2022, 7:49 p.m.