Hydrostats: A Python Package for Characterizing Errors between Observed and Predicted Time Series
AbstractHydrologists use a number of tools to compare model results to observed flows. These include tools to pre-process the data, data frames to store and access data, visualization and plotting routines, error metrics for single realizations, and ensemble metrics for stochastic realizations to calibrate and evaluate hydrologic models. We present an open-source Python package to help characterize predicted and observed hydrologic time series data called hydrostats which has three main capabilities: Data storage and retrieval based on the Python Data Analysis Library (pandas), visualization and plotting routines using Matplotlib, and a metrics library that currently contains routines to compute over 70 different error metrics and routines for ensemble forecast skill scores. Hydrostats data storage and retrieval functions allow hydrologists to easily compare all, or portions of, a time series. For example, it makes it easy to compare observed and modeled data only during April over a 30-year period. The package includes literature references, explanations, examples, and source code. In this note, we introduce the hydrostats package, provide short examples of the various capabilities, and provide some background on programming issues and practices. The hydrostats package provides a range of tools to make characterizing and analyzing model data easy and efficient. The electronic supplement provides working hydrostats examples. View Full-Text
Share & Cite This Article
Roberts, W.; Williams, G.P.; Jackson, E.; Nelson, E.J.; Ames, D.P. Hydrostats: A Python Package for Characterizing Errors between Observed and Predicted Time Series. Hydrology 2018, 5, 66.
Roberts W, Williams GP, Jackson E, Nelson EJ, Ames DP. Hydrostats: A Python Package for Characterizing Errors between Observed and Predicted Time Series. Hydrology. 2018; 5(4):66.Chicago/Turabian Style
Roberts, Wade; Williams, Gustavious P.; Jackson, Elise; Nelson, E. J.; Ames, Daniel P. 2018. "Hydrostats: A Python Package for Characterizing Errors between Observed and Predicted Time Series." Hydrology 5, no. 4: 66.
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.