Reproducibility Starts at the Source: R, Python, and Julia Packages for Retrieving USGS Hydrologic Data
Open Access
Abstract
Much of modern science takes place in a computational environment, and, increasingly, that environment is programmed using R, Python, or Julia. Furthermore, most scientific data now live on the cloud, so the first step in many workflows is to query a cloud database and load the response into a computational environment for further analysis. Thus, tools that facilitate programmatic data retrieval represent a critical component in reproducible scientific workflows. Earth science is no different in this regard. To fulfill that basic need, we developed R, Python, and Julia packages providing programmatic access to the U.S. Geological Survey’s National Water Information System database and the multi-agency Water Quality Portal. Together, these packages create a common interface for retrieving hydrologic data in the Jupyter ecosystem, which is widely used in water research, operations, and teaching. Source code, documentation, and tutorials for the packages are available on GitHub. Users can go there to learn, raise issues, or contribute improvements within a single platform, which helps foster better engagement and collaboration between data providers and their users.Keywords
Funding Information
- National Science Foundation (1931297)
This publication has 20 references indexed in Scilit:
- Machine Learning and Deep Learning frameworks and libraries for large-scale data mining: a surveyArtificial Intelligence Review, 2019
- 1,500 scientists lift the lid on reproducibilityNature, 2016
- Big data and hydroinformaticsJournal of Hydroinformatics, 2016
- HydroShare: Sharing Diverse Environmental Data Types and Models as Social Objects with Application to the Hydrology DomainJawra Journal of the American Water Resources Association, 2015
- WaterML R package for managing ecological experiment data on a CUAHSI HydroServerEcological Informatics, 2015
- Data visualization and analysis within a Hydrologic Information System: Integrating with the R statistical computing environmentEnvironmental Modelling & Software, 2014
- HydroDesktop: Web services-based software for hydrologic data discovery, download, visualization, and analysisEnvironmental Modelling & Software, 2012
- waterData--An R package for retrieval, analysis, and anomaly calculation of daily hydrologic time series data, version 1.02012
- Weighted Regressions on Time, Discharge, and Season (WRTDS), with an Application to Chesapeake Bay River Inputs1Jawra Journal of the American Water Resources Association, 2010
- A first approach to web services for the National Water Information SystemEnvironmental Modelling & Software, 2008