Skip to main content

image image Documentation Status image image image Anaconda-Server Badge

FaIR

FaIR (the Finite-amplitude Impulse-Response) climate model is a simple climate model, or emulator, useful for producing global mean temperature projections from a wide range of emissions or prescribed forcing scenarios.

Requirements

  • python 3.10, 3.11, 3.12, 3.13 or 3.14

Installation

NEW! from v2.1.4, fair is available on conda-forge:

conda install -c conda-forge fair

Older versions of fair (1.6.2+, 2.1.0-4) can be installed from the chrisroadmap channel:

conda install -c chrisroadmap fair==X.Y.Z

From the Python Package Index

pip install fair

From source

Refer to the documentation

Usage

FaIR can be driven by emissions of greenhouse gases (GHGs) and short-lived forcers (SLCFs), concentrations of GHGs, or effective radiative forcing (ERF), with different input methods for different species possible in the same run. If run concentration-driven, emissions are back-calculated. Custom GHGs and SLCFs can be defined, and all components are optional allowing experiments such as pulse-response analyses to single forcers or gathering up non-CO2 species as an aggregate forcing.

Examples

The examples directory contains Jupyter notebooks with some simple examples showing how to run FaIR and the standalone energy balance model.

If you want to try this out online, go here.

Important: A note about calibrating and constraining

FaIR is naive. It will run whatever climate scenario and climate configuration you give it. If you violate the laws of physics, FaIR won't stop you. For simple climate models as for complex, garbage in leads to garbage out. More subtle to spot are those analyses with simple climate models where the present day warming (or historical) is wrong or the climate is warming too slowly or too quickly. At least, plot a historical temperature reconstruction over your results and see if it looks right.

We have produced IPCC AR6 Working Group 1 consistent probabilistic ensembles to run with. The calibration data can be obtained here. These parameter sets are calibrated to CMIP6 models, run in a large Monte Carlo ensemble, and constrained based on observed and assessed climate metrics. For an example of how to use this calibration data set with SSP emissions, see this example. If you're writing a paper using FaIR, you should use these. A paper describing this method has been submitted, but for now please cite the Zenodo DOI.

Citation

If you use FaIR in your work, please cite the following references depending on the version:

  • v2.0+: Leach, N. J., Jenkins, S., Nicholls, Z., Smith, C. J., Lynch, J., Cain, M., Walsh, T., Wu, B., Tsutsui, J., and Allen, M. R.: FaIRv2.0.0: a generalized impulse response model for climate uncertainty and future scenario exploration, Geosci. Model Dev., 14, 3007--3036, https://doi.org/10.5194/gmd-14-3007-2021, 2021
  • v1.1-v1.6: Smith, C. J., Forster, P. M., Allen, M., Leach, N., Millar, R. J., Passerello, G. A., and Regayre, L. A.: FAIR v1.3: A simple emissions-based impulse response and carbon cycle model, Geosci. Model Dev., https://doi.org/10.5194/gmd-11-2273-2018, 2018.
  • v1.0 (or the concept of the state-dependent impulse-response function for CO2): Millar, R. J., Nicholls, Z. R., Friedlingstein, P., and Allen, M. R.: A modified impulse-response representation of the global near-surface air temperature and atmospheric concentration response to carbon dioxide emissions, Atmos. Chem. Phys., 17, 7213-7228, https://doi.org/10.5194/acp-17-7213-2017, 2017.

Metadata

Release files for fair 2.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fair 2.2.5
File Size Uploaded Provenance
fair-2.2.5.tar.gz 65.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fair 2.2.5
File Interpreter ABI Platform
fair-2.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 118.9 kB

Release files / fair-2.2.5.tar.gz

Download URL fair-2.2.5.tar.gz
Size 65.6 kB
Tags Source
SHA-256 checksum
How to use checksums
adfe2262f9acb937fa1731b1eeac960e91ee8722bc6424a015dfdd9690ad8508
BLAKE2b-256 checksum
How to use checksums
bd6c72c83c43e091672903d89225b36f7b1d53d725a11fe1c9ab9245c16b4040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Release files / fair-2.2.5-py3-none-any.whl

Download URL fair-2.2.5-py3-none-any.whl
Size 53.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2842c9c5d18cfdc7172a9c0b07838ec0fb471c7db2bdf99736e6bc98bdc1720d
BLAKE2b-256 checksum
How to use checksums
698dc8d6a2fae0d029f9857a9c8a3a8c8197091d4b9c8451b209a42e772e7d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Security for fair 2.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page