Differences between revisions 6 and 28 (spanning 22 versions)
Revision 6 as of 2008-04-07 09:00:51
Size: 1208
Editor: anonymous
Comment:
Revision 28 as of 2008-04-22 16:08:35
Size: 1742
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl AdminGroup:read,write EditorGroup:read All:read
#format wiki
#language en
#pragma section-numbers off
Line 5: Line 10:
== Introduction == == Lesson 1 - Introduction ==
Line 7: Line 12:
SiaProgrammingPythonIntroduction SiaProgrammingPythonIntroduction 
Line 9: Line 14:
 * Why Python?
 * The Python Environment
 * Documentation
SiaProgrammingPythonBasicPython

SiaExercisesLesson1

== Lesson 2 - Data types, structures and functions ==

SiaProgrammingPythonDatatypes

SiaProgrammingPythonFunctions

SiaExercisesLesson2

== Lesson 3 - System, I/O ==

SiaProgrammingPythonSystem

SiaProgrammingPythonIo

SiaExercisesLesson3

== Lesson 4 - Image Processing ==

SiaProgrammingPythonImageProc

== Documentation ==

 * http://www.python.org/doc/
 *[[http://37mm.no/mpy/idl-numpy.html|NumPy for IDL users]]
 *[[http://www.scipy.org/NumPy_for_Matlab_Users|NumPy for Matlab users]]
Line 15: Line 46:
=== scipy === === SciPy/NumPy ===
Line 17: Line 48:
 *[http://37mm.no/mpy/idl-numpy.html NumPy for IDL users]
 *[http://www.scipy.org/NumPy_for_Matlab_Users NumPy for Matlab users]
Line 21: Line 50:
 * http://matplotlib.sourceforge.net/
 * [[http://matplotlib.sourceforge.net/|Matplotlib/pylab]] Plotting functions with a high degree of Matlab compatibility
Line 24: Line 52:
 * [http://www.gdal.org/ GDAL - Geospatial Data Abstraction Library]  * [[http://www.gdal.org/|GDAL - Geospatial Data Abstraction Library]] for various satellite data formats
Line 27: Line 55:
 * [[http://www.pyngl.ucar.edu/|PyNGL/PyNIO]] Python interface to [[http://www.ncl.ucar.edu/ | NCAR Command Language]]
 * Scientific visualization and data formats (netCDF, HDF, GRIB etc.)
Line 28: Line 58:
http://www.pyngl.ucar.edu/

==== ZMAW Setup ====
For Debian Etch IA32 machines the following variables have to be set
(beware, I'm using the bash syntax here):
To enable PyNGL (on ZMAW Linux ia32/x64 and solaris10) you have to type
Line 34: Line 60:
export PATH=/sw/etch-ia32/python-2.4.4/bin/:$PATH
export PYTHONPATH=/sw/etch-ia32/python-2.4.4/lib/python2.4/site-packages/
export PYNGL_NCARG=/sw/etch-ia32/python-2.4.4/lib/python2.4/site-packages/PyNGL/ncarg/
module load PyNGL/1.2.0
Line 39: Line 63:
For Debian Etch x64 (e.g. fastice, seaice) the values have to be set to
{{{
export PATH=/sw/etch-x64/python-2.4.4/bin/:$PATH
export PYTHONPATH=/sw/etch-x64/python-2.4.4/lib/python2.4/site-packages/
export PYNGL_NCARG=/sw/etch-x64/python-2.4.4/lib/python2.4/site-packages/PyNGL/ncarg/
}}}
== Download ==

 * [[http://python.org/download/|Python interpreter]]
 * [[http://ipython.scipy.org/moin/Download|IPython shell]]
 * [[http://www.scipy.org/Download| SciPy]]
 * [[http://sourceforge.net/projects/matplotlib|Matplotlib]]
 * [[http://www.crimsoneditor.com/| Editor]]

SatelliteImageAnalysis

Programming Python

Lesson 1 - Introduction

SiaProgrammingPythonIntroduction

SiaProgrammingPythonBasicPython

SiaExercisesLesson1

Lesson 2 - Data types, structures and functions

SiaProgrammingPythonDatatypes

SiaProgrammingPythonFunctions

SiaExercisesLesson2

Lesson 3 - System, I/O

SiaProgrammingPythonSystem

SiaProgrammingPythonIo

SiaExercisesLesson3

Lesson 4 - Image Processing

SiaProgrammingPythonImageProc

Documentation

Modules

SciPy/NumPy

pylab

GDAL

PyNGL

To enable PyNGL (on ZMAW Linux ia32/x64 and solaris10) you have to type

module load PyNGL/1.2.0

Download

LehreWiki: SiaProgrammingPython (last edited 2009-01-16 14:14:58 by anonymous)