hydroGOF

Goodness-of-fit functions for comparison of simulated and observed hydrological time series

https://github.com/hzambran/hydrogof

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 139 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Goodness-of-fit functions for comparison of simulated and observed hydrological time series

Basic Info
Statistics
  • Stars: 41
  • Watchers: 6
  • Forks: 13
  • Open Issues: 5
  • Releases: 7
Created over 11 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog

README.md

hydroGOF

Research software impact CRAN License monthly total Build Status dependencies

R-CMD-check <!-- badges: end -->

hydroGOF is an R package that provides S3 functions implementing both statistical and graphical goodness-of-fit measures between observed and simulated values, mainly oriented to be used during the calibration, validation, and application of hydrological models.

Missing values in observed and/or simulated values can be automatically removed before the computations.

Bugs / comments / questions / collaboration of any kind are very welcomed.

Installation

Installing the latest stable version from CRAN: {r} install.packages("hydroGOF")

Alternatively, you can also try the under-development version from Github: {r} if (!require(devtools)) install.packages("devtools") library(devtools) install_github("hzambran/hydroGOF")

Reporting bugs, requesting new features

If you find an error in some function, or want to report a typo in the documentation, or to request a new feature (and wish it be implemented :) you can do it here

Citation

{r} citation("hydroGOF")

To cite hydroGOF in publications use:

Zambrano-Bigiarini, Mauricio (2024). hydroGOF: Goodness-of-fit functions for comparison of simulated and observed hydrological time series. R package version 0.6-0. URL:https://cran.r-project.org/package=hydroGOF. doi:10.5281/zenodo.839854.

A BibTeX entry for LaTeX users is

