Animated Flow in the non-tidal Delaware River

March 27, 2016

(This article was first published on AdventuresInData, and kindly contributed to R-bloggers)

The Delaware River experienced some high flow in late February 2016, providing an opportunity for an interesting animated graph of river response.

This plot was developed using data from the USGS NWIS system for gauges on the Delaware River, retrieved with the excellent dataRetrieval library for R from USGS and the also great animation library.  The plot shows the discharge per drainage area (cfs/square mile) responding to rainfall.  Tributaries cause unequal response initially, but then the entire system settles into a flow wave rolling downstream.  Most gauges report discharge directly, but discharge was estimated for a few stage-only gauges using local stage-discharge relationships.  The concept here is the same as older posts looking at the impact of hurricane Irene and super storm Sandy, but using R to generate an easily portable GIF file.

To leave a comment for the author, please follow the link and comment on their blog: AdventuresInData. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)