Quantcast
Channel: R-bloggers
Viewing all articles
Browse latest Browse all 12297

Visualizing a flood with R

$
0
0

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

As more settlements in Texas and France are impacted by severe flooding, this is a good time to thank the hydrologists at the NOAA who forecast river level rises in advance and give residents in affected areas time to move to higher ground. Along with topgraphic, rainfall, and weather data, monitoring stations maintained by NOAA and the USGS along rivers provide critical real-time information about river levels. NOAA scientists access this data using the dataRetrieval package for R, which they then incorporate into flood prediction models and use to generate animations like this one of the flood of the Delaware in February this year:

DelawareQ_Feb2016

According to the AdventuresInData blog, which posted the above animation (creating using R's animation package):

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.

Note that "river miles" measures from the river's mouth, so the flood surge moves from right to left in the animation. More details at the link below.

AdventuresInData: Animated Flow in the non-tidal Delaware River

To leave a comment for the author, please follow the link and comment on their blog: Revolutions.

R-bloggers.com 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...


Viewing all articles
Browse latest Browse all 12297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>