Other articles

  1. 01 Scientific modules and IPython

    This is part of Python for Geosciences notes.


    Core scientific packages

    When people say that they do their scientific computations in Python it's only half true. Python is a construction set, similar to MITgcm or other models. Without packages it's only a core, that although very powerful, does not seems to be able to do much by itself.

    There is a set of packages, that almost every scientist would need:

    We are going to talk about all exept Sympy

    IPython and pylab

    In order to be productive you need comfortable environment, and this is what IPython provide. It was started as enhanced python interactive shell, but with time become architecture for interactive computing.

    read more

    There are comments.

  2. 02 Python basics

    This is part of Python for Geosciences notes.


    Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable clear programs on both a small and large scale.

    -- From Wikipedia, the free encyclopedia


    Python uses duck typing


    read more

    There are comments.

  3. 07 Other modules for geoscientists

    This is part of Python for Geosciences notes.


    Some of the things will not work on ZMAW computers (Iris, Cartopy).


    Iris seeks to provide a powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets. Kind of Ferret replacement. Developed in the Met Office by group of 7 full time developers. There are more than 300 active python users in Met Office.

    With Iris you can:

    • Use a single API to work on your data, irrespective of its original format.
    • Read and write (CF-)netCDF, GRIB, and PP files.
    • Easily produce graphs and maps via integration with matplotlib and cartopy.
    • read more

      There are comments.

  4. Links

    Here is small collection of links that I find useful.


    Lectures on Scientific Computing with Python. - very good introduction to the topic writen as a collection of IPython Notebooks.

    A gallery of interesting IPython Notebooks - constant source of inspiration :)

    OceanPython.org - OceanPython.org is a website to learn Python Programming Language for ocean- and marine-science applications and to share Python code. OceanPython.org is maintained by students, staff and post-docs at the Department of Oceanography of Dalhousie University (Canada)

    EarthPy - EarthPy is a collection of IPython notebooks with examples of Earth Science related Python code. It can be tutorials, descriptions of the modules, small scripts, or just tricks, that you think might be useful for others.

    read more

    There are comments.