FAIR
Finite Amplitude Impulse-Response simple climate-carbon-cycle model.
https://github.com/oms-netzero/fair
Category: Climate Change
Sub Category: Earth and Climate Modeling
Keywords from Contributors
climate-model climate climate-change scenarios
Last synced: about 16 hours ago
JSON representation
Repository metadata
Finite-amplitude Impulse Response simple climate model
- Host: GitHub
- URL: https://github.com/oms-netzero/fair
- Owner: OMS-NetZero
- License: apache-2.0
- Created: 2017-06-26T06:18:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2026-10-15T19:29:33.000Z (about 2 months ago)
- Last Synced: 2026-11-30T00:07:24.948Z (about 16 hours ago)
- Language: Python
- Homepage: https://docs.fairmodel.net
- Size: 58.7 MB
- Stars: 163
- Watchers: 8
- Forks: 96
- Open Issues: 33
- Releases: 39
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
README.md
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
From anaconda (recommended)
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-CO~2~ 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.
Owner metadata
- Name: OMS-NetZero
- Login: OMS-NetZero
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/26712044?v=4
- Repositories: 4
- Last ynced at: 2026-11-28T23:33:38.731Z
- Profile URL: https://github.com/OMS-NetZero
GitHub Events
Total
- Create event: 8
- Delete event: 6
- Fork event: 18
- Issue comment event: 12
- Issues event: 12
- Member event: 1
- Pull request event: 8
- Push event: 12
- Release event: 2
- Watch event: 19
Last Year
- Create event: 1
- Delete event: 2
- Fork event: 4
- Issue comment event: 4
- Issues event: 3
- Pull request event: 2
- Push event: 4
- Watch event: 2
Committers metadata
Last synced: 1 day ago
Total Commits: 584
Total Committers: 7
Avg Commits per committer: 83.429
Development Distribution Score (DDS): 0.099
Commits in past year: 20
Committers in past year: 2
Avg Commits per committer in past year: 10.0
Development Distribution Score (DDS) in past year: 0.3
| Name | Commits | |
|---|---|---|
| Chris Smith | c****p@g****m | 526 |
| Zebedee Nicholls | z****s@c****g | 23 |
| Robert Gieseke | r****e@p****e | 22 |
| Mathias Hauser | m****r@e****h | 6 |
| Sally | s****e@g****m | 3 |
| James Penn | j****s@j****k | 3 |
| Sally Dacie | s****e@c****g | 1 |
Committer domains:
- climateanalytics.org: 1
- jamespenn.co.uk: 1
- env.ethz.ch: 1
- pik-potsdam.de: 1
- climate-energy-college.org: 1
Issue and Pull Request metadata
Last synced: 14 days ago
Total issues: 70
Total pull requests: 114
Average time to close issues: about 1 year
Average time to close pull requests: 2 months
Total issue authors: 18
Total pull request authors: 10
Average comments per issue: 1.9
Average comments per pull request: 1.66
Merged pull request: 101
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 11
Past year average time to close issues: N/A
Past year average time to close pull requests: about 2 months
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.91
Past year merged pull request: 9
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- chrisroadmap (37)
- znicholls (9)
- rgieseke (6)
- fracamil (2)
- Hans-PeterH (2)
- TeddyHornsby (2)
- saraarriz (1)
- duncanwp (1)
- Yurian-Ye (1)
- cccccwendy (1)
- FrankErrickson (1)
- lgloege (1)
- colemanmr (1)
- dyrehaugen (1)
- Yifeng2016 (1)
Top Pull Request Authors
- chrisroadmap (77)
- rgieseke (13)
- znicholls (8)
- mathause (5)
- SallyDa (3)
- JGBroadbent (3)
- chrisdwells (2)
- nsfmc (1)
- jamesp (1)
- hmkhatri (1)
Top Issue Labels
- bug (4)
- repository-set-up (4)
- automation (3)
- enhancement (3)
- v2.0 (2)
- docs (1)
- carbon-cycle (1)
Top Pull Request Labels
- automation (1)
Package metadata
- Total packages: 3
-
Total downloads:
- pypi: 30,210 last-month
- Total docker downloads: 278
- Total dependent packages: 3 (may contain duplicates)
- Total dependent repositories: 13 (may contain duplicates)
- Total versions: 102
- Total maintainers: 4
proxy.golang.org: github.com/oms-netzero/fair
- Homepage:
- Documentation: https://pkg.go.dev/github.com/oms-netzero/fair#section-documentation
- Licenses: apache-2.0
- Latest release: v2.2.5+incompatible (published about 1 month ago)
- Last Synced: 2026-11-28T23:30:59.224626Z (1 day ago)
- Versions: 29
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 1.622%
- Average: 4.057%
- Dependent packages count: 6.492%
proxy.golang.org: github.com/OMS-NetZero/FAIR
- Homepage:
- Documentation: https://pkg.go.dev/github.com/OMS-NetZero/FAIR#section-documentation
- Licenses: apache-2.0
- Latest release: v2.2.5+incompatible (published about 2 months ago)
- Last Synced: 2026-11-28T23:30:59.437187Z (1 day ago)
- Versions: 29
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 1.622%
- Average: 4.057%
- Dependent packages count: 6.492%
pypi.org: fair
Finite-amplitude Impulse Response (FaIR) simple climate model
- Homepage: https://github.com/OMS-NetZero/FAIR
- Documentation: https://fair.readthedocs.io/
- Licenses: Apache 2.0
- Latest release: 2.2.5 (published about 2 months ago)
- Last Synced: 2026-11-28T23:30:57.959920Z (1 day ago)
- Versions: 44
- Dependent Packages: 3
- Dependent Repositories: 13
- Downloads: 30,210 Last month
- Docker Downloads: 278
-
Rankings:
- Dependent repos count: 4.067%
- Forks count: 5.635%
- Downloads: 5.966%
- Average: 6.05%
- Stargazers count: 7.274%
- Dependent packages count: 7.306%
- Maintainers (4)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v3 composite
- codecov/codecov-action v3 composite
Score: 17.549801809320424