pip install pyCESM
or download the source and run
python setup.py
or, if you are developing new code
python setup.py develop
Currently consists of two parts:
- Python / numpy implementations of some of the thermodynamic routines (e.g. saturation vapor pressure and specific humidity) used by the CAM atmospheric model.
- A Python interface for working with CAM output that automates some grid-aware diagnostic calculations. This functionality is built on top of xarray.
Based on (and tested with) version 1.2.1 of CESM
This code is freely available under the MIT license. See the accompanying LICENSE file.