Software and scripts

I encourage all of my students to use free R software in their research.  Below are some resources I find helpful for learning and using R.

R tutorials

Getting started: The link here has all you need to get started with R and software to edit scripts (Rstudio).

R and hydrology:  Blog with a comprehensive list of links is here.

R scripts with tips and tricks

Plots, including sub and superscripts in axis titles.  Plotting in R is easy, with some tricky bits in formatting axis titles…

htmlTable example.  htmlTable lets you put the results you generate in R directly into an html format, which you then convert to word format.  No more re-entering data into a Word document!

Plot gallery with code on how to create them using R’s ggplot package.

Watershed Analysis Exercises

These are exercises for GEOG 576, Watershed Analysis.

Exercise 1: Watershed delineation
Exercise 2: Introduction to R, and rainfall data analysis in R
Exercise 3:  Loading and analysis of DAYMET data in R (no access to offline data).
Exercise 4:  Loading analysis of USGS streamflow data
Exercise 5:  Flow duration curve analysis
Exercise 6:  Water quality data analysis

Links to data and forecasts

Quantitative Forecast for San Diego County

OneRain–real-time rainfall and streamflow data for San Diego County