pyfesom2

Python library and collection of tools for basic handling of FESOM2 ocean model output.

Tools are python scripts with command line interfaces that are used for quick actions with FESOM2 model output. For example:

pfplot /path/to/mesh/ /path/to/output/ salt

will produce a map with global spatial distribution of salinity on the surface at the first time step.

Library is a python library that contains functions for working with FESOM2 mesh and data. For example loading FESOM mesh can be done as simple as:

import pyfesom2 as pf
meshpath  ='/path/to/mesh/'
mesh = pf.load_mesh(meshpath)

Examples of tools are pfplot for quick visualization of FESOM data and pfinterp for interpolation to regular lon/lat grid.

Indices and tables