Clima
A climate model of planetary atmospheres
Install / Use
/learn @Nicholaswogan/ClimaREADME
Clima
Clima is a radiative transfer code and a climate model.
Installation
Conda
Clima is a module of the photochem package, which can be installed via conda:
conda install -c conda-forge photochem
You can then import clima.
from photochem import clima
From source
You need a Fortran compiler (gfortran>=9.30, install instructions here) and C compiler (e.g. install with conda install -c conda-forge clang)
Create a conda environment with all dependencies
conda create -n clima -c conda-forge python numpy scipy pyyaml scikit-build cython h5py
Clone this Gitub repository:
git clone --depth=1 --recursive https://github.com/Nicholaswogan/clima.git
Navigate to the root directory with a terminal, activate your new conda environment, then install with pip:
conda activate clima
python -m pip install --no-deps --no-build-isolation . -v
# or `python setup.py install`, if the above command doesn't work for some reason
If your installation fails, and it is not clear why, please raise an issue.
Funding, acknowledgements and publications
Funding for the development of Clima comes from
This model was build in collaboration with
- Josh Krissansen-Totton
- Maggie Thompson
- David Catling
- Kevin Zahnle
- Eric Wolf
- Sandra Bastelberger
- Shawn Domagal-Goldman
Publications that use clima