@Manual{hydroGOF,
title = {hydroGOF: Goodness-of-fit functions for comparison of simulated and observed hydrological time series},
author = {Zambrano-Bigiarini, Mauricio},
note = {R package version 0.6-0},
year = {2024}, url = {https://cran.r-project.org/package=hydroGOF},
doi = {10.5281/zenodo.839854},
}

Goodness-of-fit measures

Quantitative statistics included in this package are:

  • me: Mean Error (Hill et al., 2006)
  • mae: Mean Absolute Error (Hodson, 2022)
  • mse: Mean Squared Error (Yapo et al., 1996)
  • rmse: Root Mean Square Error (Willmott and Matsuura, 2005)
  • ubRMSE: Unbiased Root Mean Square Error (Entekhabi et al., 2010)
  • nrmse: Normalized Root Mean Square Error
  • pbias: Percent Bias (Yapo et al., 1996)
  • rsr: Ratio of RMSE to the Standard Deviation of the Observations (Moriasi et al., 2007)
  • rSD: Ratio of Standard Deviations
  • NSE: Nash-Sutcliffe Efficiency (Nash and Sutcliffe, 1970)
  • mNSE: Modified Nash-Sutcliffe Efficiency (Krause et al., 2005)
  • rNSE: Relative Nash-Sutcliffe Efficiency (Legates and McCabe, 1999)
  • wNSE: Weighted Nash-Sutcliffe Efficiency (Hundecha and Bardossy, 2004)
  • wsNSE: Weighted Seasonal Nash-Sutcliffe Efficiency (Zambrano-Bigiarini and Bellin, A., 2012)
  • d: Index of Agreement (Willmott, C.J., 1981)
  • dr: Refined Index of Agreement (Willmott et al., 2012)
  • md: Modified Index of Agreement (Krause et al., 2005)
  • rd: Relative Index of Agreement (Krause et al., 2005)
  • cp: Persistence Index (Kitanidis and Bras, 1980)
  • rPearson: Pearson correlation coefficient (Pearson, 1920)
  • R2: Coefficient of determination (Box, 1966)
  • br2: R2 multiplied by the coefficient of the regression line between \code{sim} and \code{obs} (Krause et al., 2005)
  • VE: Volumetric efficiency (Criss and Winston, 2008)
  • KGE: Kling-Gupta efficiency (Gupta et al., 2009)
  • KGElf: Kling-Gupta Efficiency for low values (Garcia et al., 2017)
  • KGEnp: Non-parametric version of the Kling-Gupta Efficiency (Pool et al., 2018)
  • KGEkm: Knowable Moments Kling-Gupta Efficiency (Pizarro and Jorquera, 2024)
  • sKGE: Split Kling-Gupta Efficiency (Fowler et al., 2018)
  • APFB: Annual Peak Flow Bias (Mizukami et al., 2019)
  • HFB: High Flow Bias
  • rSpearman: Spearman's rank correlation coefficient (Spearman, 1961)
  • ssq: Sum of the Squared Residuals (Willmott et al., 2009)
  • pbiasfdc: PBIAS in the slope of the midsegment of the flow duration curve (Yilmaz et al., 2008)
  • pfactor: P-factor (Abbaspour et al., 2009)
  • rfactor: R-factor (Abbaspour et al., 2009)

References

Vignette

Here you can find an introductory vignette illustrating the use of several hydroGOF functions.

Related Material

  • R: a statistical environment for hydrological analysis (EGU-2010) abstract, poster.

  • Comparing Goodness-of-fit Measures for Calibration of Models Focused on Extreme Events (EGU-2012) abstract, poster.

  • Using R for analysing spatio-temporal datasets: a satellite-based precipitation case study (EGU-2017) abstract, poster.

See Also

Owner

  • Name: Mauricio Zambrano-Bigiarini
  • Login: hzambran
  • Kind: user
  • Location: Temuco, Chile
  • Company: Deptartment of Civil Engineering, Faculty of Engineering and Sciences, Universidad de La Frontera

Civil Engineer, PhD in Environmental Engineering, with more than 20 years of experience in water resources (development and assessment of hydrological models)

GitHub Events

Total
  • Issues event: 1
  • Watch event: 5
  • Push event: 1
Last Year
  • Issues event: 1
  • Watch event: 5
  • Push event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 314
  • Total Committers: 2
  • Avg Commits per committer: 157.0
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 28
  • Committers: 1
  • Avg Commits per committer: 28.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Mauricio Zambrano-Bigiarini m****l@g****m 157
Mauricio Zambrano-Bigiarini h****n 157

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 23
  • Total pull requests: 3
  • Average time to close issues: over 1 year
  • Average time to close pull requests: almost 3 years
  • Total issue authors: 22
  • Total pull request authors: 3
  • Average comments per issue: 1.52
  • Average comments per pull request: 0.67
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • hzambran (2)
  • jthurner (1)
  • martindoublem (1)
  • NUForever (1)
  • tjmills (1)
  • gpf75ks (1)
  • rogiersbart (1)
  • vrao1 (1)
  • consumere (1)
  • hjdx2009 (1)
  • lpmorenoc (1)
  • kkyong77 (1)
  • tungttnguyen (1)
  • teaiii (1)
  • Doltrix (1)
Pull Request Authors
  • sluedtke (2)
  • jthurner (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 2,131 last-month
  • Total docker downloads: 47,184
  • Total dependent packages: 16
    (may contain duplicates)
  • Total dependent repositories: 41
    (may contain duplicates)
  • Total versions: 18
  • Total maintainers: 1
cran.r-project.org: hydroGOF

Goodness-of-Fit Functions for Comparison of Simulated and Observed Hydrological Time Series

  • Versions: 17
  • Dependent Packages: 15
  • Dependent Repositories: 41
  • Downloads: 2,131 Last month
  • Docker Downloads: 47,184
Rankings
Dependent repos count: 4.0%
Dependent packages count: 4.5%
Forks count: 5.5%
Average: 6.1%
Downloads: 7.2%
Stargazers count: 9.2%
Maintainers (1)
Last synced: 11 months ago
conda-forge.org: r-hydrogof
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Dependent packages count: 28.8%
Dependent repos count: 34.0%
Average: 36.2%
Forks count: 40.0%
Stargazers count: 42.0%
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10.0 depends
  • zoo >= 1.7 depends
  • hydroTSM >= 0.5 imports
  • methods * imports
  • stats * imports
  • xts >= 0.8 imports
  • knitr * suggests