course / topics / slides / check / resources
Using R in Hydrology - EGU2017 Short Course by YHS
Instructors: Shaun Harrigan, Katie Smith, Berry Boessenkool and Daniel Klotz
Organizer: Berry Boessenkool, Potsdam University (Germany), [email protected]
You are invited to post and discuss questions in the Hydrology in R Facebook group.
This course is directed primarily at hydrologists interested in using R for their research. You will get (a) an impression of how powerful R is as a tool and (b) all the code to get started yourself. The following topics are covered:
- Good coding practice, report generation (Rstudio,
rmarkdown
, R notebook) - Using R as GIS (reading a rainfall shapefile + Kriging,
sf
+leaflet
+mapview
+OSMscale
) - River discharge time-series visualisation and extreme value statistics (
animation
+extremeStat
) - Hydrological modelling with
airGR
- Trend Analysis in R (
trend
+hydroTSM
)
You can rightclick - Save as
the
html notebook with R output
and then open the html document in a regular browser.
For smartphones, you can try the pdf
(without the interactive graphs).
To get all the material including the datasets and presentation source code, we recommend to download the whole github course repository.
You can check if your laptop is prepared for the course by running the checkpc script in your R console:
source("https://raw.githubusercontent.com/brry/rhydro/master/checkpc.R")
This will give instructions if packages are missing / outdated.
- R-Resources for Hyrology - huge list of R-resources about hydrology
- hdtools - R package to facilitate access to a variety of online open data sources relevant for hydrologists
- rdwd - R package specifically for German meteorological data
- airGR - The description of the airGR package
- Hydrology in R Facebook group
- RegressionInfluence - Shiny App by David Wright
- Evapotranspiration - R package that enables the use of 17 well-known ET models in a consistent manner.
- GDAL intro part 1 (installation & gdalinfo), part 2 (Map Projections & gdalwarp), part 3 (Geodesy & Local Map Projections) and part 4 (Working with Satellite Data),
More resources and R installation instructions at