Documentation for PISM, the Parallel Ice Sheet Model

Some visualization advice

Using Matplotlib Basemap toolkit to plot over a map

To install Basemap, see http://matplotlib.sourceforge.net/basemap/doc/html/.

To use a Blue Marble background, you will also need the Python Imaging Library.

Below is an example plotting csurf (the magnitude of the horizontal ice velocity at the ice surface) using a logarithmic color scale and marking the 100 m/year contour in black:

Click here to see the source of basemap_ex1.py

The following alternative python code does nearly the same thing but uses netcdf4-python to read NetCDF:

Click here to see the source of basemap_ex2.py

This is the output of basemap_ex1.py:

doc_misc.txt ยท Last modified: 2014/01/20 13:49 by Constantine Khroulev
© 2016 by PISM | webmaster