From 0c1904ee9b0d761cad40db70f08fae397587531c Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sun, 7 Apr 2024 14:14:19 +0200 Subject: [PATCH 1/2] add conda-forge info --- README.md | 21 +-- docs/examples/basic_run_example.rst | 28 ++-- docs/examples/n-layer-ebm.rst | 2 +- docs/install.rst | 21 +-- examples/basic_run_example.ipynb | 122 ++++++++--------- .../calibrated_constrained_ensemble.ipynb | 116 ++++++++-------- examples/cmip6_ssp_emissions_run.ipynb | 128 +++++++++--------- .../cmip6_ssp_emissions_run_monthly.ipynb | 112 +++++++-------- examples/co2_equilibrium.ipynb | 64 ++++----- examples/n-layer-ebm.ipynb | 106 +++++++-------- 10 files changed, 363 insertions(+), 357 deletions(-) diff --git a/README.md b/README.md index 04311542..b12bfd42 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Documentation Status](https://readthedocs.org/projects/fair/badge/?version=latest)](http://fair.readthedocs.io/en/latest/?badge=latest) [![image](https://zenodo.org/badge/DOI/10.5281/zenodo.1340643.svg)](https://doi.org/10.5281/zenodo.1340643) [![image](https://codecov.io/gh/OMS-NetZero/FAIR/branch/master/graph/badge.svg)](https://codecov.io/gh/OMS-NetZero/FAIR) -[![image](https://img.shields.io/pypi/v/fair)](https://pypi.org/project/fair/) [![Anaconda-Server Badge](https://anaconda.org/chrisroadmap/fair/badges/version.svg)](https://anaconda.org/chrisroadmap/fair) +[![image](https://img.shields.io/pypi/v/fair)](https://pypi.org/project/fair/) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/fair/badges/version.svg)](https://anaconda.org/conda-forge/fair) # FaIR @@ -18,13 +18,19 @@ forcing scenarios. ## Installation -### From the Python Package Index +### From anaconda (recommended) - pip install fair +**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: -### From anaconda + conda install -c chrisroadmap fair==X.Y.Z - conda install -c chrisroadmap fair +### From the Python Package Index + + pip install fair ### From source @@ -64,14 +70,13 @@ looks right. We have produced IPCC AR6 Working Group 1 consistent probabilistic ensembles to run with. The calibration data can be obtained -[here](https://doi.org/10.5281/zenodo.7694879). These parameter sets are +[here](https://doi.org/10.5281/zenodo.7112539). 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](https://docs.fairmodel.net/en/latest/examples/calibrated_constrained_ensemble.html). -If you\'re writing a paper using FaIR, you should use these. There\'ll -be a paper on this at some point, for now please cite the Zenodo DOI. +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 diff --git a/docs/examples/basic_run_example.rst b/docs/examples/basic_run_example.rst index b4d819e0..8214bad2 100644 --- a/docs/examples/basic_run_example.rst +++ b/docs/examples/basic_run_example.rst @@ -31,7 +31,7 @@ A run is initialised as follows: :: - f = FAIR() + f = FAIR() To this we need to add some information about the time horizon of our model, forcers we want to run with, their configuration (and the @@ -40,38 +40,38 @@ options: :: - f.define_time(2000, 2050, 1) - f.define_scenarios(['abrupt', 'ramp']) - f.define_configs(['high', 'central', 'low']) - f.define_species(species, properties) - f.ghg_method='Myhre1998' + f.define_time(2000, 2050, 1) + f.define_scenarios(['abrupt', 'ramp']) + f.define_configs(['high', 'central', 'low']) + f.define_species(species, properties) + f.ghg_method='Myhre1998' We generate some variables: emissions, concentrations, forcing, temperature etc.: :: - f.allocate() + f.allocate() which creates ``xarray`` DataArrays that we can fill in: :: - fill(f.emissions, 40, scenario='abrupt', specie='CO2 FFI') - ... + fill(f.emissions, 40, scenario='abrupt', specie='CO2 FFI') + ... Finally, the model is run with :: - f.run() + f.run() Results are stored within the ``FAIR`` instance as ``xarray`` DataArrays or Dataset, and can be obtained such as :: - print(fair.temperature) + print(fair.temperature) Multiple ``scenarios`` and ``configs`` can be supplied in a ``FAIR`` instance, and due to internal parallelisation is the fastest way to run @@ -255,7 +255,7 @@ the properties; but - ``type`` defines the species type such as CO2, an aerosol precursor, or volcanic forcing; there’s around 20 pre-defined types in FaIR. Some can only be defined once in a run, some can have multiple - instances (e.g. ``f-gas``). See ``fair.structure.species`` for a + instances (e.g. ``f-gas``). See ``fair.structure.species`` for a list. - ``input_mode``: how the model should be driven with this ``specie``. Valid values are ``emissions``, ``concentration``, ``forcing`` or @@ -464,8 +464,8 @@ future. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This defines how the model responds to a forcing: the default behaviour -is the three-layer energy balance model as described in Cummins et al. -(2020). The number of layers can be changed in ``run_control``. +is the three-layer energy balance model as described in Cummins et +al. (2020). The number of layers can be changed in ``run_control``. ``climate_configs`` is an ``xarray`` Dataset. diff --git a/docs/examples/n-layer-ebm.rst b/docs/examples/n-layer-ebm.rst index 3a359688..a015001e 100644 --- a/docs/examples/n-layer-ebm.rst +++ b/docs/examples/n-layer-ebm.rst @@ -5,7 +5,7 @@ This notebook shows examples of extending the 3-layer energy balance model to general n. For the two and three layer cases we’ll take the MLE estimates from -Cummins et al. (2020) for HadGEM2-ES, and we’ll use the GISS forcing. +Cummins et al. (2020) for HadGEM2-ES, and we’ll use the GISS forcing. Where n > 3 the data is fake. .. code:: ipython3 diff --git a/docs/install.rst b/docs/install.rst index a82e519a..89f6c612 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -1,31 +1,32 @@ Installation ============ -From the Python Package Index (PyPI) ------------------------------------- +`fair` requires `python` 3.8-3.11. `python` 3.12 will probably work but is not extensively tested yet. + +From anaconda (recommended) +------------- -Requires `python` 3.8, 3.9, 3.10 or 3.11. Probably the easiest way to get up and running. :: - pip install fair + conda install -c conda-forge fair -From anaconda -------------- -:: +From the Python Package Index (PyPI) +------------------------------------ - conda install -c chrisroadmap fair +:: + pip install fair From GitHub ----------- -The latest release can be obtained from https://github.com/OMS-NetZero/FAIR/releases as zip or tarball files, or the most current unreleased version can be cloned from https://github.com/OMS-NetZero/FAIR. +The latest release can be obtained from https://github.com/OMS-NetZero/FAIR/releases as zip or tarball files, or the most current unreleased version can be cloned from https://github.com/OMS-NetZero/FAIR. To install:: pip install -e .[dev] - + This will also give access to the notebooks in the `examples` directory, so you can experiment with the model using these as a starting point. For this to work, you should launch notebooks from the same directory in which you install `FAIR` locally. Guide for developers diff --git a/examples/basic_run_example.ipynb b/examples/basic_run_example.ipynb index 622b22f6..828ef6f1 100644 --- a/examples/basic_run_example.ipynb +++ b/examples/basic_run_example.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "ae8f2073", + "id": "0", "metadata": {}, "source": [ "# Basic example\n", @@ -78,7 +78,7 @@ }, { "cell_type": "markdown", - "id": "79c67783", + "id": "1", "metadata": {}, "source": [ "### 1. Create FaIR instance\n", @@ -89,7 +89,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3c9d8b71", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -99,7 +99,7 @@ { "cell_type": "code", "execution_count": null, - "id": "87c91ab8", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -108,7 +108,7 @@ }, { "cell_type": "markdown", - "id": "ec2f4e26", + "id": "4", "metadata": {}, "source": [ "### 2. Define time horizon\n", @@ -123,7 +123,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9429e9aa", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -135,7 +135,7 @@ }, { "cell_type": "markdown", - "id": "e1e3ff04", + "id": "6", "metadata": {}, "source": [ "### 3. Define scenarios\n", @@ -148,7 +148,7 @@ { "cell_type": "code", "execution_count": null, - "id": "70ec8642", + "id": "7", "metadata": {}, "outputs": [], "source": [ @@ -159,7 +159,7 @@ }, { "cell_type": "markdown", - "id": "6d9f2d7f", + "id": "8", "metadata": {}, "source": [ "### 4. Define configs\n", @@ -172,7 +172,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d0c0b068", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -183,7 +183,7 @@ }, { "cell_type": "markdown", - "id": "d3dd6366", + "id": "10", "metadata": {}, "source": [ "### 5. Define species\n", @@ -222,7 +222,7 @@ { "cell_type": "code", "execution_count": null, - "id": "63dfc0e7", + "id": "11", "metadata": {}, "outputs": [], "source": [ @@ -231,7 +231,7 @@ }, { "cell_type": "markdown", - "id": "203a2249", + "id": "12", "metadata": {}, "source": [ "In the `properties` dictionary, the keys must match the `species` that you have declared. I should do another tutorial on changing some of the properties; but \n", @@ -246,7 +246,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7a47c7af", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -313,7 +313,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0d0374cb", + "id": "14", "metadata": {}, "outputs": [], "source": [ @@ -322,7 +322,7 @@ }, { "cell_type": "markdown", - "id": "b33ed05c", + "id": "15", "metadata": {}, "source": [ "### 6. Modify run options\n", @@ -335,7 +335,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4c670ee5", + "id": "16", "metadata": {}, "outputs": [], "source": [ @@ -345,7 +345,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5a81038f", + "id": "17", "metadata": {}, "outputs": [], "source": [ @@ -355,7 +355,7 @@ { "cell_type": "code", "execution_count": null, - "id": "cc8170f7", + "id": "18", "metadata": {}, "outputs": [], "source": [ @@ -365,7 +365,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fd257323", + "id": "19", "metadata": {}, "outputs": [], "source": [ @@ -374,7 +374,7 @@ }, { "cell_type": "markdown", - "id": "3a308375", + "id": "20", "metadata": {}, "source": [ "### 7. Create input and output data\n", @@ -387,7 +387,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4735a011", + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -396,7 +396,7 @@ }, { "cell_type": "markdown", - "id": "135ff238", + "id": "22", "metadata": {}, "source": [ "This has created our arrays with the correct dimensions as attributes of the `FAIR` class:" @@ -405,7 +405,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6e174573", + "id": "23", "metadata": {}, "outputs": [], "source": [ @@ -415,7 +415,7 @@ { "cell_type": "code", "execution_count": null, - "id": "15aa11ea", + "id": "24", "metadata": {}, "outputs": [], "source": [ @@ -424,7 +424,7 @@ }, { "cell_type": "markdown", - "id": "74d7bcf3", + "id": "25", "metadata": {}, "source": [ "### 8. Fill in the data\n", @@ -435,7 +435,7 @@ { "cell_type": "code", "execution_count": null, - "id": "58f88b00", + "id": "26", "metadata": {}, "outputs": [], "source": [ @@ -445,7 +445,7 @@ { "cell_type": "code", "execution_count": null, - "id": "4947f530", + "id": "27", "metadata": {}, "outputs": [], "source": [ @@ -454,7 +454,7 @@ }, { "cell_type": "markdown", - "id": "f0839b60", + "id": "28", "metadata": {}, "source": [ "I think this method is a tiny bit clunky with `loc` and `dict` so two helper functions have been created; `fill` and `initialise`. It's personal preference if you use them or not, the only thing that matters is that the data is there." @@ -463,7 +463,7 @@ { "cell_type": "code", "execution_count": null, - "id": "570ffd85", + "id": "29", "metadata": {}, "outputs": [], "source": [ @@ -472,7 +472,7 @@ }, { "cell_type": "markdown", - "id": "259292a4", + "id": "30", "metadata": {}, "source": [ "#### 8a. fill emissions, concentrations ...\n", @@ -485,7 +485,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c90365e1", + "id": "31", "metadata": {}, "outputs": [], "source": [ @@ -495,7 +495,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8ae4fcef", + "id": "32", "metadata": {}, "outputs": [], "source": [ @@ -515,7 +515,7 @@ }, { "cell_type": "markdown", - "id": "b1d9f53b", + "id": "33", "metadata": {}, "source": [ "We also need approriate initial conditions. If you are seeing a lot of unexpected NaNs in your results, it could be that the first timestep was never defined.\n", @@ -526,7 +526,7 @@ { "cell_type": "code", "execution_count": null, - "id": "05524f0c", + "id": "34", "metadata": {}, "outputs": [], "source": [ @@ -540,7 +540,7 @@ }, { "cell_type": "markdown", - "id": "29b57222", + "id": "35", "metadata": {}, "source": [ "#### 8b. Fill in `climate_configs`\n", @@ -553,7 +553,7 @@ { "cell_type": "code", "execution_count": null, - "id": "afe9390d", + "id": "36", "metadata": {}, "outputs": [], "source": [ @@ -563,7 +563,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b82a3348", + "id": "37", "metadata": {}, "outputs": [], "source": [ @@ -582,7 +582,7 @@ }, { "cell_type": "markdown", - "id": "1c2c429f", + "id": "38", "metadata": {}, "source": [ "#### 8c. Fill in `species_configs`\n", @@ -597,7 +597,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9e89d06c", + "id": "39", "metadata": {}, "outputs": [], "source": [ @@ -606,7 +606,7 @@ }, { "cell_type": "markdown", - "id": "ca8904fb", + "id": "40", "metadata": {}, "source": [ "##### Greenhouse gas state-dependence\n", @@ -617,7 +617,7 @@ { "cell_type": "code", "execution_count": null, - "id": "81783f79", + "id": "41", "metadata": {}, "outputs": [], "source": [ @@ -651,7 +651,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e1abbc88", + "id": "42", "metadata": {}, "outputs": [], "source": [ @@ -664,7 +664,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ffb9ba7f", + "id": "43", "metadata": {}, "outputs": [], "source": [ @@ -675,7 +675,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3a7712f0", + "id": "44", "metadata": {}, "outputs": [], "source": [ @@ -696,7 +696,7 @@ }, { "cell_type": "markdown", - "id": "b193498d", + "id": "45", "metadata": {}, "source": [ "##### Aerosol emissions or concentrations to forcing\n", @@ -707,7 +707,7 @@ { "cell_type": "code", "execution_count": null, - "id": "56bf01a6", + "id": "46", "metadata": {}, "outputs": [], "source": [ @@ -721,7 +721,7 @@ }, { "cell_type": "markdown", - "id": "ce8943dc", + "id": "47", "metadata": {}, "source": [ "### 9. run FaIR" @@ -730,7 +730,7 @@ { "cell_type": "code", "execution_count": null, - "id": "36d76fac", + "id": "48", "metadata": {}, "outputs": [], "source": [ @@ -739,7 +739,7 @@ }, { "cell_type": "markdown", - "id": "d58dc0ec", + "id": "49", "metadata": {}, "source": [ "### 10. plot results" @@ -748,7 +748,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8888c6a6", + "id": "50", "metadata": {}, "outputs": [], "source": [ @@ -758,7 +758,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0d41a4b3", + "id": "51", "metadata": {}, "outputs": [], "source": [ @@ -772,7 +772,7 @@ { "cell_type": "code", "execution_count": null, - "id": "73f803f6", + "id": "52", "metadata": {}, "outputs": [], "source": [ @@ -786,7 +786,7 @@ { "cell_type": "code", "execution_count": null, - "id": "beac5efc", + "id": "53", "metadata": {}, "outputs": [], "source": [ @@ -800,7 +800,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d684fe8f", + "id": "54", "metadata": {}, "outputs": [], "source": [ @@ -814,7 +814,7 @@ { "cell_type": "code", "execution_count": null, - "id": "70e9eb53", + "id": "55", "metadata": {}, "outputs": [], "source": [ @@ -828,7 +828,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d9654705", + "id": "56", "metadata": {}, "outputs": [], "source": [ @@ -842,7 +842,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ae85c39b", + "id": "57", "metadata": {}, "outputs": [], "source": [ @@ -856,7 +856,7 @@ { "cell_type": "code", "execution_count": null, - "id": "917b5ac8", + "id": "58", "metadata": {}, "outputs": [], "source": [ @@ -866,7 +866,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c986c3f9", + "id": "59", "metadata": {}, "outputs": [], "source": [ @@ -876,7 +876,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2f22c1ab", + "id": "60", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/calibrated_constrained_ensemble.ipynb b/examples/calibrated_constrained_ensemble.ipynb index 3c81e3e3..96ed2ff2 100644 --- a/examples/calibrated_constrained_ensemble.ipynb +++ b/examples/calibrated_constrained_ensemble.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "cd60e964-4bba-41fc-abc3-ae2198a93ccc", + "id": "0", "metadata": {}, "source": [ "# A calibrated, constrained ensemble\n", @@ -35,7 +35,7 @@ }, { "cell_type": "markdown", - "id": "ad4bc63e", + "id": "1", "metadata": {}, "source": [ "## 0. Get required imports\n", @@ -46,7 +46,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c3a38578-9f38-48f2-b961-7fb9c8f266b2", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -62,7 +62,7 @@ }, { "cell_type": "markdown", - "id": "61e41fa4", + "id": "3", "metadata": {}, "source": [ "## 1. Create FaIR instance\n", @@ -73,7 +73,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d23f87f8", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -82,7 +82,7 @@ }, { "cell_type": "markdown", - "id": "7bbabef9", + "id": "5", "metadata": {}, "source": [ "## 2. Define time horizon\n", @@ -93,7 +93,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f60d2ef8", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -102,7 +102,7 @@ }, { "cell_type": "markdown", - "id": "62a91fce", + "id": "7", "metadata": {}, "source": [ "## 3. Define scenarios\n", @@ -113,7 +113,7 @@ { "cell_type": "code", "execution_count": null, - "id": "dfd63291", + "id": "8", "metadata": {}, "outputs": [], "source": [ @@ -123,7 +123,7 @@ { "cell_type": "code", "execution_count": null, - "id": "71897df4", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -132,7 +132,7 @@ }, { "cell_type": "markdown", - "id": "eefb4614", + "id": "10", "metadata": {}, "source": [ "## 4. Define configs\n", @@ -147,7 +147,7 @@ { "cell_type": "code", "execution_count": null, - "id": "06cf8901", + "id": "11", "metadata": {}, "outputs": [], "source": [ @@ -160,7 +160,7 @@ { "cell_type": "code", "execution_count": null, - "id": "69688229", + "id": "12", "metadata": {}, "outputs": [], "source": [ @@ -172,7 +172,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c0da6546", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -182,7 +182,7 @@ { "cell_type": "code", "execution_count": null, - "id": "da3b50d4", + "id": "14", "metadata": {}, "outputs": [], "source": [ @@ -191,7 +191,7 @@ }, { "cell_type": "markdown", - "id": "d92c2311", + "id": "15", "metadata": {}, "source": [ "## 5. Define species and properties\n", @@ -206,7 +206,7 @@ { "cell_type": "code", "execution_count": null, - "id": "cb9fd4c8", + "id": "16", "metadata": {}, "outputs": [], "source": [ @@ -216,7 +216,7 @@ }, { "cell_type": "markdown", - "id": "b06ed144", + "id": "17", "metadata": {}, "source": [ "## 6. Modify run options\n", @@ -226,7 +226,7 @@ }, { "cell_type": "markdown", - "id": "f44e2a59", + "id": "18", "metadata": {}, "source": [ "## 7. Create input and output xarrays\n", @@ -237,7 +237,7 @@ { "cell_type": "code", "execution_count": null, - "id": "26d1b4ef", + "id": "19", "metadata": {}, "outputs": [], "source": [ @@ -246,7 +246,7 @@ }, { "cell_type": "markdown", - "id": "603d7738", + "id": "20", "metadata": {}, "source": [ "## 8. Fill in data\n", @@ -259,7 +259,7 @@ { "cell_type": "code", "execution_count": null, - "id": "bd434bc7", + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -269,7 +269,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1f27c32c", + "id": "22", "metadata": {}, "outputs": [], "source": [ @@ -278,7 +278,7 @@ }, { "cell_type": "markdown", - "id": "352537fd", + "id": "23", "metadata": {}, "source": [ "There is an issue with the RCMIP NOx emissions; the units are different for biomass burning emissions (Tg NO/yr) to the other emissions from fossil fuels, industry and agriculture (Tg NO2/yr). v1.1 of the calibration uses the corrected NOx emissions expressed in Tg NO2/yr, so we also have to correct them in FaIR for consistency.\n", @@ -295,7 +295,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e38e05e8", + "id": "24", "metadata": {}, "outputs": [], "source": [ @@ -344,7 +344,7 @@ }, { "cell_type": "markdown", - "id": "6cdb7c3c", + "id": "25", "metadata": {}, "source": [ "Now we fetch and fill in the solar and volcanic forcing. As these are forcing-driven time series, if we want to vary the uncertainties in the forcing, this has to happen before FaIR is run (see https://github.com/OMS-NetZero/FAIR/issues/126)." @@ -353,7 +353,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a5b03843", + "id": "26", "metadata": {}, "outputs": [], "source": [ @@ -366,7 +366,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8d3390e5", + "id": "27", "metadata": {}, "outputs": [], "source": [ @@ -379,7 +379,7 @@ { "cell_type": "code", "execution_count": null, - "id": "31e3f735", + "id": "28", "metadata": {}, "outputs": [], "source": [ @@ -389,7 +389,7 @@ }, { "cell_type": "markdown", - "id": "e91dbe96", + "id": "29", "metadata": {}, "source": [ "Remembering that everything that is not emissions is on `timebounds`, there is always one more `timebounds` than `timepoints`, so we define arrays of length 551 (1750 to 2300, inclusive).\n", @@ -402,7 +402,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3886cb7d", + "id": "30", "metadata": {}, "outputs": [], "source": [ @@ -417,7 +417,7 @@ }, { "cell_type": "markdown", - "id": "e44ef345", + "id": "31", "metadata": {}, "source": [ "We then use our calibrated, constrained ensemble to individually scale the volcanic forcing time series, and the solar amplitude and trend:" @@ -426,7 +426,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ed2fc25c", + "id": "32", "metadata": {}, "outputs": [], "source": [ @@ -446,7 +446,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1f490ad2", + "id": "33", "metadata": {}, "outputs": [], "source": [ @@ -455,7 +455,7 @@ }, { "cell_type": "markdown", - "id": "6fc3fd73", + "id": "34", "metadata": {}, "source": [ "### 8b. Fill in climate_configs\n", @@ -466,7 +466,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0c6cb77c", + "id": "35", "metadata": {}, "outputs": [], "source": [ @@ -487,7 +487,7 @@ }, { "cell_type": "markdown", - "id": "a0c67b5e", + "id": "36", "metadata": {}, "source": [ "### 8c. Fill in species_configs\n", @@ -498,7 +498,7 @@ { "cell_type": "code", "execution_count": null, - "id": "798edffe", + "id": "37", "metadata": {}, "outputs": [], "source": [ @@ -507,7 +507,7 @@ }, { "cell_type": "markdown", - "id": "3792ce8b", + "id": "38", "metadata": {}, "source": [ "Then, we overwrite the `species_configs` that are varies as part of the probablistic sampling. This makes heavy use of the `fill()` convenience function." @@ -516,7 +516,7 @@ { "cell_type": "code", "execution_count": null, - "id": "52a66859", + "id": "39", "metadata": {}, "outputs": [], "source": [ @@ -616,7 +616,7 @@ }, { "cell_type": "markdown", - "id": "84b0bfb6", + "id": "40", "metadata": {}, "source": [ "### 8d. Initial conditions\n", @@ -627,7 +627,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5e9e0ef0", + "id": "41", "metadata": {}, "outputs": [], "source": [ @@ -640,7 +640,7 @@ }, { "cell_type": "markdown", - "id": "30b948f5", + "id": "42", "metadata": {}, "source": [ "## 9. Run" @@ -649,7 +649,7 @@ { "cell_type": "code", "execution_count": null, - "id": "92cf541b", + "id": "43", "metadata": {}, "outputs": [], "source": [ @@ -658,7 +658,7 @@ }, { "cell_type": "markdown", - "id": "ce52b560", + "id": "44", "metadata": {}, "source": [ "## 10. Analysis" @@ -667,7 +667,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a0c51d6c", + "id": "45", "metadata": {}, "outputs": [], "source": [ @@ -696,7 +696,7 @@ }, { "cell_type": "markdown", - "id": "82b9745f", + "id": "46", "metadata": {}, "source": [ "### Temperature anomaly\n", @@ -707,7 +707,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2efb2faa", + "id": "47", "metadata": {}, "outputs": [], "source": [ @@ -719,7 +719,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b14c8149", + "id": "48", "metadata": {}, "outputs": [], "source": [ @@ -785,7 +785,7 @@ }, { "cell_type": "markdown", - "id": "04067bf4", + "id": "49", "metadata": {}, "source": [ "### CO2 concentrations" @@ -794,7 +794,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ee0a70f2", + "id": "50", "metadata": {}, "outputs": [], "source": [ @@ -838,7 +838,7 @@ }, { "cell_type": "markdown", - "id": "8bc7e7ca", + "id": "51", "metadata": {}, "source": [ "### Total effective radiative forcing" @@ -847,7 +847,7 @@ { "cell_type": "code", "execution_count": null, - "id": "82ec4312", + "id": "52", "metadata": {}, "outputs": [], "source": [ @@ -891,7 +891,7 @@ }, { "cell_type": "markdown", - "id": "5b0a293e", + "id": "53", "metadata": {}, "source": [ "### CO2 airborne fraction" @@ -900,7 +900,7 @@ { "cell_type": "code", "execution_count": null, - "id": "48660087", + "id": "54", "metadata": {}, "outputs": [], "source": [ @@ -944,7 +944,7 @@ }, { "cell_type": "markdown", - "id": "2e2ecf2b", + "id": "55", "metadata": {}, "source": [ "### Earth's energy uptake" @@ -953,7 +953,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e936c0a2", + "id": "56", "metadata": {}, "outputs": [], "source": [ @@ -998,7 +998,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3c529915", + "id": "57", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/cmip6_ssp_emissions_run.ipynb b/examples/cmip6_ssp_emissions_run.ipynb index 2e1ada86..342d83b6 100644 --- a/examples/cmip6_ssp_emissions_run.ipynb +++ b/examples/cmip6_ssp_emissions_run.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "404f9173", + "id": "0", "metadata": {}, "source": [ "# SSP emissions runs using CMIP6 calibrations\n", @@ -16,7 +16,7 @@ }, { "cell_type": "markdown", - "id": "2ed04b6a", + "id": "1", "metadata": {}, "source": [ "## 0. import required modules" @@ -25,7 +25,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9dd82491", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -41,7 +41,7 @@ }, { "cell_type": "markdown", - "id": "2396e36a", + "id": "3", "metadata": {}, "source": [ "## 1. initialise FaIR\n", @@ -52,7 +52,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b97e45d1", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -61,7 +61,7 @@ }, { "cell_type": "markdown", - "id": "06513b5c", + "id": "5", "metadata": {}, "source": [ "## 2. Define time horizon\n", @@ -72,7 +72,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2faf20eb", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -81,7 +81,7 @@ }, { "cell_type": "markdown", - "id": "fe23173e", + "id": "7", "metadata": {}, "source": [ "## 3. Define scenarios\n", @@ -92,7 +92,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c0128227", + "id": "8", "metadata": {}, "outputs": [], "source": [ @@ -103,7 +103,7 @@ }, { "cell_type": "markdown", - "id": "4f2ad9d3", + "id": "9", "metadata": {}, "source": [ "## 4. Define configs\n", @@ -116,7 +116,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ba2941c1", + "id": "10", "metadata": {}, "outputs": [], "source": [ @@ -132,7 +132,7 @@ }, { "cell_type": "markdown", - "id": "0b3dbd43", + "id": "11", "metadata": {}, "source": [ "## 5. Define species and properties\n", @@ -143,7 +143,7 @@ { "cell_type": "code", "execution_count": null, - "id": "232f0ba7", + "id": "12", "metadata": {}, "outputs": [], "source": [ @@ -154,7 +154,7 @@ { "cell_type": "code", "execution_count": null, - "id": "029a6925", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -164,7 +164,7 @@ { "cell_type": "code", "execution_count": null, - "id": "584e32cd", + "id": "14", "metadata": {}, "outputs": [], "source": [ @@ -174,7 +174,7 @@ { "cell_type": "code", "execution_count": null, - "id": "223ca746", + "id": "15", "metadata": {}, "outputs": [], "source": [ @@ -183,7 +183,7 @@ }, { "cell_type": "markdown", - "id": "8b76a0c2", + "id": "16", "metadata": {}, "source": [ "## ~6. Modify run options~\n", @@ -193,7 +193,7 @@ }, { "cell_type": "markdown", - "id": "98b866e7", + "id": "17", "metadata": {}, "source": [ "## 7. Create input and output data" @@ -202,7 +202,7 @@ { "cell_type": "code", "execution_count": null, - "id": "249567ee", + "id": "18", "metadata": {}, "outputs": [], "source": [ @@ -211,7 +211,7 @@ }, { "cell_type": "markdown", - "id": "54ca99cd", + "id": "19", "metadata": {}, "source": [ "## 8. Fill in the data\n", @@ -226,7 +226,7 @@ { "cell_type": "code", "execution_count": null, - "id": "13a6585c", + "id": "20", "metadata": {}, "outputs": [], "source": [ @@ -238,7 +238,7 @@ }, { "cell_type": "markdown", - "id": "95209f02", + "id": "21", "metadata": {}, "source": [ "### 8b. fill emissions\n", @@ -253,7 +253,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f5380b86", + "id": "22", "metadata": {}, "outputs": [], "source": [ @@ -264,7 +264,7 @@ { "cell_type": "code", "execution_count": null, - "id": "828fe492", + "id": "23", "metadata": {}, "outputs": [], "source": [ @@ -284,7 +284,7 @@ }, { "cell_type": "markdown", - "id": "e3490b4d", + "id": "24", "metadata": {}, "source": [ "### 8c. fill climate configs\n", @@ -295,7 +295,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7c6c7fda", + "id": "25", "metadata": {}, "outputs": [], "source": [ @@ -322,7 +322,7 @@ }, { "cell_type": "markdown", - "id": "862a619a", + "id": "26", "metadata": {}, "source": [ "## 9. Run FaIR\n", @@ -335,7 +335,7 @@ { "cell_type": "code", "execution_count": null, - "id": "161f66b1", + "id": "27", "metadata": {}, "outputs": [], "source": [ @@ -344,7 +344,7 @@ }, { "cell_type": "markdown", - "id": "4789d5c2", + "id": "28", "metadata": {}, "source": [ "## 10. Make some nice plots\n", @@ -369,7 +369,7 @@ { "cell_type": "code", "execution_count": null, - "id": "73030e5b", + "id": "29", "metadata": {}, "outputs": [], "source": [ @@ -382,7 +382,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fcc4e4eb", + "id": "30", "metadata": {}, "outputs": [], "source": [ @@ -395,7 +395,7 @@ { "cell_type": "code", "execution_count": null, - "id": "97817096", + "id": "31", "metadata": {}, "outputs": [], "source": [ @@ -408,7 +408,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6bbd1625", + "id": "32", "metadata": {}, "outputs": [], "source": [ @@ -421,7 +421,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5a447834", + "id": "33", "metadata": {}, "outputs": [], "source": [ @@ -434,7 +434,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0b48aa88", + "id": "34", "metadata": {}, "outputs": [], "source": [ @@ -447,7 +447,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f6159784", + "id": "35", "metadata": {}, "outputs": [], "source": [ @@ -460,7 +460,7 @@ { "cell_type": "code", "execution_count": null, - "id": "362cea65", + "id": "36", "metadata": {}, "outputs": [], "source": [ @@ -473,7 +473,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6e54610f", + "id": "37", "metadata": {}, "outputs": [], "source": [ @@ -486,7 +486,7 @@ { "cell_type": "code", "execution_count": null, - "id": "08cb3539", + "id": "38", "metadata": {}, "outputs": [], "source": [ @@ -499,7 +499,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5be36a14", + "id": "39", "metadata": {}, "outputs": [], "source": [ @@ -512,7 +512,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3a282249", + "id": "40", "metadata": {}, "outputs": [], "source": [ @@ -525,7 +525,7 @@ { "cell_type": "code", "execution_count": null, - "id": "756c55db", + "id": "41", "metadata": {}, "outputs": [], "source": [ @@ -538,7 +538,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c7e4235b", + "id": "42", "metadata": {}, "outputs": [], "source": [ @@ -551,7 +551,7 @@ { "cell_type": "code", "execution_count": null, - "id": "bca5e50f", + "id": "43", "metadata": {}, "outputs": [], "source": [ @@ -564,7 +564,7 @@ { "cell_type": "code", "execution_count": null, - "id": "11ed918d", + "id": "44", "metadata": {}, "outputs": [], "source": [ @@ -577,7 +577,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1b7c73e5", + "id": "45", "metadata": {}, "outputs": [], "source": [ @@ -590,7 +590,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e010ae31", + "id": "46", "metadata": {}, "outputs": [], "source": [ @@ -603,7 +603,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f0ddf1a8", + "id": "47", "metadata": {}, "outputs": [], "source": [ @@ -617,7 +617,7 @@ { "cell_type": "code", "execution_count": null, - "id": "79d150d6", + "id": "48", "metadata": {}, "outputs": [], "source": [ @@ -631,7 +631,7 @@ { "cell_type": "code", "execution_count": null, - "id": "38d20587", + "id": "49", "metadata": {}, "outputs": [], "source": [ @@ -645,7 +645,7 @@ { "cell_type": "code", "execution_count": null, - "id": "73a8d318", + "id": "50", "metadata": {}, "outputs": [], "source": [ @@ -659,7 +659,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9ba30dfd", + "id": "51", "metadata": {}, "outputs": [], "source": [ @@ -672,7 +672,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d4a2dc5d", + "id": "52", "metadata": {}, "outputs": [], "source": [ @@ -685,7 +685,7 @@ { "cell_type": "code", "execution_count": null, - "id": "370be98f", + "id": "53", "metadata": {}, "outputs": [], "source": [ @@ -698,7 +698,7 @@ { "cell_type": "code", "execution_count": null, - "id": "27d93249", + "id": "54", "metadata": {}, "outputs": [], "source": [ @@ -711,7 +711,7 @@ { "cell_type": "code", "execution_count": null, - "id": "72df87ab", + "id": "55", "metadata": {}, "outputs": [], "source": [ @@ -724,7 +724,7 @@ { "cell_type": "code", "execution_count": null, - "id": "faf2ca25", + "id": "56", "metadata": {}, "outputs": [], "source": [ @@ -737,7 +737,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2c259d7d", + "id": "57", "metadata": {}, "outputs": [], "source": [ @@ -750,7 +750,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a8f3c9a7", + "id": "58", "metadata": {}, "outputs": [], "source": [ @@ -763,7 +763,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0ea96857", + "id": "59", "metadata": {}, "outputs": [], "source": [ @@ -776,7 +776,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ae0a76d8", + "id": "60", "metadata": {}, "outputs": [], "source": [ @@ -789,7 +789,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d28a9db5", + "id": "61", "metadata": {}, "outputs": [], "source": [ @@ -802,7 +802,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3a4a7125", + "id": "62", "metadata": {}, "outputs": [], "source": [ @@ -815,7 +815,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1f29dd0a", + "id": "63", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/cmip6_ssp_emissions_run_monthly.ipynb b/examples/cmip6_ssp_emissions_run_monthly.ipynb index 14e11c15..1a736f8c 100644 --- a/examples/cmip6_ssp_emissions_run_monthly.ipynb +++ b/examples/cmip6_ssp_emissions_run_monthly.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "404f9173", + "id": "0", "metadata": {}, "source": [ "# SSP emissions runs using CMIP6 calibrations: monthly timestep\n", @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9dd82491", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -31,7 +31,7 @@ }, { "cell_type": "markdown", - "id": "4df5121d", + "id": "2", "metadata": {}, "source": [ "## Set up problem\n", @@ -42,7 +42,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b97e45d1", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -52,7 +52,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2faf20eb", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -62,7 +62,7 @@ { "cell_type": "code", "execution_count": null, - "id": "14edd98c", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -72,7 +72,7 @@ { "cell_type": "code", "execution_count": null, - "id": "820d168e", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -82,7 +82,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c0128227", + "id": "7", "metadata": {}, "outputs": [], "source": [ @@ -93,7 +93,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ba2941c1", + "id": "8", "metadata": {}, "outputs": [], "source": [ @@ -110,7 +110,7 @@ { "cell_type": "code", "execution_count": null, - "id": "232f0ba7", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -120,7 +120,7 @@ { "cell_type": "code", "execution_count": null, - "id": "223ca746", + "id": "10", "metadata": {}, "outputs": [], "source": [ @@ -130,7 +130,7 @@ { "cell_type": "code", "execution_count": null, - "id": "249567ee", + "id": "11", "metadata": {}, "outputs": [], "source": [ @@ -140,7 +140,7 @@ { "cell_type": "code", "execution_count": null, - "id": "82c24159", + "id": "12", "metadata": {}, "outputs": [], "source": [ @@ -150,7 +150,7 @@ { "cell_type": "code", "execution_count": null, - "id": "13a6585c", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -163,7 +163,7 @@ { "cell_type": "code", "execution_count": null, - "id": "106a386a", + "id": "14", "metadata": {}, "outputs": [], "source": [ @@ -173,7 +173,7 @@ { "cell_type": "code", "execution_count": null, - "id": "828fe492", + "id": "15", "metadata": {}, "outputs": [], "source": [ @@ -194,7 +194,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7c6c7fda", + "id": "16", "metadata": {}, "outputs": [], "source": [ @@ -222,7 +222,7 @@ }, { "cell_type": "markdown", - "id": "e86141e2", + "id": "17", "metadata": {}, "source": [ "## Run" @@ -231,7 +231,7 @@ { "cell_type": "code", "execution_count": null, - "id": "161f66b1", + "id": "18", "metadata": {}, "outputs": [], "source": [ @@ -240,7 +240,7 @@ }, { "cell_type": "markdown", - "id": "66de71c7", + "id": "19", "metadata": {}, "source": [ "## Analyse" @@ -249,7 +249,7 @@ { "cell_type": "code", "execution_count": null, - "id": "73030e5b", + "id": "20", "metadata": {}, "outputs": [], "source": [ @@ -262,7 +262,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ff137288", + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -280,7 +280,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fcc4e4eb", + "id": "22", "metadata": {}, "outputs": [], "source": [ @@ -293,7 +293,7 @@ { "cell_type": "code", "execution_count": null, - "id": "97817096", + "id": "23", "metadata": {}, "outputs": [], "source": [ @@ -306,7 +306,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6bbd1625", + "id": "24", "metadata": {}, "outputs": [], "source": [ @@ -319,7 +319,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5a447834", + "id": "25", "metadata": {}, "outputs": [], "source": [ @@ -332,7 +332,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0b48aa88", + "id": "26", "metadata": {}, "outputs": [], "source": [ @@ -345,7 +345,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f6159784", + "id": "27", "metadata": {}, "outputs": [], "source": [ @@ -358,7 +358,7 @@ { "cell_type": "code", "execution_count": null, - "id": "362cea65", + "id": "28", "metadata": {}, "outputs": [], "source": [ @@ -371,7 +371,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6e54610f", + "id": "29", "metadata": {}, "outputs": [], "source": [ @@ -384,7 +384,7 @@ { "cell_type": "code", "execution_count": null, - "id": "08cb3539", + "id": "30", "metadata": {}, "outputs": [], "source": [ @@ -397,7 +397,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5be36a14", + "id": "31", "metadata": {}, "outputs": [], "source": [ @@ -410,7 +410,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3a282249", + "id": "32", "metadata": {}, "outputs": [], "source": [ @@ -423,7 +423,7 @@ { "cell_type": "code", "execution_count": null, - "id": "756c55db", + "id": "33", "metadata": {}, "outputs": [], "source": [ @@ -436,7 +436,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c7e4235b", + "id": "34", "metadata": {}, "outputs": [], "source": [ @@ -449,7 +449,7 @@ { "cell_type": "code", "execution_count": null, - "id": "bca5e50f", + "id": "35", "metadata": {}, "outputs": [], "source": [ @@ -462,7 +462,7 @@ { "cell_type": "code", "execution_count": null, - "id": "11ed918d", + "id": "36", "metadata": {}, "outputs": [], "source": [ @@ -475,7 +475,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1b7c73e5", + "id": "37", "metadata": {}, "outputs": [], "source": [ @@ -488,7 +488,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e010ae31", + "id": "38", "metadata": {}, "outputs": [], "source": [ @@ -501,7 +501,7 @@ { "cell_type": "code", "execution_count": null, - "id": "f0ddf1a8", + "id": "39", "metadata": {}, "outputs": [], "source": [ @@ -515,7 +515,7 @@ { "cell_type": "code", "execution_count": null, - "id": "79d150d6", + "id": "40", "metadata": {}, "outputs": [], "source": [ @@ -529,7 +529,7 @@ { "cell_type": "code", "execution_count": null, - "id": "38d20587", + "id": "41", "metadata": {}, "outputs": [], "source": [ @@ -543,7 +543,7 @@ { "cell_type": "code", "execution_count": null, - "id": "73a8d318", + "id": "42", "metadata": {}, "outputs": [], "source": [ @@ -557,7 +557,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9ba30dfd", + "id": "43", "metadata": {}, "outputs": [], "source": [ @@ -570,7 +570,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d4a2dc5d", + "id": "44", "metadata": {}, "outputs": [], "source": [ @@ -583,7 +583,7 @@ { "cell_type": "code", "execution_count": null, - "id": "370be98f", + "id": "45", "metadata": {}, "outputs": [], "source": [ @@ -596,7 +596,7 @@ { "cell_type": "code", "execution_count": null, - "id": "27d93249", + "id": "46", "metadata": {}, "outputs": [], "source": [ @@ -609,7 +609,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ba3ad230", + "id": "47", "metadata": {}, "outputs": [], "source": [ @@ -622,7 +622,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8d74462f", + "id": "48", "metadata": {}, "outputs": [], "source": [ @@ -635,7 +635,7 @@ { "cell_type": "code", "execution_count": null, - "id": "21cbb591", + "id": "49", "metadata": {}, "outputs": [], "source": [ @@ -648,7 +648,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a792162f", + "id": "50", "metadata": {}, "outputs": [], "source": [ @@ -661,7 +661,7 @@ { "cell_type": "code", "execution_count": null, - "id": "3c8e49c4", + "id": "51", "metadata": {}, "outputs": [], "source": [ @@ -674,7 +674,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ae0a76d8", + "id": "52", "metadata": {}, "outputs": [], "source": [ @@ -687,7 +687,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e324dd49", + "id": "53", "metadata": {}, "outputs": [], "source": [ @@ -700,7 +700,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d133fe2e", + "id": "54", "metadata": {}, "outputs": [], "source": [ @@ -713,7 +713,7 @@ { "cell_type": "code", "execution_count": null, - "id": "46a1103e", + "id": "55", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/co2_equilibrium.ipynb b/examples/co2_equilibrium.ipynb index 2ebb0b8f..5b6aefa3 100644 --- a/examples/co2_equilibrium.ipynb +++ b/examples/co2_equilibrium.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "0df0c32b", + "id": "0", "metadata": {}, "source": [ "# CO2 equilibrium runs\n", @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "610de62c", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -29,7 +29,7 @@ }, { "cell_type": "markdown", - "id": "59ee0484", + "id": "2", "metadata": {}, "source": [ "## 1. Create FaIR instance" @@ -38,7 +38,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6d46485b", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -47,7 +47,7 @@ }, { "cell_type": "markdown", - "id": "2681e586", + "id": "4", "metadata": {}, "source": [ "## 2. Define time horizon\n", @@ -58,7 +58,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7d1a4303", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -68,7 +68,7 @@ }, { "cell_type": "markdown", - "id": "cf8cb32b", + "id": "6", "metadata": {}, "source": [ "## 3. Define scenarios\n", @@ -79,7 +79,7 @@ { "cell_type": "code", "execution_count": null, - "id": "53681ff2", + "id": "7", "metadata": {}, "outputs": [], "source": [ @@ -88,7 +88,7 @@ }, { "cell_type": "markdown", - "id": "3ff5dc42", + "id": "8", "metadata": {}, "source": [ "## 4. Define configs" @@ -97,7 +97,7 @@ { "cell_type": "code", "execution_count": null, - "id": "22f7fe9d", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -113,7 +113,7 @@ }, { "cell_type": "markdown", - "id": "ff20d334", + "id": "10", "metadata": {}, "source": [ "## 5. Define species\n", @@ -124,7 +124,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9c79efce", + "id": "11", "metadata": {}, "outputs": [], "source": [ @@ -134,7 +134,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fc1a009e", + "id": "12", "metadata": {}, "outputs": [], "source": [ @@ -152,7 +152,7 @@ { "cell_type": "code", "execution_count": null, - "id": "13862173", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -161,7 +161,7 @@ }, { "cell_type": "markdown", - "id": "1486006a", + "id": "14", "metadata": {}, "source": [ "## 6. Modifying run options\n", @@ -171,7 +171,7 @@ }, { "cell_type": "markdown", - "id": "d5f7f04c", + "id": "15", "metadata": {}, "source": [ "## 7. Create input and output data" @@ -180,7 +180,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d8b4137e", + "id": "16", "metadata": {}, "outputs": [], "source": [ @@ -189,7 +189,7 @@ }, { "cell_type": "markdown", - "id": "06038e28", + "id": "17", "metadata": {}, "source": [ "## 8. fill in everything" @@ -198,7 +198,7 @@ { "cell_type": "code", "execution_count": null, - "id": "024d3afe", + "id": "18", "metadata": {}, "outputs": [], "source": [ @@ -208,7 +208,7 @@ { "cell_type": "code", "execution_count": null, - "id": "916c8625", + "id": "19", "metadata": {}, "outputs": [], "source": [ @@ -239,7 +239,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9ab9c444", + "id": "20", "metadata": {}, "outputs": [], "source": [ @@ -249,7 +249,7 @@ { "cell_type": "code", "execution_count": null, - "id": "183024d8", + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -259,7 +259,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7cabf21e", + "id": "22", "metadata": {}, "outputs": [], "source": [ @@ -268,7 +268,7 @@ }, { "cell_type": "markdown", - "id": "31345955", + "id": "23", "metadata": {}, "source": [ "## 9. run FaIR" @@ -277,7 +277,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a6306c0c", + "id": "24", "metadata": {}, "outputs": [], "source": [ @@ -286,7 +286,7 @@ }, { "cell_type": "markdown", - "id": "3f0afe4b", + "id": "25", "metadata": {}, "source": [ "## 10. Show results\n", @@ -297,7 +297,7 @@ { "cell_type": "code", "execution_count": null, - "id": "781f4c37", + "id": "26", "metadata": {}, "outputs": [], "source": [ @@ -314,7 +314,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7ea5285d", + "id": "27", "metadata": {}, "outputs": [], "source": [ @@ -324,7 +324,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c02b5a2c", + "id": "28", "metadata": {}, "outputs": [], "source": [ @@ -334,7 +334,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1de97658", + "id": "29", "metadata": {}, "outputs": [], "source": [ @@ -345,7 +345,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b6a8a4fc", + "id": "30", "metadata": {}, "outputs": [], "source": [ @@ -362,7 +362,7 @@ { "cell_type": "code", "execution_count": null, - "id": "60c10bb3", + "id": "31", "metadata": {}, "outputs": [], "source": [] diff --git a/examples/n-layer-ebm.ipynb b/examples/n-layer-ebm.ipynb index 3b04e8ed..78db6573 100644 --- a/examples/n-layer-ebm.ipynb +++ b/examples/n-layer-ebm.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "7ca42a84", + "id": "0", "metadata": {}, "source": [ "# Run the n-layer energy balance model\n", @@ -15,7 +15,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7c8fba9e", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -30,7 +30,7 @@ { "cell_type": "code", "execution_count": null, - "id": "10e2eeb3", + "id": "2", "metadata": {}, "outputs": [], "source": [ @@ -40,7 +40,7 @@ { "cell_type": "code", "execution_count": null, - "id": "03983341", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -60,7 +60,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1b1395d8", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -70,7 +70,7 @@ { "cell_type": "code", "execution_count": null, - "id": "13a3a21f", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -80,7 +80,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d702c0e1", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -90,7 +90,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8f86c799", + "id": "7", "metadata": {}, "outputs": [], "source": [ @@ -100,7 +100,7 @@ { "cell_type": "code", "execution_count": null, - "id": "af887d32", + "id": "8", "metadata": {}, "outputs": [], "source": [ @@ -115,7 +115,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c52335d3", + "id": "9", "metadata": {}, "outputs": [], "source": [ @@ -126,7 +126,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6c9bb54f", + "id": "10", "metadata": {}, "outputs": [], "source": [ @@ -146,7 +146,7 @@ { "cell_type": "code", "execution_count": null, - "id": "eec722cd", + "id": "11", "metadata": {}, "outputs": [], "source": [ @@ -156,7 +156,7 @@ { "cell_type": "code", "execution_count": null, - "id": "183a0a25", + "id": "12", "metadata": {}, "outputs": [], "source": [ @@ -167,7 +167,7 @@ { "cell_type": "code", "execution_count": null, - "id": "efcba4e6", + "id": "13", "metadata": {}, "outputs": [], "source": [ @@ -177,7 +177,7 @@ { "cell_type": "code", "execution_count": null, - "id": "953c9699", + "id": "14", "metadata": {}, "outputs": [], "source": [ @@ -191,7 +191,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9af9c4df", + "id": "15", "metadata": {}, "outputs": [], "source": [ @@ -213,7 +213,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b7804d09", + "id": "16", "metadata": {}, "outputs": [], "source": [ @@ -224,7 +224,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d78f6305", + "id": "17", "metadata": {}, "outputs": [], "source": [ @@ -234,7 +234,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1791dde1", + "id": "18", "metadata": {}, "outputs": [], "source": [ @@ -244,7 +244,7 @@ { "cell_type": "code", "execution_count": null, - "id": "74d914c9", + "id": "19", "metadata": {}, "outputs": [], "source": [ @@ -260,7 +260,7 @@ { "cell_type": "code", "execution_count": null, - "id": "871d814d", + "id": "20", "metadata": {}, "outputs": [], "source": [ @@ -281,7 +281,7 @@ { "cell_type": "code", "execution_count": null, - "id": "0dc2b634", + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -292,7 +292,7 @@ { "cell_type": "code", "execution_count": null, - "id": "c7542ae1", + "id": "22", "metadata": {}, "outputs": [], "source": [ @@ -302,7 +302,7 @@ { "cell_type": "code", "execution_count": null, - "id": "26acb007", + "id": "23", "metadata": {}, "outputs": [], "source": [ @@ -312,7 +312,7 @@ { "cell_type": "code", "execution_count": null, - "id": "009c8ae0", + "id": "24", "metadata": {}, "outputs": [], "source": [ @@ -334,7 +334,7 @@ { "cell_type": "code", "execution_count": null, - "id": "1a60ee9d", + "id": "25", "metadata": {}, "outputs": [], "source": [ @@ -350,7 +350,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7774bedf", + "id": "26", "metadata": {}, "outputs": [], "source": [ @@ -365,7 +365,7 @@ }, { "cell_type": "markdown", - "id": "ca6e5f1d", + "id": "27", "metadata": {}, "source": [ "## Repeat everything with stochastic forcing switched off" @@ -374,7 +374,7 @@ { "cell_type": "code", "execution_count": null, - "id": "80a091ff", + "id": "28", "metadata": {}, "outputs": [], "source": [ @@ -394,7 +394,7 @@ { "cell_type": "code", "execution_count": null, - "id": "00eaff65", + "id": "29", "metadata": {}, "outputs": [], "source": [ @@ -404,7 +404,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7160f4e5", + "id": "30", "metadata": {}, "outputs": [], "source": [ @@ -414,7 +414,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7535b85f", + "id": "31", "metadata": {}, "outputs": [], "source": [ @@ -424,7 +424,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ed06e7ba", + "id": "32", "metadata": {}, "outputs": [], "source": [ @@ -434,7 +434,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9a049372", + "id": "33", "metadata": {}, "outputs": [], "source": [ @@ -449,7 +449,7 @@ { "cell_type": "code", "execution_count": null, - "id": "dd85062b", + "id": "34", "metadata": {}, "outputs": [], "source": [ @@ -460,7 +460,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d0968e0f", + "id": "35", "metadata": {}, "outputs": [], "source": [ @@ -480,7 +480,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a6a25591", + "id": "36", "metadata": {}, "outputs": [], "source": [ @@ -490,7 +490,7 @@ { "cell_type": "code", "execution_count": null, - "id": "84d9c81b", + "id": "37", "metadata": {}, "outputs": [], "source": [ @@ -501,7 +501,7 @@ { "cell_type": "code", "execution_count": null, - "id": "607cd001", + "id": "38", "metadata": {}, "outputs": [], "source": [ @@ -511,7 +511,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e7bb11f5", + "id": "39", "metadata": {}, "outputs": [], "source": [ @@ -525,7 +525,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9daf7365", + "id": "40", "metadata": {}, "outputs": [], "source": [ @@ -547,7 +547,7 @@ { "cell_type": "code", "execution_count": null, - "id": "2b0e8532", + "id": "41", "metadata": {}, "outputs": [], "source": [ @@ -558,7 +558,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8eb143f0", + "id": "42", "metadata": {}, "outputs": [], "source": [ @@ -568,7 +568,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e8634e96", + "id": "43", "metadata": {}, "outputs": [], "source": [ @@ -578,7 +578,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6297c236", + "id": "44", "metadata": {}, "outputs": [], "source": [ @@ -594,7 +594,7 @@ { "cell_type": "code", "execution_count": null, - "id": "32ddeabe", + "id": "45", "metadata": {}, "outputs": [], "source": [ @@ -615,7 +615,7 @@ { "cell_type": "code", "execution_count": null, - "id": "16f0d1fa", + "id": "46", "metadata": {}, "outputs": [], "source": [ @@ -626,7 +626,7 @@ { "cell_type": "code", "execution_count": null, - "id": "ef991a62", + "id": "47", "metadata": {}, "outputs": [], "source": [ @@ -636,7 +636,7 @@ { "cell_type": "code", "execution_count": null, - "id": "e4e9812a", + "id": "48", "metadata": {}, "outputs": [], "source": [ @@ -646,7 +646,7 @@ { "cell_type": "code", "execution_count": null, - "id": "32b4fb7f", + "id": "49", "metadata": {}, "outputs": [], "source": [ @@ -668,7 +668,7 @@ { "cell_type": "code", "execution_count": null, - "id": "be03c9c5", + "id": "50", "metadata": {}, "outputs": [], "source": [ @@ -684,7 +684,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d56edaac", + "id": "51", "metadata": {}, "outputs": [], "source": [ @@ -700,7 +700,7 @@ { "cell_type": "code", "execution_count": null, - "id": "afeaa90d", + "id": "52", "metadata": {}, "outputs": [], "source": [] From 2089e6b5f83772aed0f706a873feed5961b0b8db Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sun, 7 Apr 2024 14:27:47 +0200 Subject: [PATCH 2/2] update CHANGELOG --- CHANGELOG.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7eda06a5..98be6e90 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ Changelog --------- +master +------ + +(`#158 `_) Add `fair` to `conda-forge` + v2.1.4 ------