HydroTools.of_KGEFunction
of_KGE(obs, sim, w=[1, 1, 1])

of_KGE Calculates Kling-Gupta Efficiency of simulated streamflow (Gupta et al, 2009). Ignores time steps with negative flow values.

References

  1. Gupta, H. V., Kling, H., Yilmaz, K. K., & Martinez, G. F. (2009). Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modelling. Journal of Hydrology, 377(1–2), 80–91. https://doi.org/10.1016/j.jhydrol.2009.08.003
source
HydroTools.sceuaFunction
sceua(fn::Function, x0::Vector, bl::Vector, bu::Vector;
    maxn=500, kstop=5, pcento=0.01, peps=0.001, ngs=5, iseed=-1, iniflg=1)

Return:

bestx, bestf, exitflag, output

Examples:

x, feval, exitflag, output = sceua(fn, x0, bl, bu)
source