sagang_catchmentarearecursive: QGIS algorithm - Catchment area (recursive)

View source: R/sagang_catchmentarearecursive.R

sagang_catchmentarearecursiveR Documentation

QGIS algorithm - Catchment area (recursive)

Description

QGIS Algorithm provided by SAGA Next Gen Catchment area (recursive) (sagang:catchmentarearecursive). —————- Arguments —————- ELEVATION: Elevation Argument type: raster Acceptable values: - Path to a raster layer SINKROUTE: Sink Routes (optional) Argument type: raster Acceptable values: - Path to a raster layer WEIGHTS: Weights (optional) Argument type: raster Acceptable values: - Path to a raster layer FLOW: Flow Accumulation Argument type: rasterDestination Acceptable values: - Path for new raster layer VAL_INPUT: Input for Mean over Catchment (optional) Argument type: raster Acceptable values: - Path to a raster layer VAL_MEAN: Mean over Catchment Argument type: rasterDestination Acceptable values: - Path for new raster layer ACCU_MATERIAL: Material for Accumulation (optional) Argument type: raster Acceptable values: - Path to a raster layer ACCU_TARGET: Accumulation Target Argument type: raster Acceptable values: - Path to a raster layer ACCU_TOTAL: Accumulated Material Argument type: rasterDestination Acceptable values: - Path for new raster layer ACCU_LEFT: Accumulated Material (Left Side) Argument type: rasterDestination Acceptable values: - Path for new raster layer ACCU_RIGHT: Accumulated Material (Right Side) Argument type: rasterDestination Acceptable values: - Path for new raster layer FLOW_UNIT: Flow Accumulation Unit Default value: 1 Argument type: enum Available values: - 0: (0) number of cells - 1: (1) cell area Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' TARGETS: Target Areas (optional) Argument type: raster Acceptable values: - Path to a raster layer FLOW_LENGTH: Flow Path Length Argument type: rasterDestination Acceptable values: - Path for new raster layer WEIGHT_LOSS: Loss through Negative Weights Argument type: rasterDestination Acceptable values: - Path for new raster layer METHOD: Method Default value: 3 Argument type: enum Available values: - 0: (0) Deterministic 8 - 1: (1) Rho 8 - 2: (2) Deterministic Infinity - 3: (3) Multiple Flow Direction Acceptable values: - Number of selected option, e.g. '1' - Comma separated list of options, e.g. '1,3' CONVERGENCE: Convergence Default value: 1.1 Argument type: number Acceptable values: - A numeric value - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression NO_NEGATIVES: Prevent Negative Flow Accumulation Default value: true Argument type: boolean Acceptable values: - 1 for true/yes - 0 for false/no - field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field - expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression

Usage

sagang_catchmentarearecursive(
  ELEVATION = qgisprocess:::qgis_default_value(),
  SINKROUTE = qgisprocess:::qgis_default_value(),
  WEIGHTS = qgisprocess:::qgis_default_value(),
  FLOW = qgisprocess:::qgis_default_value(),
  VAL_INPUT = qgisprocess:::qgis_default_value(),
  VAL_MEAN = qgisprocess:::qgis_default_value(),
  ACCU_MATERIAL = qgisprocess:::qgis_default_value(),
  ACCU_TARGET = qgisprocess:::qgis_default_value(),
  ACCU_TOTAL = qgisprocess:::qgis_default_value(),
  ACCU_LEFT = qgisprocess:::qgis_default_value(),
  ACCU_RIGHT = qgisprocess:::qgis_default_value(),
  FLOW_UNIT = qgisprocess:::qgis_default_value(),
  TARGETS = qgisprocess:::qgis_default_value(),
  FLOW_LENGTH = qgisprocess:::qgis_default_value(),
  WEIGHT_LOSS = qgisprocess:::qgis_default_value(),
  METHOD = qgisprocess:::qgis_default_value(),
  CONVERGENCE = qgisprocess:::qgis_default_value(),
  NO_NEGATIVES = qgisprocess:::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

ELEVATION

raster - Elevation. Path to a raster layer.

SINKROUTE

raster - Sink Routes. Path to a raster layer.

WEIGHTS

raster - Weights. Path to a raster layer.

FLOW

rasterDestination - Flow Accumulation. Path for new raster layer.

VAL_INPUT

raster - Input for Mean over Catchment. Path to a raster layer.

VAL_MEAN

rasterDestination - Mean over Catchment. Path for new raster layer.

ACCU_MATERIAL

raster - Material for Accumulation. Path to a raster layer.

ACCU_TARGET

raster - Accumulation Target. Path to a raster layer.

ACCU_TOTAL

rasterDestination - Accumulated Material. Path for new raster layer.

ACCU_LEFT

rasterDestination - Accumulated Material (Left Side). Path for new raster layer.

ACCU_RIGHT

rasterDestination - Accumulated Material (Right Side). Path for new raster layer.

FLOW_UNIT

enum of ⁠("(0) number of cells", "(1) cell area")⁠ - Flow Accumulation Unit. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

TARGETS

raster - Target Areas. Path to a raster layer.

FLOW_LENGTH

rasterDestination - Flow Path Length. Path for new raster layer.

WEIGHT_LOSS

rasterDestination - Loss through Negative Weights. Path for new raster layer.

METHOD

enum of ⁠("(0) Deterministic 8", "(1) Rho 8", "(2) Deterministic Infinity", "(3) Multiple Flow Direction")⁠ - Method. Number of selected option, e.g. '1'. Comma separated list of options, e.g. '1,3'.

CONVERGENCE

number - Convergence. A numeric value. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

NO_NEGATIVES

boolean - Prevent Negative Flow Accumulation. 1 for true/yes. 0 for false/no. field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field. expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • ACCU_LEFT - outputRaster - Accumulated Material (Left Side)

  • ACCU_RIGHT - outputRaster - Accumulated Material (Right Side)

  • ACCU_TOTAL - outputRaster - Accumulated Material

  • FLOW - outputRaster - Flow Accumulation

  • FLOW_LENGTH - outputRaster - Flow Path Length

  • VAL_MEAN - outputRaster - Mean over Catchment

  • WEIGHT_LOSS - outputRaster - Loss through Negative Weights


JanCaha/r_package_qgis documentation built on Nov. 3, 2024, 5:25 p.m.