Size: 3542
Comment:
|
Size: 4102
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= LES python seminar series (Thursday, 10:30 - 12:00) = | = LES python seminar series (Thursday, 10:30 - 12:00, Geomatikum, 1729) = |
Line 22: | Line 22: |
* general information on [[http://docs.python.org/reference/datamodel.html|python data model]] (copy, references, deepcopy) | [[/SeminarLog1|Commented examples from the seminar]] * general information on [[http://docs.python.org/reference/datamodel.html|python data model]] ([[http://docs.python.org/library/copy.html | copy, references, deepcopy]]) |
Line 26: | Line 28: |
* data type conversions | |
Line 36: | Line 39: |
* subplots, figure, axis objects; easy and more sophisticated appraoches | [[/SeminarLog2 | Course material for plotting]] * subplots, figure, axis objects; easy and more sophisticated appraoches |
Line 38: | Line 44: |
* a brief tour through matplotlib gallery | * a brief tour through [[http://matplotlib.sourceforge.net/gallery.html |matplotlib gallery]] |
Line 40: | Line 46: |
* fill between | * fill_between |
Line 43: | Line 49: |
* working with different axes in a single plot; twinx() | |
Line 45: | Line 52: |
* [[http://matplotlib.sourceforge.net/users/tight_layout_guide.html | tight_layout]] | |
Line 46: | Line 54: |
=== Geospatial data format handling and vizualization (Mikhail) (09.08.2012) === | === Geospatial data format handling and vizualization (Mikhail) (16.08.2012) === |
Line 50: | Line 58: |
* GDAL: the door to all available data formats ? | * data type conversion * how to write a numpy array (double) in a float netcdf variable? * how to store data as scaled integers? * [[http://www.gdal.org/ | GDAL]]: the door to a huge number of different file formats ... |
Line 71: | Line 82: |
=== pyCMBS (Alex) (???? on a separate day BEFORE the summer break ???) === | === pyCMBS (Alex) === |
Line 77: | Line 88: |
=== Integration of other programming languages === | === Integration of other programming languages (Alex, no date yet) === |
Line 82: | Line 93: |
Line 100: | Line 107: |
* GUI programming | * GUI programming (Alex, remon???) |
LES python seminar series (Thursday, 10:30 - 12:00, Geomatikum, 1729)
contact: Alex Loew, Julia Pongratz
Contents
-
LES python seminar series (Thursday, 10:30 - 12:00, Geomatikum, 1729)
- What you should be able to do in advance
-
Seminar outline
- Working with arrays (Gernot, Michael) (19.07.2012)
- Plotting (1D,2D,3D) (Alex) (2.8.2012)
- Geospatial data format handling and vizualization (Mikhail) (16.08.2012)
- system operations (Michael) (30.8.2012)
- structuring a program (Mikhail) (13.9.2012)
- time series analysis: the Pandas module (Mikhail)
- pyCMBS (Alex)
- Integration of other programming languages (Alex, no date yet)
- scientific data analysis in python
- running JSBACH offline in a python environment (Gernot)
- parallel programming (Heinrich Widmann)
- statistics in python (???)
- other topics
- projects to work on ...
What you should be able to do in advance
- python programming structures
- if clauses
- function calling
- print statements
- well, running python scripts (in python shell and interactive shell like ipython)
- edit python scripts in the editor of your choice
- ...
Seminar outline
Working with arrays (Gernot, Michael) (19.07.2012)
general information on python data model (copy, references, deepcopy)
numpy arrays (indexing, slicing, views ...)
- array functions (mean, sum etc. along axes)
- data type conversions
- reading ASCII files etc.
general input and output (opening a file and working with a file)
pickle, cPickle
Plotting (1D,2D,3D) (Alex) (2.8.2012)
* subplots, figure, axis objects; easy and more sophisticated appraoches
- always use figure/ax
a brief tour through matplotlib gallery
- lineplots
- fill_between
- contour plots
- nice colorbars, colormaps handling etc.
- working with different axes in a single plot; twinx()
- saving figures
- fitting to actual content
Geospatial data format handling and vizualization (Mikhail) (16.08.2012)
- Nio - handling netCDF
- read netCDF
- write netCDF
- data type conversion
- how to write a numpy array (double) in a float netcdf variable?
- how to store data as scaled integers?
- data type conversion
GDAL: the door to a huge number of different file formats ...
- Basemap
- pyNGL
system operations (Michael) (30.8.2012)
- replacing BASH: working with os adn system objects
- os.system, subprocess etc.
- python as a replacement for bash
- how to debug a python program?
structuring a program (Mikhail) (13.9.2012)
- python functions with optional and kwargs
- python object oriented programming (classes etc)
time series analysis: the Pandas module (Mikhail)
- introduction to pandas timeseries analysis module
pyCMBS (Alex)
- introduction to pyCMBS
- cdo interfacing
- anomaly calculations, hovmoeller plots etc
Integration of other programming languages (Alex, no date yet)
- R
- f2py
- C-code
- matlab
scientific data analysis in python
- EOF, SVD analysis
running JSBACH offline in a python environment (Gernot)
parallel programming (Heinrich Widmann)
- openMP, MPI, subprocesses, threads
statistics in python (???)
- statistical analysis of large data sets
other topics
- animations
- GUI programming (Alex, remon???)
- H5PY - simple access to HDF5 files
- python2.x or python3.x (does it make a difference?)
projects to work on ...
MPI-ESM in python (Christian)