Commit 9c268993 authored by Frank Hellmann's avatar Frank Hellmann Committed by GitHub

Update to outline Meeting 13.10.

parent 6ec82767
# Python lesson outline
## Target audience
- knows what a loop is/some experience in any language
- no python experience required
## Targets for the course
- Structure your code (functions and modules, everything else is out of scope)
......@@ -25,8 +30,9 @@
### Session PM2 Python Intro (basic overview) (Sebastian)
- python+anaconda+conda+jupyter+history
- (notebooks vs. interpreter vs. scripts)
- python
- anaconda+conda+jupyter+history(+dependencies)
- notebooks vs. interpreter vs. scripts (sehr kurz)
- object types (string, number, boolean, complex, etc) and operators
- data structures (tuples, lists, dicts, nparrays, panda.df, etc)
- list comprehensions
......@@ -35,7 +41,7 @@
- control flow: loops + conditionals
- (code indentation)
- numpy
- (io)
- (io, for example simply iterating over a csv we will use later)
- read file, simple plot (or in session PM2)
### What is missing?
......@@ -49,14 +55,22 @@
### Session AM1 Python (structuring code, defensive programming, using prepared ts files) (Frank)
- write function + module
- put under version control
- simple test (assert)
- documentation
- write script + call from bash
- traceback, errors
- numpy
- %timeit and numba
not covered: closures, argpars, numba
### Session AM2: Time series, functions, plotting (Robert)
### Session AM2: (Tim, Marius)
- simple test (assert)
-
## DAY 2 PM
### Session PM1: Time series, functions, plotting (Robert)
- reading + understanding documentation of functions
Global temperature average development 1750-2010
......@@ -68,18 +82,14 @@ http://berkeleyearth.lbl.gov/auto/Global/Raw_TAVG_complete.txt
- plot with uncertainty band
- write function (exercise!)
## DAY 2 PM
### Session PM1: higher dimensional (spatial) data, advanced plotting + cartography, application of aquired knowledge (Joachim/Benoit?)
gridded data Europe:
### Session PM2: Git in practice (optional if we ran out of time)
- Joachim zeigt higher dimensional (spatial) data, advanced plotting + cartography (tool showcase)
- read netcdf file
- plot map of one time slice
- now compare plot with given cuteplot function by Joachim
- extract time series Potsdam
- compare with global average from Berkeley
### Session PM2: Git in practice (optional if we ran out of time)
- use git: final commit
- create github/gitlab account + create repos + add remote
- git push + inspect online
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment