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.

 

    • 9:00 AM 12:30 PM
      Day 1: Morning sessions
      • 9:00 AM
        Welcome 10m

        A short welcome to the participants and speakers.

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