This repository contains code for predicting environmental variables on river networks. The model used for these predictions is a Deep Learning model that incorporates information from the river network. The original intent of the model was to predict stream temperature and streamflow.
This work is being developed by researchers in the Data Science branch of the US. Geological Survey and researchers at the University of Minnesota in Vipin Kumar's lab. The orginal code was written by Xiaowei Jia.
There are functions for facilitating pre-processing and post-processing of the data in addition to running the model itself. We wrote a Snakemake workflow to run the entire process.
- Install the dependencies in the
environment.yaml
file. With conda you can do this withconda env create -f environment.yaml
- Install the local
river-dl
package bypip install path/to/river-dl/
- Edit the river-dl run configuration (including paths for I/O data) in
config.yml
- Run Snakemake by
snakemake --configfile config.yml
The data used to run this model currently are specific to the Delaware River Basin but will soon be made more generic.
This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy
Although this software program has been used by the U.S. Geological Survey (USGS), no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.
This software is provided “AS IS.”