Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A data set to enable remote sensing of water quality for inland waters.

Code linked here can reproduce data found: All of the raw WQP data can be found here ( The harmonized and LAGOS unified in situ data here (, and the final matchup data set here ( All data for the project can be found here (

Python Instructions

For this pipeline to work you will need to have a Google Earth Engine configured python installation ready to go. Explaining exactly how to do this is beyond the scope of this package but Google provides detailed installation instructions here. In addition to configuring Google Earth Engine you will need to install (probably best to do so in the following order):

using scipiper

The scipiper package is an extremely young work in progress, intended to support projects for our USGS data science team and a limited number of collaborators. (Specifically, the code is public but we're not planning to provide any support for projects we're not directly involved in.) APA would really like to try it here if everybody is game. Install scipiper from GitHub:

devtools::install_github('USGS-R/scipiper', update_dependencies = TRUE)

scipiper offers 3 features that will likely be useful to us:

  1. Support for a shared cache: our code can all live on GitHub while our data can all live on Google Drive and Earth Engine. Each big data file only needs to get acquired or processed once; the rest of us only need to pull that file locally if we're running a process that requires that exact file.

  2. Integration of a shared cache with a file/object dependency manager called remake ( With this integration in place, we should all be able to contribute to keeping the shared cache consistent with the code on GitHub. We won't need to question whether we remembered to run that edited version of the script or whether the data on GD is still from last week; we'll know.

  3. An expansion of remake from jobs into tasks, where many tasks might be part of a single job, and our project is a collection of jobs. This idea should eventually be useful for spreading tasks across a cluster, but even at the current development phase this idea will allow us to split the WQP pull (one job) into a separate task for each state, and to attempt all those tasks with fault tolerance and retries as needed.

The main way we'd use scipiper would be in building the project, in conjunction with development of the remake.yml file to declare the relationships among our raw, intermediate, and end-product data files. To build a specific file, along with any upstream dependencies that might be out of date, call scmake() on that file. For example:


Or to build any out-of-date targets in the entire project, simply:



Monitoring water quality from space!







No releases published


No packages published