Skip to contents

CcmeWqi: CCME Water Quality Index 1.0 (F1 scope, F2 frequency, F3 amplitude; WQI = 100 - sqrt(F1^2 + F2^2 + F3^2) / 1.732) against use-specific objectives. WeightedArithmeticWqi: Brown et al. (1972) index with unit weights K / S_i. DoSaturation: Benson and Krause (1984) oxygen solubility with pressure correction. CarlsonTsi: Carlson (1977) trophic state indices. Identical to the Python arm morie.fn.waterqual.

Usage

CcmeWqi(values, objectives, direction = NULL)

WeightedArithmeticWqi(values, standards, ideal = NULL)

DoSaturation(temperature_c, salinity = 0, pressure_atm = 1, measured = NULL)

CarlsonTsi(secchi_m = NULL, chla_ugl = NULL, tp_ugl = NULL)

Arguments

values

Samples x variables matrix (NA = not measured) or parameter values.

objectives, standards

Objectives or standards per variable.

direction

"max" or "min" per variable.

ideal

Ideal values (default 0).

temperature_c

Water temperature (C).

salinity

Salinity (g/kg).

pressure_atm

Pressure (atm).

measured

Measured DO for percent saturation.

secchi_m, chla_ugl, tp_ugl

Secchi depth, chlorophyll-a and total P.

Value

List.

References

Canadian Council of Ministers of the Environment (2001). CCME Water Quality Index 1.0, Technical Report.

Benson, B. B. and Krause, D. (1984). The concentration and isotopic fractionation of oxygen dissolved in freshwater and seawater in equilibrium with the atmosphere. Limnology and Oceanography 29, 620-632.

Carlson, R. E. (1977). A trophic state index for lakes. Limnology and Oceanography 22, 361-369.

Examples

CcmeWqi(rbind(c(1, 8), c(3, 5), c(1.5, 9)), c(2, 6), c("max", "min"))$wqi
#> [1] 38.84194
DoSaturation(c(0, 20, 30))$cs
#> [1] 14.620834  9.092426  7.558796
CarlsonTsi(secchi_m = 2, chla_ugl = 10, tp_ugl = 30)$state
#> [1] "eutrophic"