Hymod.jl API

Hymod.randomparamsFunction
randomparams()

Function to create a random set of parameters as kwargs for Hymod.simulate()

source
Hymod.hargreavesFunction
hargreaves(forcings::DataFrame; tmincol::Symbol = :tmin, tmaxcol::Symbol = :tmax, dtcol::Symbol = :datetime)

Function to calculate PET using Hargreves equation.

source
hargreaves(tmin::AbstractArray, tmax::AbstractArray, dts::AbstractArray)

Function to calculate PET using Hargreves equation.

source
hargreaves(tmin::Real, tmax::Real, dts::Date)

Function to calculate PET using Hargreves equation.

source
Hymod.simulateFunction
simulate(forcings::DataFrame; precipcol::Symbol = :precip, petcol::Symbol = :pet, kwargs...)

Function to simulate discharge using Hymod rainfall-runoff model.

source
simulate(precip::AbstractArray, pet::AbstractArray; initflow::Bool = true, cmax::Float64 = 1.0, bexp::Float64 = 0.0, alpha::Float64 = 0.2, ks::Float64 = 0.01, kq::Float64 = 0.5)

Function to simulate discharge using Hymod rainfall-runoff model

source
Hymod.calibrateFunction
calibrate(forcing::DataFrame, paramspace::Dict, nsamples::Int64; precipcol::Symbol = :precip, petcol::Symbol = :pet, obscol::Symbol = :obs, savefinal::Bool = false)

Function to calibrate Hymod rainfall-runoff model

source
Hymod.nseFunction
nse(y_true::AbstractArray, y_pred::AbstractArray)

Function to calculate Nash-Sutcliffe model efficiency coefficient

source