SubjectsSubjects(version: 843)
Course, academic year 2018/2019
   Login via CAS
Programming in meteorology - NPRF031
Title in English: Programování v meteorologii
Guaranteed by: Department of Atmospheric Physics (32-KFA)
Faculty: Faculty of Mathematics and Physics
Actual: from 2016
Semester: summer
E-Credits: 6
Hours per week, examination: summer s.:2/2 MC [hours/week]
Capacity: unlimited
Min. number of students: unlimited
State of the course: taught
Language: Czech
Teaching methods: full-time
Additional information:
Guarantor: doc. RNDr. Josef Brechler, CSc.
Mgr. Vladimír Fuka, Ph.D.
Mgr. Michal Belda, Ph.D.
Classification: Physics > Mathematics for Physicists
Annotation -
Last update: T_KMOP (27.04.2001)
Basic applications of computers to meteorological problems.
Aim of the course -
Last update: Mgr. Vladimír Fuka, Ph.D. (21.09.2011)

Knowledge of basics of Fortran programming language and ability to work with the compiler in the UNIX/Linux environment. Introduction into Python programming language.

Literature - Czech
Last update: Mgr. Vladimír Fuka, Ph.D. (21.09.2011)

(1) Michael Metcalf, John Reid, Malcolm Cohen: Modern Fortran explained. Oxford University Press, 2011.

(2) Michael Metcalf, John Reid, Malcolm Cohen: Fortran 95/2003 explained. Oxford University Press, 2004.

(3) Stephen J. Chapman: Fortran 95/2003 for scientists and engineers.McGraw-Hill Higher Education, 2008.

(4) Miguel Hermans: Parallel Programming in Fortran 95 using OpenMP, Universidad Polit´ecnica de Madrid

Spain, 2002.

(5) Valentin Haenel, Emanuelle Gouillart, Gaël Varoquaux: Python Scientific lecture notes, 2011,

Teaching methods -
Last update: BRECHLER/MFF.CUNI.CZ (25.04.2008)

Lectures nad training with PC's.

Requirements to the exam -
Last update: BRECHLER/MFF.CUNI.CZ (25.04.2008)

Classified credit - operable code (Fortran) for given problem.

Syllabus -
Last update: Mgr. Vladimír Fuka, Ph.D. (21.09.2011)

1. History of Fortran. Standards of Fortran.

2. Fortran 95

a) source file formats

b) types of variables, specification statements

c) expressions and assignments

d) control constructs

e) program units and procedures

f) arrays

g) intrinsic procedures

h) input and output operations, external files

i) historical features - fixed format, FORTRAN 77, obsolescent and deleted features of Fortran

j) available compilers, working with a compiler, command line usage, development environments

3. Selected extensions of Fortran 2003 a 2008

a) interoperability with C

b) object oriented programming

c) various minor extensions

4. Basics of parallelization using OpenMP

a) threads

b) basic directives of OpenMP

c) environment variables

d) race conditions

5. Introduction to Python

a) Python shell, scripts

b) types of variables, Python's object model, methods, control constructs

c) SciPy and NumPy libraries

Charles University | Information system of Charles University |