Python Course for Geoscientists

Europe/Berlin
Angelika Heil, Jannek Squar (Uni HH), Karin Meier-Fleischer (DKRZ), Marco Kulüke (DKRZ), Ralf Mueller (DKRZ)
Description


Target group: beginner
 

In today's world, there is usually no way around the Python programming language in the geosciences. However, learning Python on your own is associated with many difficulties and leads only to unsatisfactory results, which is why this course was developed especially for beginners.

Python is an easy to learn but powerful programming language. The very extensive standard library offers almost everything you need. And if you need something more specific, you can usually download it for free from third-party distributions.

This workshop will take place via videoconference.

We only offer a limited number of course seats to ensure there is enough time to help with problems.

In advance, due to high demand, we will not be able to provide everyone registered to attend this course, but the next course will take place in spring next year ;).

This course is for beginners!


 

We are sorry, but the registration is now closed. 
The course is fully booked!

The next course will take place in spring 2024.

 

    • 09:00 12:30
      Day 1: Morning sessions
      • 09:00
        Welcome 10m

        A short welcome to the participants and speakers.

      • 09:10
        Difference between a supercomputer and a mobile phone 20m
        • what is a node, cpu
        • historical development
        • architecture
      • 09:30
        What is Python – short intro 30m
        • difference between programming language and Python
        • assembler, compiler, interpreter
      • 10:00
        Jupyter Notebooks 1h
        • connecting to Levante with Jupyterhub
        • Jupyterlab
        • Installation
      • 11:00
        Break 15m
      • 11:15
        Introduction to Linux 1h 15m
        • terminal
        • via WSL
        • command line and shell
        • editor
    • 12:30 13:30
      Lunch Break 1h
    • 13:30 15:30
      Day 1: Afternoon sessions
      • 13:30
        Syntax 30m
        • case-sensitive
        • print
        • indentation and code blocks
        • line continuation
        • comments
      • 14:00
        Data types 15m
        • boolean
        • integer
        • floating-point
        • complex
        • conversion between types
        • None
      • 14:15
        Strings 15m
        • formatting
        • string functions
      • 14:30
        Lists, tuples, and sets 15m
      • 14:45
        Dictionaries 30m
        • creation
        • access
      • 15:15
        Questions/Answers // End 15m
    • 09:00 12:45
      Day 2: Morning sessions
      • 09:00
        Warmup about content of Day 1 15m
      • 09:15
        Copy objects 15m
        • shallow
        • deep
      • 09:30
        Basic operators and math functions 15m
      • 09:45
        Conditions 30m
      • 10:15
        Loops 30m
        • for
        • while
      • 10:45
        Break 15m
      • 11:00
        List comprehensions 30m
        • nested
      • 11:30
        Functions 15m
      • 11:45
        File I/O 1h
        • open
        • close
        • read
        • write
        • csv reader
    • 12:45 13:45
      Lunch break 1h
    • 13:45 15:45
      Day 2: Afternoon sessions
      • 13:45
        Exceptions, error handling 45m
        • try and except
        • logging
        • debugging
      • 14:30
        Python in Action (GLOBAGRIM) 1h
      • 15:30
        Questions/Answers // End 15m
    • 09:00 12:30
      Day 3: Morning sessions
      • 09:00
        Warmup about content of Day 2 15m
      • 09:15
        Numpy 1h 30m
      • 10:45
        Break 15m
      • 11:00
        Xarray I 1h 30m
        • DataArray
        • Dataset
        • open_dataset / open_mfdataset
    • 12:30 13:30
      Lunch break 1h
    • 13:30 15:45
      Day 3: Afternoon sessions
      • 13:30
        Visualization I 2h
        • Matplotlib
      • 15:30
        Questions/Answers // End 15m
    • 09:00 12:45
      Day 4: Morning sessions
      • 09:00
        Warmup about content of Day 3 15m
      • 09:15
        Visualization II 1h
        • Cartopy
      • 10:15
        Xarray II 1h
      • 11:15
        Break 30m
      • 11:45
        Xarray III 1h
    • 12:45 15:00
      Day 4: Afternoon sessions
      • 12:45
        Feedback 15m
      • 13:00
        Questions and answers 2h
    • 15:00 15:15
      The End 15m