Using R in hydrology: a review of recent developments and future directions

Author:

Slater Louise J.ORCID,Thirel GuillaumeORCID,Harrigan ShaunORCID,Delaigue OlivierORCID,Hurley AlexanderORCID,Khouakhi AbdouORCID,Prosdocimi IlariaORCID,Vitolo ClaudiaORCID,Smith KatieORCID

Abstract

Abstract. The open-source programming language R has gained a central place in the hydrological sciences over the last decade, driven by the availability of diverse hydro-meteorological data archives and the development of open-source computational tools. The growth of R's usage in hydrology is reflected in the number of newly published hydrological packages, the strengthening of online user communities, and the popularity of training courses and events. In this paper, we explore the benefits and advantages of R's usage in hydrology, such as the democratization of data science and numerical literacy, the enhancement of reproducible research and open science, the access to statistical tools, the ease of connecting R to and from other languages, and the support provided by a growing community. This paper provides an overview of a typical hydrological workflow based on reproducible principles and packages for retrieval of hydro-meteorological data, spatial analysis, hydrological modelling, statistics, and the design of static and dynamic visualizations and documents. We discuss some of the challenges that arise when using R in hydrology and useful tools to overcome them, including the use of hydrological libraries, documentation, and vignettes (long-form guides that illustrate how to use packages); the role of integrated development environments (IDEs); and the challenges of big data and parallel computing in hydrology. Lastly, this paper provides a roadmap for R's future within hydrology, with R packages as a driver of progress in the hydrological sciences, application programming interfaces (APIs) providing new avenues for data acquisition and provision, enhanced teaching of hydrology in R, and the continued growth of the community via short courses and events.

Publisher

Copernicus GmbH

Subject

General Earth and Planetary Sciences,General Engineering,General Environmental Science

Reference209 articles.

1. Abbott, M. B.: Hydroinformatics: information technology and the aquatic environment, Avebury Technical, Aldershot, 1991. a

2. Addor, N., Newman, A. J., Mizukami, N., and Clark, M. P.: The CAMELS data set: catchment attributes and meteorology for large-sample studies, Hydrol. Earth Syst. Sci., 21, 5293–5313, https://doi.org/10.5194/hess-21-5293-2017, 2017. a

3. Albers, S.: tidyhydat: Extract and Tidy Canadian Hydrometric Data, The Journal of Open Source Software, 2, 511, https://doi.org/10.21105/joss.00511, 2017. a, b

4. Allaire, J.: manipulate: Interactive Plots for RStudio, available at https://CRAN.R-project.org/package=manipulate, r package version 1.0.1, 2014. a

5. Allaire, J., Horner, J., Xie, Y., Marti, V., and Porte, N.: markdown: “Markdown” Rendering for R, available at: https://CRAN.R-project.org/package=markdown, r package version 0.9, 2018a. a

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3