Environmental Programming (B-KUL-I0W00B)
Aims
Upon successful completion of the course unit, students are able to read and write simple programs in Python and to apply/modify existing complex Python programs.
This course it taught at VUB (syllabus).
Previous knowledge
Applicants need basic knowledge on ICT and GIS.
Order of Enrolment
This course unit is a prerequisite for taking the following course units:
I0S76A : Thesis Research Project Water Resources Engineering
I0S78A : Research Methods for Data Collection and Processing
Identical courses
This course is identical to the following courses:
I0W00A : Environmental Programming (No longer offered this academic year)
Is included in these courses of study
- Master of Water Resources Engineering (Leuven et al) 120 ects.
- Master of Water Resources Engineering (abridged programme 60 ECTS) (Leuven et al) 60 ects.
- Courses for Exchange Students Faculty of Bioscience Engineering (Leuven)
- Master of Geography (Programme for students started in 2021-2022 or later) (Leuven et al) 120 ects.
Activities
4 ects. Introduction to Environmental Programming using Python (B-KUL-I0W00b)
Content
The course will be offered as a hand-on computer training workshop and will be composed of the following blocks:
1) Introduction to computer programming and Python computer language
2) Basic elements of programming: object orientation and Python data structures
3) Environmental data processing using Python (e.g. reformatting of rainfall inputs)
4) Numerical computations using Python and the Numpy module
5) Generate graphs in Python (matplotlib module)
6) Work with time series in Python (pandas module)
7) Programming in GIS environment using PCRaster-Python module
8) Dynamic modelling in Python using the PCRaster dynamic framework
Programming skills: knowledge of programming is not expected from the students and the course introduces variables, control structures and the use of functions. This introductory part relies on scientific examples to illustrate the programming concepts.
Use of libraries: many programming tasks are common enough that they come pre-packaged in the form of libraries of which use is an integral part of (scientific) programming. Typical examples include the creation of plots, the reading and writing of various file formats and numerical integration. The course presents the common aspects of using libraries and practical examples of their use.
Scientific programming: reflecting the supporting role of the course within a master’s programme, the use of programming to support scientific modeling is put forward. This part of the course includes a presentation of object-oriented programming (directly aimed at using an object to represent a scientific model) as well as rigorous programming practice.
Practical aspects: the course is based on the Python programming language. This programming language is used by several hydrology research groups involved in environmental engineering at the VUB and KU Leuven. Most classes will take place in a computer room with one computer for each student. The course content will be available online.
Course material
Presentations, exercises and data
Evaluation
Evaluation: Environmental Programming (B-KUL-I2W00b)
Explanation
Submission of the individual tasks is mandatory and no final examination is allowed without submission of the tasks.
Information about retaking exams
Students how failed only the oral part do not have to prepare a new assignment and submit a new report but can simply have a second oral exam