PředmětyPředměty(verze: 996)
Předmět, akademický rok 2026/2027
   
R a Python in Geosciences - MZ330J02
Anglický název: R a Python in Geosciences
Český název: R a Python v geovědách
Podoba výuky: cvičení
Zajišťuje: Katedra fyzické geografie a geoekologie (31-330)
Fakulta: Přírodovědecká fakulta
Platnost: od 2025
Počet semestrů výuky: 1
Semestr: zimní
E-Kredity: 4
Způsob provedení zkoušky: zimní s.:
Rozsah, examinace: zimní s.:0/2, Z [HT]
Počet míst: neomezen
Maximální kapacita předmětu: neomezen
Minimální obsazenost: neomezen
4EU+: ne
Virtuální mobilita / počet míst pro virtuální mobilitu: ne
Stav předmětu: nevyučován
Jazyk výuky: angličtina
Možnost opakovaného zápisu: 2 / 2 / 2 / 2
Garant: doc. RNDr. Michal Jeníček, Ph.D.
Neslučitelnost : MZ330P132
Výsledky anket   Rozvrh   
Anotace - angličtina
The objective of the course is to provide students with basic principles of using R and Python programming languages in geosciences. Students will learn and practice the most common principles of data assessment typical for geoscience applications based on selected exercises, such as working with large data sets (time series, spatial data), their basic statistical evaluation (correlation, regression, trends in time series, interpolation) and visualisation. The course is focused on 1) assessment and statistical analysis of time series, 2) regression models, 3) methods of quantification of spatial autocorrelation, 4) principal component analysis, 5) working with raster and remote sensing data, and 6) modelling selected environmental processes. A part of the course will also be a “coding club”, which enables students to discuss with lecturers their data and codes used for their final theses.
Poslední úprava: Havelková Veronika, Mgr. (31.07.2025)
Literatura - angličtina

-    Bivand, R., Pebesma, E. J., and Gómez-Rubio, V.: Applied Spatial Data Analysis with R, 2nd ed., Springer, New York, 405 pp., 2013.
-    Haan, C. T.: Statistical Methods in Hydrology, 2nd ed., Iowa State Press, Ames, Iowa, 2002.
-    Recommended literature from individual lectures

Poslední úprava: Havelková Veronika, Mgr. (31.07.2025)
Kontroly studia předmětu a podmínky pro jejich úspěšné vykonání, způsob hodnocení - angličtina

-   Active attendance at lectures, finishing homework assignments

Poslední úprava: Havelková Veronika, Mgr. (31.07.2025)
Sylabus - angličtina

1)    Introduction to R and RStudio, R projects, packages and functions, examples of good practice when writing the code, keyboard shortcuts, importing data, data types and object classes, basic operations
2)    Regression: syntax of regression models in R, basic and advanced regression models (linear models, GAM, linear mixed-effect model, spatial-lag model)
3)    Charts and data visualisation using the package ggplot2, conversions between long and wide formats
4)    Handling nc raster files with gridded climatic data (CRU, CRU JRA, EOBS) in R
5)    Tidyverse fundamentals: tibbles, pipes, verbs, adverbs; dates and times and time zones
6)    Dealing with spatial data in modern R; tidyverse approach, packages sf, terra and tidyterra
7)    Basics of functional programming in R, nesting and list-columns
8)    Creating simple hydrological models: modelling evapotranspiration, modelling soil moisture based on observed data.
9)    Trends in time series – Mann-Kendall tests, visualisations using heatmaps
10)    Python: Basics, installation of modules, basic commands and syntax
11)    Python: Accessing satellite data using GDAL package
12)    Plotting in Python (Pyplot)

Poslední úprava: Havelková Veronika, Mgr. (31.07.2025)
Výsledky učení - angličtina

-    Participants will adopt R and Python programming languages for selected geoscience applications.
-    Participants will learn how to work with different types of data.
-    Participants can discuss their own scripts and data used for their final theses.

Poslední úprava: Havelková Veronika, Mgr. (31.07.2025)
Předmět neobsahuje pracovní stáž (praxi)
 
Univerzita Karlova | Informační systém UK