Acknowledgements

This time it was Ehsan that found the bug in the script.

Explorer

Question 1

Catchment area units are km^2 River runoff units are m^3/s

Question 2

runoff_stations[, mean(area)] #data.table way (faster)
mean(runoff_stations$area) #data.frame way

runoff_day[, mean(value)]

Question 4

Altitude refers to the altitude (or elevation) of the station that we measure the river runoff. High altitude means that the station is on the hills. Area corresponds to the total catchment area (in sq. kilometers) at this location.

Imagine you are standing at Alpes near the beginning of the river (upstream). The length of the river up to this point is still short, therefore the catchment (the area from where rainfall water reaches the river) is also small.

Now imagine that you stand to the river mouth at the sea (downstream). Now the river behind you is at full length. Thus the total catchment area is much bigger.