test_thresholdsensitivity: Test threshold sensitivity

Description Usage Arguments Value

Description

Test sensitivity of model predictions to flow intermittence probability threshold used to classify global river reaches into non-perennial and perennial classes.

Usage

1
2
3
4
5
6
7
8
9
test_thresholdsensitivity(
  in_gpredsdt,
  in_rivpred,
  threshrange_gauges = seq(0.3, 0.7, 0.01),
  threshrange_network = seq(0.45, 0.55, 0.01),
  mincutoff = 0.1,
  gaugescol = "IRpredprob_CVnosp",
  netcol = "predbasic800"
)

Arguments

in_gpredsdt

data.table of model predictions for gauging stations. Here, output from bind_gaugepreds.

in_rivpred

data.table of model predictions for global river network. Here, output from netpredformat.

threshrange_gauges

numerical vector of probability threshold values for which to assess and plot model predictions and performance for gauging stations.

threshrange_network

numerical vector of probability threshold values for which to produce predictions of flow intermittence for the global network (set narrower than thresrange_gauges as each one takes much longer to compute).

mincutoff

minimum long-term mean annual flow (MAF) to include in assessment of gauges and network (i.e., mincutoff == 0.1 means that only gauging stations and river reaches with a WaterGAP estimated MAF >= 0.1 are included in the sensitivity analysis)

gaugescol

name of the column in in_gpredsdt containing the predicted probability of flow intermittence.

netcol

name of the column in in_rivpred containing the predicted probability of flow intermittence.

Value

list with three elements:


NaiaraLopezRojo/globalIRmap documentation built on Dec. 17, 2021, 5:19 a.m.