Source: http://courses.washington.edu/ocean101/Lex/Lecture26.pdf