diff --git a/.gitignore b/.gitignore index 64bada5..3bff348 100644 --- a/.gitignore +++ b/.gitignore @@ -254,9 +254,11 @@ Temporary Items # legacy reference scripts: env-specific, not pushed refs/ -# env-specific data (inputs from NFS/GCS, generated outputs). -# tests/data/ is anchored elsewhere and remains tracked. -/data/ +# env-specific data (inputs from NFS/GCS, generated outputs), except the +# reference data under data/external/. tests/data/ is anchored elsewhere +# and remains tracked. +/data/* +!/data/external/ # credentials and secrets *-service-account*.json @@ -276,6 +278,7 @@ service-account.json !examples/climate/data/**/*.parquet !examples/climate/data/**/*.csv !examples/*/data/**/*.csv +!/data/external/*.csv # notebook execution artifacts .ipynb_checkpoints/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ccb09f..b836920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,82 @@ ## Unreleased +The documentation of `quantile_method` says which value estimates a +quantile. `"inverted_cdf"` is the estimator and returns a value a +member has. `"linear"` interpolates and can return a number no member +holds. `"lower_step"` reproduces the historical extraction tool, one +member below `"inverted_cdf"`, and is biased low. + +New: `fetch_model_weights(rcp)` gives the published climate model +weights of an rcp from their Zenodo record, checked and cached, so +products stop reading the table from paths of their own. New: +`regroup` takes a reduced frame to coarser targets, a sum or a mean +weighted by `target_basis`, before the statistics are pooled, as the +country files are made from the states. + +**Where the statistics carry their counts they carry two, the samples +behind a row in `n_members` and the climate models among them in +`n_models`.** A warming level bin of four models over fifteen batches +holds 60 samples, and the file now says both. `n_models` is the +distinct values of `model_dims`, which `summarize_samples` and +`pooled_statistics` take beside `include_n_members` and a pipeline +config sets as `stats.model_dims`. It has no default and is required +wherever counts are written, warming levels and a reduce of fewer +leaves than were aggregated among them. + +The mortality paper's temperature table and the Inequality Paper's bins +are under `data/external/`. The warming level settings of the CMIP5 +models are `examples/warming_levels/ar5_cmip5_smme.toml`, with a README +that says where each number comes from. The test of the paper's bins +and the France example both read that file, and `load_warming_levels` +reads such a file on its own. The example's section 8 reads it unless +`FRANCE_WARMING` names another, and always runs. + +**A run declares which members join a warming level, and nothing in +the library reads a member's name.** `assign_warming_levels` takes +`members`, the members that join, with no default, and +`[stats.warming_levels]` takes `join`, `"declared"` for every member +the tree declares or a table of member columns to the values that +join, also with no default. `members_that_join` turns one into the +other. A member of the table that does not join is at no level, and +the record lists it under `excluded` with the reason. A value listed +to join that no member of the tree holds is refused by name, and so +are a member that joins with no row or short of a year, and a member +the tree declares with no row. A member of the table with no values +that does not join no longer stops a run. + +**An infinite member value is refused under every quantile method and +`summation`, and a statistic is refused when it comes out infinite, +other than the `-inf` of `"lower_step"` at or below its first step, +which is now written under either sum.** Before, `summation="exact"` +and `"inverted_cdf"` refused every infinite statistic, the step's +`-inf` among them, while `"linear"` and `"lower_step"` with the fast +sum returned infinities that came from the data. `summation` now says +how a mean is summed and nothing else. `window_means` refuses an +infinite value in a window, where it passed an infinite mean on. + +**Every row `apply_weights` returns carries `weight_share`, the share +of its target's weight basis behind the value, and the targets the +weights have that are not in the output are listed with their reason +in `AppliedResult.targets`.** Before, a target with no weight, such as +a unit with no crop area for a crop, was absent from the output with +nothing saying so, and a target short of a source region was averaged +over what it had with nothing on the row. A pipeline statistics file +has the column too, and its manifest and the leaves manifest list the +targets under `target_coverage`. A leaves manifest written before is +not reduced, and its leaves have to be aggregated again. A target whose +rows all have a weight of zero is now left out for "no weight", where +it came out as NaN. An extensive sum over no value is NaN, where it was +0. The warning for skipped source units said they were recorded in the +manifest, and `apply_weights` is given none. It now says they are in +the coverage of the result. + +**`stats.model_weights` and `stats.warming_levels.gmst` given as +relative paths now resolve against the directory of the pipeline +config, as `weights.dir`, `tree.root` and `output.dir` do.** They +resolved against the directory the run was started in, so a config +that relied on that has to give the path from its own directory. + **The rows of a pipeline statistics file, and of the reduced file, come in a new order. No value changed.** **`quantile_method` and `summation` are new, have no default, and have to be given: in every @@ -373,8 +449,8 @@ its warming level in a calendar period. periods and a statement of how the series was smoothed have no default, and a call without one of them fails. A period carries the years the temperature is averaged over and the years of the impacts - separately. Nothing is smoothed. Names are matched as written, so a - surrogate needs its own rows. `WarmingLevels.record` is the manifest + separately. Nothing is smoothed. Names are matched as written. + `WarmingLevels.record` is the manifest entry: the table's hash, every setting, each member's mean and level, the count at each declared level and the members with none. The pipeline does not use any of this yet. diff --git a/README.md b/README.md index 1502639..5551f9a 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,29 @@ to hit its worst draw together. The pipeline aggregates each Monte Carlo draw separately, takes quantiles at the end, and rejects input that already contains quantiles. +## What the output says about its targets + +Every row `apply_weights` returns carries `weight_share`, the share of +its target's weight basis behind the value. The basis is the raw column +of the weight in the file, the population or the crop area of each +piece of the target. A row is 1.0 when every piece with basis had a +value, and below 1.0 when a source region was missing from the data or +had no value there. A piece with no crop area carries no basis, so a +unit whose corn is all in some of its regions is whole. A filter on the +column keeps the partial targets out. + +A target the weights have and the output lacks is listed in +`AppliedResult.targets` with its reason. "no weight" is a target none of +whose pieces has a weight, a unit with no crop area for that crop. +"no data" is one whose weighted regions are none of them in the data. +`apply_weights` logs how many of each it found. + +A pipeline run writes `weight_share` on every row of its statistics, +the smallest share any pooled leaf gave the target. Its manifest lists +under `target_coverage` the targets left out of every pooled leaf, by +reason, and the partial ones with their shares. The leaves manifest +records the same for each leaf. + ## Choosing the right type of weights Ask one question: does adding your variable across regions produce a @@ -198,18 +221,15 @@ results from these projections. The weight files are published as their own Zenodo record (doi:10.5281/zenodo.22003542), one per RCP (`rcp45_SMME_weights.tsv`, -`rcp85_SMME_weights.tsv`; columns `quantile`, `model`, `weight`). To -apply them, normalize the model names and merge the weight onto every -draw of each model, so the weight repeats across batches: +`rcp85_SMME_weights.tsv`; columns `quantile`, `model`, `weight`). +`fetch_model_weights` downloads the table of an rcp from that record, +checks it against the md5 the record declares, and caches it, so every +product reads the same table. `attach` gives every draw the weight of +its model, so the weight repeats across batches: ```python -w = pd.read_csv( - "https://zenodo.org/records/22003542/files/rcp85_SMME_weights.tsv?download=1", - sep="\t", -)[["model", "weight"]] -w["key"] = w["model"].str.replace("*", "", regex=False).str.lower() -draws["key"] = draws["gcm"].str.replace("surrogate_", "", regex=False).str.lower() -draws = draws.merge(w[["key", "weight"]], on="key").drop(columns="key") +weights = cilreg.fetch_model_weights("rcp85") +draws["weight"] = weights.attach(draws["gcm"]) stats = cilreg.summarize_samples( draws, sample_dims=["batch", "gcm"], @@ -256,27 +276,30 @@ dimension named `gcm` without weights warns once; filter `quantile_method` says how a quantile is computed, by the name of the computation: -- `"linear"` interpolates between members. It is computed by numpy, - so it is `numpy.quantile(method="linear")` and xarray's `.quantile` - to the last bit. It has no weighted form and is refused with - weights. Where numpy's interpolation meets an infinite member it - gives NaN, even for a median of 1, 2 and an infinity, and such a - quantile is refused rather than written as a group with no value. -- `"lower_step"` is the step of the historical extraction tool: the - member one below the one whose cumulative weight share reaches q. - Without weights every member counts the same, which is what that - tool did when it was told to use no model weights. A quantile below - the first step is `-inf`, and the value of a member with weight zero +- `"inverted_cdf"` is the estimator of a quantile, the standard + inverse of the empirical distribution (Hyndman and Fan type 1), the + smallest member value whose cumulative weight share reaches q. It is + the same with or without weights, always returns the value of a + member, and never that of a member whose weight is zero. +- `"linear"` interpolates between two members, so it can return a + number no member holds. It is computed by numpy, so it is + `numpy.quantile(method="linear")` and xarray's `.quantile` to the + last bit. It has no weighted form and is refused with weights. +- `"lower_step"` is for reproducing the historical extraction tool, + not for estimating a quantile. It returns the member one below the + one `"inverted_cdf"` returns, so it is biased low at every quantile, + except the median of members that count equally. Without weights + every member counts the same, which is what that tool did when it + was told to use no model weights. A quantile at or below the first + member's share is `-inf`, and the value of a member with weight zero can come back. -- `"inverted_cdf"` is the standard inverse of the empirical - distribution (Hyndman and Fan type 1), the smallest member value - whose cumulative weight share reaches q. It is the same with or - without weights, never returns `-inf`, and never returns the value - of a member whose weight is zero. + +The names say what each computes, so pick by that, not by the name. With four members that count equally the three give three different -95th percentiles: the third member, a value between the third and the -fourth, and the fourth. +95th percentiles. `"inverted_cdf"` gives the fourth member, `"linear"` +a value between the third and the fourth, and `"lower_step"` the +third. `summation` says how a mean is summed: @@ -294,8 +317,17 @@ fourth, and the fourth. Neither option has a default. `summarize_samples` and `pooled_statistics` take both, `window_means` takes `summation`, and a pipeline config sets them under `[stats]`. The manifest records both. -Under `"inverted_cdf"` or `"exact"` a statistic that comes out -infinite raises instead of being returned; NaN does not. +`summation` says how a mean is summed and decides nothing else. + +An infinite member value is refused under every quantile method and +sum, naming where it is, because an infinity in impact data means +something upstream broke. A value in a year no window covers is not +looked at. The one infinity a statistic can have is the `-inf` of +`"lower_step"` at or below its first step, which it is by definition: +with equal weights a quantile at or below 1/n of the members. It is +written, and the member count beside it says why. Any other infinite +statistic is the arithmetic passing the largest float, and is refused. +A NaN is a group with no value, and is written. Files made before v0.6.0 had no such options. They are reproduced by `"lower_step"` if the run had weights and `"linear"` if it had none, @@ -303,6 +335,41 @@ with `"fast"`. Those without weights took their quantiles from pandas, whose arithmetic for the same interpolation differs from numpy's in the last bit of about one quantile in a hundred. +## Country values from state values + +A country value is not a statistic of its states' statistics, since a +95th percentile of a sum is not the sum of 95th percentiles. `regroup` +takes a reduced frame, one value a target, window and draw, as a +pipeline run writes it with `output.write_reduced = true`, to coarser +targets, and the statistics are pooled after. + +```python +reduced = pd.read_parquet("mortality_adm1.reduced.parquet") +country = cilreg.regroup( + reduced, + id_fields=["ISO", "ID_1"], + by=["ISO"], + kind="extensive", + value_col="rebased", + summation="exact", +) +stats = cilreg.pooled_statistics( + country.assign(weight=weights.attach(country["gcm"])), + sample_dims=["batch", "gcm"], + value_col="rebased", + quantiles=[0.05, 0.5, 0.95], + weight_col="weight", + quantile_method="lower_step", + summation="exact", +) +``` + +`"extensive"` sums the states. `"intensive"` takes the mean weighted +by each state's basis, which `target_basis(artifact, "croparea")` +gives from the weights the states were aggregated with, the crop area +or the population of each. The regroup is exact when every impact +region lies in one country, as they do. + ## Warming levels `assign_warming_levels` gives each member of a temperature table the @@ -324,6 +391,9 @@ levels = cilreg.assign_warming_levels( cilreg.Period(gmst_span=(2080, 2099), impact_span=(2080, 2099)), ], smoothing="unknown", + members=cilreg.members_that_join( + {"gcm": ["CCSM4", "MIROC5"]}, table.members, table.member_cols + ), ) levels.windows_of(("MIROC5", "rcp85")) levels.record() @@ -340,7 +410,7 @@ there goes to the level declared first. Bands that overlap are refused. None of `reference_period`, `offset`, `levels`, `half_width`, -`periods` and `smoothing` has a default. The offset is the warming +`periods`, `smoothing` and `members` has a default. The offset is the warming from a pre-industrial baseline to the reference period, and it is only right for that pair: 0.61 goes with 1986 to 2005 in AR5 (WG1 TS.2.2.1), and AR6 gives another figure against another period. A call that @@ -356,19 +426,36 @@ Nothing is smoothed. The series is taken as it is in the table, and `smoothing` says in words how it was smoothed before, `"unknown"` if nobody knows. It goes into the record as written. -A member's name is matched as it is written. A surrogate model is a -member of its own and needs its own rows. A member that lacks a year -of the reference period or of a `gmst_span` is refused by name. +`members` are the members that join. A member of the table that does +not join is at no level, and the record lists it under `excluded` with +the reason. A member that joins and has no row, or lacks a year of the +reference period or of a `gmst_span`, is refused by name. One that +does not join is not looked at, so a table may hold a member with no +values, as the mortality paper's does under rcp45. A name is matched +as it is written, and nothing reads a name to decide what a member is. + +`members_that_join` turns a declaration into the members. `"declared"` +is every member declared. A mapping of member columns to values takes +each member whose value in every column named is listed, so a list of +models joins under each scenario there is. A value listed that no +member declared holds is refused by name, since it is most likely a +name written wrong. In a pipeline config the same settings go under -`[stats.warming_levels]`, in place of `stats.windows`. The example is -a physical product as the Inequality Paper makes one: each member's -window is collapsed to its mean first, over nineteen impact years, and -the quantile is the extraction tool's step. +`[stats.warming_levels]`, in place of `stats.windows`, and `join` is +the declaration, over the members the tree declares. It has no default. +`examples/warming_levels/ar5_cmip5_smme.toml` is the block for the +CMIP5 models, which the test of the paper's bins reads too, and its +README says where each number comes from. `load_warming_levels` reads +such a file on its own. The example here is a physical product as the +Inequality Paper makes one: each member's window is collapsed to its +mean first, over nineteen impact years, and the quantile is the +extraction tool's step. ```toml [stats] sample_dims = ["batch", "rcp", "gcm"] +model_dims = ["gcm"] time_col = "year" quantiles = [0.05, 0.5, 0.95] quantile_method = "lower_step" @@ -384,6 +471,9 @@ levels = [1.5, 2, 3, 4, 5] half_width = 0.25 smoothing = "unknown" +[stats.warming_levels.join] +gcm = ["CCSM4", "MIROC5"] # or join = "declared", above this table + [[stats.warming_levels.periods]] gmst_span = [2040, 2059] impact_span = [2040, 2058] @@ -405,11 +495,13 @@ A leaf's member is read off its level values, here its `gcm` and its them. A leaf is pooled under the level its member has in a period and left out of the periods in which it has none. The statistics file has a `warming_level` column next to `window`, which stays the period, and -two counts on every row. `n_members` is the draws behind the -statistic, a batch of a model counting as one. `n_bin_members` is the -distinct members of the temperature table behind it, which is the -number to read a 95th percentile over four models by. A level nobody -is at in a period has no row, and the manifest records it with a zero. +three counts on every row. `n_members` is the draws behind the +statistic, a batch of a model counting as one. `n_models` is the +distinct values of `stats.model_dims` among them, the climate models, +and `n_bin_members` the distinct members of the temperature table, a +model under an rcp. Those are the numbers to read a 95th percentile +over four models by. A level nobody is at in a period has no row, and +the manifest records it with a zero. The statistics come from the leaf files under every stage, as when the years are pooled, so stage `all` writes the leaves and then @@ -585,10 +677,11 @@ What pooling changes: - A model weight applies to each member-year. - `quantile_method` and `summation` work as before. No window mean is taken, so `summation` acts on the pooled mean alone. -- With `include_n_members` the file has two counts. `n_members` is +- With `include_n_members` the file has three counts. `n_members` is what it is without pooling, the members behind a statistic: those with a value in the window and, with model weights, a weight above - zero. `n_sample` is the member-years behind it. + zero. `n_sample` is the member-years behind it, and `n_models` the + climate models among them. - The manifest records `time_reduction`, next to `quantile_method` and `summation`, and `years` for a product per year. diff --git a/benchmarks/synthetic.py b/benchmarks/synthetic.py index 5ba67a4..d442638 100644 --- a/benchmarks/synthetic.py +++ b/benchmarks/synthetic.py @@ -249,7 +249,7 @@ def artifact(scale: int = SCALE) -> WeightsArtifact: def apply_result(art: WeightsArtifact, leaf: pd.DataFrame) -> AppliedResult: """Weight a leaf onto the targets, skipping the regions with no crop area. A target whose regions all have none is missing from the - frame, and the library reports the regions but not that target.""" + frame and listed in the result's targets.""" return cilreg.apply_weights( art, leaf, @@ -262,7 +262,9 @@ def apply_result(art: WeightsArtifact, leaf: pd.DataFrame) -> AppliedResult: def apply(art: WeightsArtifact, leaf: pd.DataFrame) -> pd.DataFrame: - return apply_result(art, leaf).frame + """The frame of `apply_result` without its share column, as the + pipeline reduces it.""" + return apply_result(art, leaf).frame.drop(columns=["weight_share"]) def best(fn, repeat: int = 3): diff --git a/benchmarks/test_artifact_shape.py b/benchmarks/test_artifact_shape.py index 09f8f08..ed0efd1 100644 --- a/benchmarks/test_artifact_shape.py +++ b/benchmarks/test_artifact_shape.py @@ -158,9 +158,10 @@ def test_default_policy_stops_at_the_empty_regions(): def test_skip_reports_regions_and_drops_targets(result, targets, caplog): - """The library reports the skipped regions on the result and in one - warning. The targets left with nothing are not counted anywhere and - are missing from the frame.""" + """The library reports the skipped regions on the result and in a + warning, and the targets left with nothing in the result's targets + and in a second warning. Those targets are missing from the frame. + Failed with the targets counted nowhere.""" assert result.coverage.counts == { "unmatched": 0, "zero_weight": N_EMPTY_REGIONS, @@ -173,13 +174,17 @@ def test_skip_reports_regions_and_drops_targets(result, targets, caplog): assert len(in_output) == N_IN_OUTPUT assert not targets.index[targets["count"] == 0].isin(in_output).any() assert targets.index[targets["count"] > 0].isin(in_output).all() + assert result.targets.counts["left_out"] == { + "no weight": N_WITHOUT_AREA, + "no data": 0, + } with caplog.at_level("WARNING", logger="cil_regionalization.validate"): apply(artifact(64), source_leaf(64)) messages = [r.getMessage() for r in caplog.records] - assert len(messages) == 1 + assert len(messages) == 2 assert "zero_weight source units" in messages[0] - assert "target" not in messages[0] + assert "targets are left out (no weight:" in messages[1] def test_applied_leaf_is_what_apply_returns(result): diff --git a/benchmarks/test_bench_leaf.py b/benchmarks/test_bench_leaf.py index 3388dfe..dcb7c21 100644 --- a/benchmarks/test_bench_leaf.py +++ b/benchmarks/test_bench_leaf.py @@ -48,7 +48,8 @@ def test_label_placement_gives_the_same_leaf(): art, leaf = artifact(), source_leaf() apply_s, result = best(lambda: apply_result(art, leaf)) - applied = result.frame + # the pipeline takes the share off before the window means + applied = result.frame.drop(columns=["weight_share"]) labelled = applied.assign(**LABELS) before_s, before = best(lambda: window_means(labelled, **_KW)) after_s, after = best( @@ -62,10 +63,9 @@ def test_label_placement_gives_the_same_leaf(): pd.testing.assert_frame_equal(after, before, check_exact=True) pd.testing.assert_frame_equal(first, before, check_exact=True) - # The library reports the regions it skipped, not the targets that - # were left with nothing, so those are counted here. n_targets = len(art.frame[ID_FIELDS].drop_duplicates()) - n_absent = n_targets - len(applied) // len(YEARS) + n_absent = len(result.targets.left_out["no weight"]) + assert n_absent == n_targets - len(applied) // len(YEARS) report( f"leaf: {len(leaf):,} rows read, {len(applied):,} after " f"apply_weights, {len(before):,} reduced" diff --git a/cil_regionalization/__init__.py b/cil_regionalization/__init__.py index cf7d547..19be374 100644 --- a/cil_regionalization/__init__.py +++ b/cil_regionalization/__init__.py @@ -1,42 +1,58 @@ -"""Public API surface for cil_regionalization. +"""Public API of cil_regionalization. -What a consumer of published weights touches, in call order: +`fetch_weights` downloads a published weights artifact, verifies it, +caches it and loads it. `fetch_model_weights` does the same for the +published climate model weights, and `list_cached` and `clear_cache` +show and remove cached artifacts. `WeightsArtifact` is the loaded +weights, and `WeightsArtifact.from_table` builds one from a weight table +produced elsewhere. - fetch_weights download a published artifact, verify, cache, load - read_netcdf_grid a lat-lon NetCDF to the cell table apply_weights takes - apply_weights aggregate source-level data to the artifact's targets - summarize_samples window means and pooled statistics over MC draws - read_model_weights the climate model weights those statistics take - read_gmst a table of global mean temperature by member - assign_warming_levels the warming level of each member in a period +`read_netcdf_grid` reads a lat-lon NetCDF to the cell table +`apply_weights` takes, and `read_netcdf_leaf` reads a NetCDF leaf to a +long frame. `apply_weights` aggregates source-level data to the +artifact's targets, and `SourceUnitPolicies` says what it does with +source units it cannot use. `regroup` sums or averages targets into +groups, such as states into countries, and `target_basis` gives each +target's weight basis for the average. -`window_means` and `pooled_statistics` are the two halves of -`summarize_samples`, for pipelines that reduce time per leaf before -pooling. +`summarize_samples` takes window means and then pooled statistics over +the sample members. `window_means` and `pooled_statistics` are its two +halves, for pipelines that reduce time per leaf before pooling. +`read_model_weights` reads the climate model weights those statistics +take, as `ModelWeights`, and `UnweightedModelWeightsWarning` is the +warning given when models are pooled without them. `mixture_quantile` +is the quantile of a weighted mixture of normal distributions. -plus `WeightsArtifact` (the loaded weights; `WeightsArtifact.from_table` -builds one from a weight table produced elsewhere), the schema types -`OutputSchema`, `SourceUnits` and `GRID_CELLS` for constructing one by -hand, and, for weight generation, `generate_weights` with -`Config` / `load_config` (and `SumToOneError`, `WeightsResult`), as well -as the `cilreg` CLI. Everything not exported here is internal and may -change without notice. +`read_gmst` reads a table of global mean temperature by member as a +`GMSTTable`. `assign_warming_levels` gives the warming level of each +member that joins in each `Period`, as `WarmingLevels`, and its +`windows_of` gives a member's levels as `LevelWindow`. +`members_that_join` turns a declaration of the members that join into +the members. + +`read_gradient_leaf`, `aggregate_gradient`, `window_gradient` and +`delta_method` carry delta-method gradients from a leaf to a mean and +standard deviation per target. -Package import does two small env-repairs so CLI, notebooks, and library -users all get a working geospatial stack without per-process incantations: +`generate_weights` makes weights from a `Config`, which `load_config` +reads from TOML. It returns a `WeightsResult` and raises `SumToOneError` +when the weights fail the sum-to-one check. `OutputSchema`, +`SourceUnits` and `GRID_CELLS` are the schema types for building an +artifact by hand. The `cilreg` command runs generation, the Monte Carlo +pipeline and fetching. Everything not exported here is internal and may +change without notice. -1. PROJ_LIB / PROJ_DATA pointed at this env's share/proj when one - exists (conda layouts), or cleared when they point outside this env - (pip venvs, where each wheel bundles its own PROJ data and - self-locates once the variables are unset). Either stale state comes - from inheriting another installation's environment and breaks CRS - construction, with "Invalid projection: EPSG:4326" or "proj.db lacks - DATABASE.LAYOUT.VERSION" depending on the direction of the mismatch. -2. The GDAL 4.0 FutureWarning about UseExceptions is suppressed (or, if - the osgeo binding is present, UseExceptions is called explicitly). - Notebook and CLI output stay clean of the upstream warning. +Importing the package repairs two parts of the environment. When this +environment's share/proj holds a proj.db, PROJ_LIB is set to it, and +PROJ_DATA too unless already set. Otherwise a PROJ_LIB or PROJ_DATA that +points outside this environment is removed, and each wheel finds its own +PROJ data. When the osgeo binding is installed, GDAL's UseExceptions is +called, and otherwise GDAL's FutureWarning about it is suppressed. """ +# A PROJ_LIB or PROJ_DATA inherited from another installation breaks CRS +# construction, with "Invalid projection: EPSG:4326" or "proj.db lacks +# DATABASE.LAYOUT.VERSION" depending on the direction of the mismatch. from __future__ import annotations import importlib.metadata as _metadata @@ -69,7 +85,12 @@ from cil_regionalization.apply import WeightsArtifact, apply_weights from cil_regionalization.backends.base import WeightsResult from cil_regionalization.config import Config, SourceUnitPolicies, load_config -from cil_regionalization.fetch import clear_cache, fetch_weights, list_cached +from cil_regionalization.fetch import ( + clear_cache, + fetch_model_weights, + fetch_weights, + list_cached, +) from cil_regionalization.generate import SumToOneError, generate_weights from cil_regionalization.gradients import ( aggregate_gradient, @@ -78,6 +99,7 @@ window_gradient, ) from cil_regionalization.model_weights import ModelWeights, read_model_weights +from cil_regionalization.regroup import regroup, target_basis from cil_regionalization.netcdf_io import read_netcdf_grid, read_netcdf_leaf from cil_regionalization.schema import GRID_CELLS, OutputSchema, SourceUnits from cil_regionalization.stats import ( @@ -93,6 +115,7 @@ Period, WarmingLevels, assign_warming_levels, + members_that_join, read_gmst, ) @@ -116,18 +139,22 @@ "assign_warming_levels", "clear_cache", "delta_method", + "fetch_model_weights", "fetch_weights", "generate_weights", "list_cached", "load_config", + "members_that_join", "mixture_quantile", "pooled_statistics", "read_gmst", "read_gradient_leaf", "read_model_weights", + "regroup", "read_netcdf_grid", "read_netcdf_leaf", "summarize_samples", + "target_basis", "window_gradient", "window_means", ] diff --git a/cil_regionalization/apply.py b/cil_regionalization/apply.py index 4a9f7e9..9d07394 100644 --- a/cil_regionalization/apply.py +++ b/cil_regionalization/apply.py @@ -1,66 +1,30 @@ -"""Apply a weights artifact to source-level data. - -The repo's other modules build weights; this one consumes them. The core -operation joins a weights frame to a data frame on the source-unit key -columns recorded in the artifact, applies the declared operation, and -groups to the target id fields. Every other column of the data is treated -as an opaque dimension and carried through: nothing here knows or assumes -dimension names like gcm, rcp, ssp, model, or year. Only the region -dimension, the source key columns, is special. - -Variable kind is declared, never inferred ------------------------------------------ - extensive : target value = sum of weight * value. Requires per_source - weights (each source unit's weights sum to 1 across its targets), - so the operation allocates the source total and conserves it. - intensive : target value = sum(weight * value) / sum(weight) over the - source units with data. Requires per_destination weights. The - denominator uses only the units present with non-null values, so - partial coverage renormalizes instead of deflating the mean. - ratio : numerator and denominator are each aggregated extensively, - then divided. Requires per_source weights. This is the correct - order for shares (damages over GDP); averaging per-unit ratios is - a different and generally wrong number. - -The declared kind is checked against the artifact's recorded -normalization direction with `schema.require_normalization`; a mismatch -raises with an explanation rather than producing plausible wrong numbers. - -Qualified keys only -------------------- -Joins run on the source key columns the weight file records, and targets -are identified by the id fields it records. There is no parameter for -joining on anything else, display names included, so the name-collision -failure mode (the same admin name in two countries merging into one unit) -cannot be expressed through this interface. - -Version agreement ------------------ -The artifact records the version of the geometry its source units come -from (``source_version``). The caller must state the version the data was -built against; a mismatch raises, and a missing version on either side is -itself an error rather than an assumed compatibility. - -Validation ----------- -Source coverage runs on every application: unmatched, zero-weight, and -absent-from-data source units go through the configured -`SourceUnitPolicies` (error by default) and are reported on the result. -Extensive and ratio aggregations then run the mass balance check over the -data that was actually applied; failure raises. The mass balance -therefore proves the aggregation machinery conserved what it processed, -while the coverage report accounts for what was excluded and why. For a -subset run (for example one country's targets), restrict the source -universe explicitly with ``restrict_to_sources`` instead of relaxing the -coverage policies. - -This is a library API. There is no CLI verb for application yet; see the -increment notes for the reasoning. +"""Applying a weights artifact to source-level data. + +`apply_weights` joins the data to the weights on the source key columns +the artifact records and groups to the id fields it records. Joins never +use display names. Every other column of the data is a dimension carried +through to the output, and no dimension name is special. + +The variable kind is declared, never inferred. An extensive value is the +sum of weight times value, and needs per_source weights. An intensive +value is that sum divided by the sum of the weights of the source units +that have a value, and needs per_destination weights. A ratio sums its +numerator and its denominator extensively and then divides, and needs +per_source weights. A kind that does not match the artifact's recorded +normalization raises, and so does a ``data_version`` that is missing or +differs from the artifact's ``source_version``. + +Every application checks source coverage against `SourceUnitPolicies`, +which raise by default, and reports it on the result. An extensive or +ratio application also checks the mass balance over the data it applied, +and raises if it fails. A run over a subset of the sources names them in +``restrict_to_sources`` rather than relaxing the policies. """ from __future__ import annotations import json +import logging import os from dataclasses import dataclass from pathlib import Path @@ -77,6 +41,7 @@ GRID_CELLS, OutputSchema, SourceUnits, + raw_column, require_normalization, weight_column, ) @@ -89,6 +54,15 @@ enforce_source_policies, ) +logger = logging.getLogger(__name__) + +# The column `apply_weights` writes on every row, the share of the +# target's weight basis behind the value. +SHARE_COLUMN = "weight_share" +# why a target the weights know is not in the output +NO_WEIGHT = "no weight" +NO_DATA = "no data" + # column spellings accepted for cell centroids in external tables, # including the pix_cent_x / pix_cent_y of CIL segment weight files _LON_COLUMNS = ("cell_lon", "lon", "longitude", "pix_cent_x") @@ -108,12 +82,14 @@ class WeightsArtifact: """A weights frame plus the metadata needed to apply it safely. - ``partial_coverage`` is the generation-time coverage accounting for - polygon-mode artifacts (threshold, count, per-unit shortfalls, - whether the target set was a subset). None means the artifact - carries no accounting: hand-built artifacts and pre-accounting - manifests. Generated polygon artifacts always carry it, count zero - included, so a real artifact cannot lose the marking by accident. + ``partial_coverage`` is the record of partially covered source units + that every generated polygon artifact carries, a count of zero + included. It holds the threshold, the count, the units below the + threshold and whether the targets were a subset. `apply_weights` + refuses an artifact whose count is not zero unless + ``allow_partial_coverage`` is set. It is None for an artifact built + by hand, a grid artifact and one loaded from a manifest without the + record, and such an artifact is not refused. """ frame: pd.DataFrame @@ -138,13 +114,11 @@ def from_result(cls, result: WeightsResult) -> "WeightsArtifact": @classmethod def load(cls, output_dir: str | Path, stem: str = "weights") -> "WeightsArtifact": - """Load a written artifact (parquet + manifest sidecar). - - Reconstructs the schema from the manifest's recorded column roles. - Manifests written before those fields existed cannot be applied; - regenerate the weights or construct the artifact in memory via - `from_result`. - """ + """The artifact written as ``{stem}.parquet`` and + ``{stem}.manifest.json`` in ``output_dir``, a local directory or a + ``gs://`` prefix. The schema is rebuilt from the column roles the + manifest records. Raises if the manifest does not record them, as + a manifest from an older version of the package does not.""" base = str(output_dir).rstrip("/") if base.startswith("gs://"): import gcsfs @@ -201,47 +175,37 @@ def from_table( check: bool = True, tolerance: float = 1e-6, ) -> "WeightsArtifact": - """Build an artifact from a weight table produced elsewhere. - - ``table`` is a frame, or a path to a CSV or parquet file, with - one row per (region, source unit) and one normalized weight - column per weight. No manifest is needed: what the manifest - would record is passed here. - - ``weights`` maps each weight name to its column, for example - ``{"pop": "popwt"}``; columns are renamed to the ``{name}wt`` - form `apply_weights` reads. ``source`` becomes the artifact's - ``source_version``, which `apply_weights` compares against the - data's ``data_version``. - - When ``source`` names a grid (``grid-0.25deg-center-[-180,180)``, - the form `GridSpec.source_version` writes), source units are - grid cells. Without ``cell_ix`` / ``cell_iy`` they are derived - from a longitude and a latitude column (spelled + """An artifact built from a weight table made elsewhere, with + what a manifest would record passed as arguments. + + ``table`` is a frame, or the path of a CSV or parquet file, with + one row per (region, source unit) and one normalized column per + weight. ``weights`` maps each weight name to its column, for + example ``{"pop": "popwt"}``, and the columns are renamed to the + ``{name}wt`` form `apply_weights` reads. ``source`` becomes the + artifact's ``source_version``, which `apply_weights` compares + with the data's ``data_version`` as an exact string. + + When ``source`` names a grid in the form `GridSpec.source_version` + writes, such as ``grid-0.25deg-center-[-180,180)``, the source + units are grid cells. Without ``cell_ix`` and ``cell_iy`` they are + found from a longitude and a latitude column, spelled ``cell_lon``/``cell_lat``, ``lon``/``lat``, - ``longitude``/``latitude`` or ``pix_cent_x``/``pix_cent_y``). + ``longitude``/``latitude`` or ``pix_cent_x``/``pix_cent_y``. Longitudes are wrapped into the grid's convention first, so the 180.125 centroid CIL files carry becomes -179.875, and every - point must sit on a cell centroid. - - Given ``cell_ix`` / ``cell_iy`` are used as they are, after a - bounds check. When a longitude or latitude column is also - present, each row's index must map back to that centroid on the - named grid, which catches indices built on a different grid of - the same shape (a [0,360) table read as [-180,180), shifted by - half the columns, or latitudes counted from the north). When - neither column is present the indices are taken on trust: the - only defense is that ``source`` names the grid they were built - on exactly, since `apply_weights` compares it to the data's - version as a literal string and nothing checks the geography. - - Any other ``source`` is a polygon source version and - ``source_keys`` names the id columns of its units. - - With ``check`` the table must have no duplicated (region, - source unit) rows and every weight must sum to 1 within each - normalization group (`check_sum_to_one`); both failures raise - naming the offending groups. + point must sit on a cell centroid. A table's own ``cell_ix`` and + ``cell_iy`` are used as they are after a bounds check, and must + map back to its longitude or latitude column when it has one. + With neither column, nothing checks that the indices were built + on the grid ``source`` names. + + Any other ``source`` is a polygon source version, and + ``source_keys`` names the id columns of its units. With + ``check``, the table must have no duplicated (region, source + unit) rows and every weight must sum to 1 within each + normalization group. Both failures raise naming the offending + groups. """ if normalization not in ("per_destination", "per_source"): raise ValueError( @@ -389,7 +353,8 @@ def _read_table(path: str | os.PathLike, string_cols: list[str]) -> pd.DataFrame def _find_column( frame: pd.DataFrame, spellings: tuple[str, ...], what: str ) -> str | None: - """The one column among ``spellings``, None if absent; several raise.""" + """The one column of ``frame`` among ``spellings``, or None if there + is none. Raises if there are several.""" found = [c for c in spellings if c in frame.columns] if len(found) > 1: raise ValueError( @@ -414,7 +379,10 @@ def _wrap_lon(lon: np.ndarray, spec: GridSpec) -> np.ndarray: def _attach_grid_cells(frame: pd.DataFrame, spec: GridSpec) -> pd.DataFrame: - """Add integer cell indices (and centroids) for a grid source.""" + """``frame`` with int64 ``cell_ix`` and ``cell_iy`` on ``spec``, and + with ``cell_lon`` and ``cell_lat`` too when the indices are found + from the coordinates. Raises if a row is off the grid, or its indices + and its coordinates disagree.""" has_ix = "cell_ix" in frame.columns has_iy = "cell_iy" in frame.columns if has_ix != has_iy: @@ -501,8 +469,9 @@ class AppliedResult: ``frame`` is keyed by the artifact's id fields plus every passthrough dimension of the input data. ``mass_balance`` is None for intensive - aggregations, whose weighted means are not conserved quantities; + aggregations, whose weighted means are not conserved quantities. ``mass_balance_denominator`` is set only for ratio aggregations. + ``targets`` is what `apply_weights` found of the targets. """ frame: pd.DataFrame @@ -511,6 +480,31 @@ class AppliedResult: coverage: SourceCoverageReport mass_balance: MassBalanceReport | None mass_balance_denominator: MassBalanceReport | None = None + targets: "TargetReport | None" = None + + +@dataclass(frozen=True) +class TargetReport: + """The targets an application was asked for that are not in its + output, by reason, and those whose value rests on part of their + weight basis, each with the smallest share a row of it has. + ``basis`` is the column the shares are taken against. + + A target is asked for when the weights, restricted to the sources + asked for, have a row of it. It is left out for "no weight" when + none of those rows has a weight, and for "no data" when none of its + weighted sources is in the data.""" + + basis: str + left_out: Mapping[str, tuple[tuple, ...]] + partial: tuple[tuple[tuple, float], ...] + + @property + def counts(self) -> dict: + return { + "left_out": {reason: len(ids) for reason, ids in self.left_out.items()}, + "partial": len(self.partial), + } def apply_weights( @@ -532,11 +526,11 @@ def apply_weights( ``data`` must carry the artifact's source key columns (exact names), ``value_col``, and for ratio kind ``denominator_col``. Every other - column is a passthrough dimension: aggregation happens independently + column is a passthrough dimension. Aggregation happens independently per combination of dimension values, and the output keeps those columns. Columns that are labels of the source unit rather than - dimensions (a country tag, a display name) behave as dimensions too; - drop them beforehand if they should not appear in the output. Rows + dimensions (a country tag, a display name) behave as dimensions too, + so drop them beforehand if they should not appear in the output. Rows duplicated on (source keys + dimensions) would double count and raise. ``data_version`` states the geometry version the data was built @@ -544,8 +538,18 @@ def apply_weights( ``group_col`` optionally names a data column to run the mass balance per group (typically the country) as well as globally. ``restrict_to_sources`` limits the weight frame to an explicit source - universe for subset runs; the coverage checks stay fully strict within + universe for subset runs. The coverage checks stay fully strict within that universe. + + Every row of the output carries ``weight_share``, the share of its + target's weight basis behind the value, exactly 1 when every unit of + the target that carries basis contributed. The basis is the + artifact's raw column of the weight, its population or crop area, so + a unit with no crop area takes nothing from a target's share, and a + target with no basis at all, fed by the area fallback alone, is + measured by its weights. ``AppliedResult.targets`` lists the targets + the weights have that are not in the output, with the reason, and + the partial ones. A sum over no value is NaN, not zero. """ if kind not in _KIND_TO_DIRECTION: raise ValueError( @@ -580,6 +584,11 @@ def apply_weights( if group_col is not None and group_col not in data.columns: raise ValueError(f"data is missing group column {group_col!r}") + if SHARE_COLUMN in data.columns: + raise ValueError( + f"data has a column named {SHARE_COLUMN!r}, which apply_weights " + f"writes on every row of its output" + ) dim_cols = [c for c in data.columns if c not in source_keys + value_cols] dup_key = source_keys + dim_cols # Each key column is hashed once: the source codes serve both the @@ -595,7 +604,16 @@ def apply_weights( f"{dup_key}; duplicated rows would double count" ) - weights_frame = artifact.frame[id_fields + source_keys + [wcol]] + raw = raw_column(weight) + basis_col = raw if raw in artifact.frame.columns else wcol + weights_frame = _with_basis( + artifact.frame[ + id_fields + source_keys + list(dict.fromkeys([wcol, basis_col])) + ], + id_fields, + wcol, + basis_col, + ) if restrict_to_sources is not None: allowed = {tuple(t) for t in restrict_to_sources} mask = weights_frame[source_keys].apply(tuple, axis=1).isin(allowed) @@ -612,24 +630,72 @@ def apply_weights( ) enforce_source_policies(coverage, policies or SourceUnitPolicies()) - # NaN weights (the marked 'nan' fallback) carry no mass; the coverage - # check above has already classified all-NaN source units, so the - # remaining rows drop cleanly here. - weights_frame = weights_frame.dropna(subset=[wcol]) - merged = weights_frame.merge(data, on=source_keys, how="inner") + requested = _ids(weights_frame, id_fields) + # A row with no weight, NaN as the marked 'nan' fallback leaves it or + # zero, carries no mass. The coverage check above has classified the + # source units all of whose rows are such. + weighted = weights_frame[weights_frame[wcol].notna() & (weights_frame[wcol] != 0)] + merged = weighted.merge(data, on=source_keys, how="inner") out_keys = id_fields + dim_cols - if kind == "extensive": - out = _aggregate_extensive(merged, out_keys, wcol, value_col) - elif kind == "intensive": - out = _aggregate_intensive(merged, out_keys, wcol, value_col) + contributing = merged[value_col].notna() + if denominator_col is not None: + contributing &= merged[denominator_col].notna() + columns = { + "_bc": merged["_basis"].where(contributing, 0.0), + "_cc": (contributing & (merged["_basis"] > 0)).astype(np.int64), + } + if kind == "intensive": + columns["_wx"] = merged[wcol] * merged[value_col] + columns["_w"] = merged[wcol].where(merged[value_col].notna(), 0.0) else: - num = _aggregate_extensive(merged, out_keys, wcol, value_col) - den = _aggregate_extensive(merged, out_keys, wcol, denominator_col) - out = num.merge(den, on=out_keys, how="outer") - out[value_col] = out[value_col] / out[denominator_col].where( - out[denominator_col] != 0.0 - ) + columns["_num"] = merged[wcol] * merged[value_col] + if kind == "ratio": + columns["_den"] = merged[wcol] * merged[denominator_col] + grouped = ( + merged[out_keys + ["_total", "_rows"]] + .assign(**columns) + .groupby(out_keys, sort=False) + ) + sums = grouped[list(columns)].sum(min_count=1) + sums[["_total", "_rows"]] = grouped[["_total", "_rows"]].first() + sums = sums.reset_index() + if kind == "intensive": + sums[value_col] = sums["_wx"] / sums["_w"].where(sums["_w"] != 0.0) + elif kind == "extensive": + sums[value_col] = sums["_num"] + else: + sums[value_col] = sums["_num"] / sums["_den"].where(sums["_den"] != 0.0) + # every row of the target that carries basis contributed, so exactly 1 + sums[SHARE_COLUMN] = np.where( + sums["_cc"].fillna(0).to_numpy() == sums["_rows"].to_numpy(), + 1.0, + sums["_bc"].fillna(0.0) / sums["_total"], + ) + out = sums[out_keys + [value_col, SHARE_COLUMN]] + if kind != "intensive": + num = sums[out_keys + ["_num"]].rename(columns={"_num": value_col}) + if kind == "ratio": + den = sums[out_keys + ["_den"]].rename(columns={"_den": denominator_col}) + + present = _ids(out, id_fields) + weighted_ids = _ids(weighted, id_fields) + shares = out.groupby(id_fields, sort=False)[SHARE_COLUMN].min() + partial = shares[shares < 1.0] + targets = TargetReport( + basis=basis_col, + left_out={ + NO_WEIGHT: tuple(sorted(requested - weighted_ids)), + NO_DATA: tuple(sorted(weighted_ids - present)), + }, + partial=tuple( + sorted( + ((key if isinstance(key, tuple) else (key,)), float(share)) + for key, share in partial.items() + ) + ), + ) + _say_targets(targets, len(requested)) balance: MassBalanceReport | None = None balance_den: MassBalanceReport | None = None @@ -655,7 +721,6 @@ def apply_weights( balance_den = _run_mass_balance( applied_data, den, denominator_col, group_col, mass_balance_tolerance ) - out = out.drop(columns=[denominator_col]) return AppliedResult( frame=out, @@ -664,25 +729,65 @@ def apply_weights( coverage=coverage, mass_balance=balance, mass_balance_denominator=balance_den, + targets=targets, ) +def _ids(frame: pd.DataFrame, id_fields: list[str]) -> set[tuple]: + return set(frame[id_fields].drop_duplicates().itertuples(index=False, name=None)) + + +def _with_basis( + frame: pd.DataFrame, id_fields: list[str], wcol: str, basis_col: str +) -> pd.DataFrame: + """``frame`` with each row's basis, its target's total basis and the + number of its target's rows that carry basis, over every row of the + artifact. A target whose rows carry no basis at all, as rows of the + area fallback carry none of the raster's, is measured by its + weights instead.""" + basis = frame[basis_col].fillna(0.0).astype("float64") + keys = [frame[f] for f in id_fields] + total = basis.groupby(keys, sort=False).transform("sum") + by_weight = total == 0.0 + if by_weight.any(): + basis = basis.where(~by_weight, frame[wcol].fillna(0.0).astype("float64")) + total = basis.groupby(keys, sort=False).transform("sum") + rows = (basis > 0).groupby(keys, sort=False).transform("sum") + return frame.assign(_basis=basis, _total=total, _rows=rows.astype(np.int64)) + + +def _say_targets(targets: TargetReport, n_requested: int) -> None: + left = {reason: len(ids) for reason, ids in targets.left_out.items() if ids} + if not left and not targets.partial: + return + parts = [] + if left: + parts.append( + f"{sum(left.values())} of {n_requested} targets are left out (" + + ", ".join(f"{reason}: {n}" for reason, n in left.items()) + + ")" + ) + if targets.partial: + smallest = min(share for _, share in targets.partial) + parts.append( + f"{len(targets.partial)} rest on part of their {targets.basis} " + f"(smallest share {smallest:.3g}, in column {SHARE_COLUMN!r})" + ) + logger.warning("%s; AppliedResult.targets lists them", " and ".join(parts)) + + def _check_coverage_marking( artifact: WeightsArtifact, allow_partial_coverage: bool ) -> None: - """Refuse artifacts whose generation recorded partially covered units. - - A source unit only partially intersected by the target set (a border - neighbor in a subset-target run) carries weights that sum to 1 over a - sliver of the real unit, so sum-to-one cannot flag the problem and an - extensive application would silently misplace that unit's entire - value into the sliver's targets. Passing - ``allow_partial_coverage=True`` is the explicit acknowledgment, for - callers who have restricted the data to match the artifact's actual - coverage. Artifacts without accounting (None) pass: hand-built - artifacts own their frames, and generated polygon artifacts always - carry the record, count zero included. - """ + """Raises if the artifact records partially covered source units and + ``allow_partial_coverage`` is false. An artifact with no record + passes. A caller sets ``allow_partial_coverage`` after restricting + the data to what the artifact covers.""" + # A source unit only partly intersected by the targets, a border + # neighbor in a run over a subset of targets, has weights that sum to + # 1 over a sliver of the real unit. Sum-to-one cannot flag it, and an + # extensive application would put the unit's whole value into the + # sliver's targets. pc = artifact.partial_coverage if pc is None or pc.get("count", 0) == 0 or allow_partial_coverage: return @@ -738,15 +843,17 @@ def _group_codes( codes: np.ndarray | None = None, card: int = 1, ) -> tuple[np.ndarray, int]: - """One int64 code per row, equal exactly when the rows agree on ``cols``. + """One int64 code per row, equal exactly when the rows agree on + ``cols``, and the bound ``card`` with every code in ``[0, card)``. Missing values are all equal to each other, as in - `DataFrame.duplicated`. Each column is factorized once and the codes - are combined arithmetically, so codes lie in ``[0, card)``; they are - compressed by factorizing only when the combined range would outgrow - `_dense_ok`, which also keeps the product far from int64 overflow. - Passing ``codes``/``card`` extends an existing code with more columns. + `DataFrame.duplicated`. Passing ``codes`` and ``card`` extends an + existing code with more columns. """ + # Each column is factorized once and the codes are combined + # arithmetically. They are compressed by factorizing only when the + # combined range would outgrow `_dense_ok`, which also keeps the + # product far from int64 overflow. n = len(frame) for col in cols: c, uniques = pd.factorize(frame[col]) @@ -789,42 +896,13 @@ def _first_rows(codes: np.ndarray, card: int) -> np.ndarray: def _rows_in(frame: pd.DataFrame, keys: list[str], ids: set[tuple]) -> np.ndarray: - """Boolean mask of the rows whose ``keys`` tuple is in ``ids``. - - Same result as ``frame[keys].apply(tuple, axis=1).isin(ids)`` without - building one Python tuple per row, which at 100M rows cost minutes - and about 16 GiB. - """ + """Boolean mask of the rows whose ``keys`` tuple is in ``ids``, the + same as ``frame[keys].apply(tuple, axis=1).isin(ids)``.""" + # This builds no Python tuple per row. Building one per row cost + # minutes and about 16 GiB at 100M rows. return pd.MultiIndex.from_frame(frame[keys]).isin(ids) -def _aggregate_extensive( - merged: pd.DataFrame, out_keys: list[str], wcol: str, value_col: str -) -> pd.DataFrame: - contrib = merged[wcol] * merged[value_col] - out = ( - merged.assign(_contrib=contrib) - .groupby(out_keys, sort=False)["_contrib"] - .sum() - .reset_index() - .rename(columns={"_contrib": value_col}) - ) - return out - - -def _aggregate_intensive( - merged: pd.DataFrame, out_keys: list[str], wcol: str, value_col: str -) -> pd.DataFrame: - has_value = merged[value_col].notna() - frame = merged.assign( - _wx=merged[wcol] * merged[value_col], - _w=merged[wcol].where(has_value, 0.0), - ) - sums = frame.groupby(out_keys, sort=False)[["_wx", "_w"]].sum().reset_index() - sums[value_col] = sums["_wx"] / sums["_w"].where(sums["_w"] != 0.0) - return sums.drop(columns=["_wx", "_w"]) - - def _run_mass_balance( source_data: pd.DataFrame, target: pd.DataFrame, diff --git a/cil_regionalization/backends/base.py b/cil_regionalization/backends/base.py index f912b4a..5ae75bc 100644 --- a/cil_regionalization/backends/base.py +++ b/cil_regionalization/backends/base.py @@ -1,10 +1,8 @@ -"""Backend ABC and result type. +"""The abstract weights backend and the result every backend returns. -Both backends are constructed from a `Config`, then asked to `compute()` -against a `RegionSet` and a `GridSpec`. Both return a `WeightsResult` whose -`frame` follows the canonical `OutputSchema`. Anything the BigQuery and -local backends disagree on (boundary fractions, geodesic vs spherical -predicates) is documented at the call site, not hidden in a switch. +A backend's `compute()` takes the regions, the grid, the weights and the +`Config`, and returns a `WeightsResult` whose `frame` follows the +canonical `OutputSchema`. """ from __future__ import annotations @@ -25,7 +23,8 @@ @dataclass class WeightsResult: - """Combined output: frame + schema + manifest + validation report.""" + """A backend's output, the weights frame with its schema, its manifest + and its sum-to-one report.""" frame: pd.DataFrame schema: OutputSchema @@ -42,5 +41,6 @@ def compute( weights: list[WeightSpec], cfg: Config, ) -> WeightsResult: - """``grid`` is None in polygon mode (``[source]`` declared).""" + """The weights of ``regions`` as a `WeightsResult`. ``grid`` is None in + polygon mode, when the config declares ``[source]``.""" ... diff --git a/cil_regionalization/backends/bigquery.py b/cil_regionalization/backends/bigquery.py index 3d9629c..cc38a78 100644 --- a/cil_regionalization/backends/bigquery.py +++ b/cil_regionalization/backends/bigquery.py @@ -1,68 +1,36 @@ -"""BigQuery backend: cross-region geometry stage + combined SQL + dry-run gate. - -Edge-semantics asymmetry the SQL has to compensate for -------------------------------------------------------- -The local backend's cells are planar lat/lon rectangles; their -horizontal edges are constant-latitude lines (parallels), which is how -the netCDF grid is defined. BigQuery GEOGRAPHY interprets the edge -between two vertices as a geodesic, so a cell's constant-latitude edge -bows poleward off the parallel for any segment longer than a fraction -of a degree at mid-latitudes. A region whose boundary crosses a -parallel ends up with a sliver of area on the wrong side in BQ vs the -local backend; the gap is ~3e-3 in cross-backend areawt at 1deg/0.1deg -mid-latitude resolution. - -The fix is in the BQ backend, not the tolerance: the grid is -parallel-bounded by definition, so BQ is the one slightly -misrepresenting the cell. `_build_main_sql` densifies the -constant-latitude edges with intermediate vertices spaced -`backend.bigquery.densify_step` apart (default 0.1deg). Chord-vs-parallel -error scales with the square of segment length, so 0.1deg pulls the -residual to ~1e-5 or better. Meridian edges are geodesics in both -backends and need no densification. - -Residuals after the fix are dominated by: -- spheroid (BQ ST_AREA) vs ellipsoid (pyproj.Geod); ~1e-5 relative, -- region-boundary edges (planar shapely intersection vs spherical BQ - ST_INTERSECTION); ~1e-5 typical, larger when the boundary itself - is a long geodesic. - -The hard constraint -------------------- -The clustered IR geometries on ``compute-impactlab`` live in ``us-west1``; -the GPW population table lives in ``US``. BigQuery cannot join across -locations, so we cannot point a single SELECT at both tables. The pipeline -follows what the legacy scripts did for the same reason: - -1. **Resolve and assert locations.** Inspect the dataset location of the - IR table, every weight table, and the configured temp dataset. The - temp dataset and every weight table must share a location; otherwise - stop and report the mismatch with both dataset ids and their - locations. Create no datasets. -2. **Fetch geometries client-side** from the IR dataset's location, with - the hierid filter applied. Tiny under test mode. -3. **Stage the geometries to GCS** as JSONL and **load_job them into - the temp dataset** in the weights' location. Table name includes a - sha256 content hash of the geometry set so identical-input re-runs - skip the upload. Expiration is set as a backstop; the finally block - deletes the table unless ``cache_temp_tables`` is on. -3. **Run the combined query** with ``location`` resolved at runtime, - joining the temp geometries table against the weight tables with the - locked FLOOR cell-binning formula. Dry-run gated against - ``backend.bigquery.dry_run_byte_ceiling`` (10 GB default). -4. **Apply fallback Python-side** with the same Stage 1 functions the - local backend uses, on the downloaded frame. - -Cost note ---------- -``ST_CONTAINS(region, ST_GEOGPOINT(lon, lat))`` against the GPW points -table scans the whole table no matter how few hierids the temp dataset -holds; BQ cannot skip rows by spatial predicate at this scale without -a geo-clustered source. The 10 GB ceiling is sized to admit one full -GPW scan (~5.84 GB measured 2026-06-10); a tiny-hierid run will still -report ~6 GB estimated. That is expected, not a bug. +"""The BigQuery backend, which computes grid weights in one BigQuery +query and applies the fallback in Python to the downloaded rows. + +BigQuery cannot join tables in different locations, and the regions table +may sit apart from the weight tables. The backend reads the requested +geometries in the regions table's location, or from a regions file, and +loads them as WKT through a Parquet file on GCS into a temp table in the +temp dataset. The temp dataset and every weight table must share a +location. Raises, naming them and their locations, if they do not. No +dataset is ever created. The temp table's name carries a hash of the +geometries, so a run with the same geometries reuses a cached table. The +table gets an expiry and is deleted after the run unless +``backend.bigquery.cache_temp_tables`` is set. + +The combined query is dry-run first. Raises if the estimate exceeds +``backend.bigquery.dry_run_byte_ceiling``. The query's point-in-polygon +join scans the whole weight table however few regions are requested, so +a small run still estimates about a full scan. + +BigQuery takes a polygon edge as a geodesic, so the top and bottom edges +of a cell would bow off their parallels. The query adds vertices along +them at most ``backend.bigquery.densify_step`` degrees apart. What area +difference remains against the local backend comes from BigQuery's earth +model, which is not the WGS84 ellipsoid, and from region edges that are +spherical in BigQuery and planar in the local backend. """ +# The densification lives in this backend, not in the comparison +# tolerance, because the grid is bounded by parallels by definition and +# BigQuery is the one drawing the cell wrong. The gap between a chord and +# its parallel grows with the square of the chord's length, so short steps +# close it. + from __future__ import annotations import hashlib @@ -109,7 +77,9 @@ class BigQueryBackend(WeightsBackend): - """Cross-region BigQuery backend; Stage 1 fallback on the downloaded frame.""" + """The backend that computes grid weights in BigQuery and applies the + fallback in Python to the downloaded rows. Raises on construction if + the ``bigquery`` extra is not installed.""" def __init__(self) -> None: try: @@ -243,27 +213,23 @@ def dry_run( weights: list[WeightSpec], cfg: Config, ) -> dict: - """Estimate the combined query's scan cost without executing it. - - Performs every step a real `compute()` would, *except* the final - download: - - 1. resolve locations, - 2. fetch hierid-filtered geometries from IR, - 3. upload them to the temp dataset (so the dry-run is realistic), - 4. dry-run the combined query. - - Returns a dict with at least ``bytes_estimate``, ``compute_location``, - ``temp_table``, ``cache_hit``. The temp table is left in place and - cleaned up only if `cfg.backend.bigquery.cache_temp_tables` is False; - in that case the caller can re-invoke compute() with the same cfg - which will detect the cache miss and re-upload, OR set - ``cache_temp_tables = True`` to keep the table for the real run. - - Public method so example runners and notebooks can implement the - "print estimate, confirm interactively, then run" pattern without - reaching into backend internals. + """The combined query's scan estimate, found without running it. + + It validates the inputs, resolves the locations, pre-checks the ids, + fetches the geometries and uploads the temp table as `compute` does, + then dry-runs the query. The temp table is deleted afterwards unless + ``backend.bigquery.cache_temp_tables`` is set. The estimate is not + compared with the byte ceiling, and a second non-area weight is not + refused, though the query covers only the first. Raises as + `compute` does on invalid inputs, mismatched locations and failed + pre-checks. + + Returns a dict with ``bytes_estimate``, ``compute_location``, + ``ir_location``, ``temp_table``, ``cache_hit``, ``n_regions``, + ``null_skipped`` and ``unknown_skipped``. """ + # Public so runners and notebooks can print the estimate and ask + # before the real run, without reaching into backend internals. self._validate_inputs(regions, grid, weights, cfg) non_area = [w for w in weights if not w.is_area] client = self._bq.Client(project=cfg.backend.bigquery.project) @@ -375,28 +341,21 @@ def _handle_pre_check( location: str, cfg: Config, ) -> tuple[list[str], list[str]]: - """Pre-check the requested set against the regions table. - - Returns ``(null_skipped, unknown_skipped)``. - - Two failure modes share one query: - - - **NULL geometry**; the id IS in the table but its geometry - column is NULL (the s51 IR table inherits 17 from the legacy - pipeline's ``SAFE.ST_GEOGFROMTEXT``). - - **Unknown id**; the id is in `regions.keep` but does not - appear in the table at all. Hardcoded ids like ``AND`` and - ``BMU`` survived migration to the clustered world-combo IR - where small territories are merged into agglomerations; - earlier runs silently dropped them because nothing checked - membership. - - Policy applied per failure mode independently. Either - ``error`` raises; ``skip`` returns the list for the caller to - exclude AND record in the manifest. Both lists fully accounted - for in the runner's coverage check - ``output + null_skipped + unknown_skipped == requested``. + """The requested ids whose geometry is NULL and those missing from + the regions table, as ``(null_skipped, unknown_skipped)``, each + sorted. + + With no keep filter on the primary id there are no unknown ids, and + every NULL geometry in the table counts. A regions file is checked + in memory, where an empty geometry counts as NULL. Raises on + unknown ids under ``regions.on_unknown_id = "error"`` and on NULL + geometries under ``regions.on_null_geometry = "error"``. Under + ``"skip"`` the caller leaves the returned ids out and records them + in the manifest. """ + # Unknown ids are checked because ids such as AND and BMU were + # merged into agglomerations in the clustered world-combo table, + # and earlier runs dropped them without a word. primary_id = regions.id_fields[0] if regions.gdf is not None: # Shapefile / GeoParquet source. Pre-check runs against the @@ -482,13 +441,12 @@ def _resolve_locations( non_area_weights: list[WeightSpec], cfg: Config, ) -> tuple[str | None, str]: - """Return ``(ir_location, compute_location)``. - - compute_location is shared by the temp dataset and every weight - table. A mismatch raises with both dataset ids and locations and - no workaround. When `regions.table` is unset (shapefile source for - the supplement run), `ir_location` returns None; there is no IR - dataset to read. + """The regions table's location and the compute location, as + ``(ir_location, compute_location)``. The compute location is the + temp dataset's, and every weight table must share it. Raises, + naming the temp dataset, each mismatched weight table and their + locations, if one does not. ``ir_location`` is None when the + regions come from a file. """ bq_cfg = cfg.backend.bigquery if regions.table is not None: @@ -534,11 +492,10 @@ def _pre_check_from_gdf( hierids: list[str] | None, primary_id: str, ) -> tuple[list[str], list[str]]: - """Detect NULL geometries and unknown ids from the in-memory gdf. - - Mirrors the SQL pre-check semantics. Used by the supplement - run when ``regions.path`` (shapefile / geoparquet) is the - source instead of an IR BigQuery table. + """The requested ids with a missing or empty geometry and those + absent from the regions file, as ``(null_ids, unknown_ids)``, each + sorted, with the meaning of the SQL pre-check. With no ``hierids`` + there are no unknown ids and every missing or empty geometry counts. """ assert regions.gdf is not None # narrowed by caller gdf = regions.gdf @@ -572,12 +529,10 @@ def _fetch_geometries( location: str, cfg: Config, ) -> pd.DataFrame: - """Fetch (id_fields[0], geometry as WKT) from the IR table. - - Runs in the IR dataset's location (single-dataset query, no cross- - region join). ``ST_ASTEXT`` emits WKT strings; that's exactly the - format the JSONL load job needs to round-trip GEOGRAPHY into the - temp dataset. + """The primary id and the WKT geometry of each region in + ``hierids``, or of every region when it is None, leaving out NULL + geometries. The query runs in the regions table's location. Regions + from a file are taken from memory instead. """ primary_id = regions.id_fields[0] if regions.gdf is not None: @@ -602,13 +557,12 @@ def _fetch_geometries_from_gdf( hierids: list[str] | None, primary_id: str, ) -> pd.DataFrame: - """Convert the in-memory gdf to the WKT-string shape the temp - upload expects. Filtered to ``hierids`` and to non-NULL/non-empty - geometries; geometries are NOT repaired here; repair already - happened in `RegionSet.from_config` under the configured - ``on_invalid_geometry`` policy, and the resulting per-hierid log - is surfaced via ``regions.repaired_ids`` so the manifest can - record it. + """The regions file's primary id, as a string, and WKT geometry of + each region in ``hierids``, or of every region when it is None, + leaving out missing and empty geometries. Geometries are not + repaired here. `RegionSet.from_config` has already repaired them + under ``on_invalid_geometry`` and listed them in + ``regions.repaired_ids``. """ assert regions.gdf is not None gdf = regions.gdf @@ -664,21 +618,16 @@ def _upload_temp_table( cfg: Config, location: str, ) -> None: - """Stage geometries to GCS as **Parquet**, load_job into temp. - - JSONL staging with multi-MB WKT rows (CAN.5 in the supplement - set is ~20 MB after `make_valid`) triggered deterministic BQ 500 - ``internalError`` on the load job. Parquet handles large string - values without per-line JSON escaping; BigQuery loads it - natively and coerces the ``geometry`` STRING column into - GEOGRAPHY via the schema-declared target type. - - Geometries are NEVER simplified; the BQ run consumes the - full make_valid output. The retry loop covers transient - service-side flakiness, with logs naming the BigQuery job_id - on every failure so a persistent issue can be escalated to - support with a concrete reference. + """Load ``geom_df`` into the temp table ``table_id`` through a + Parquet file staged under ``backend.bigquery.staging_uri``, keeping + the geometry as a WKT string for the query to parse. Geometries are + not simplified. The staged file is removed afterwards, and the table + expires after ``backend.bigquery.temp_table_expiration_hours``. + Transient load errors are retried. Raises if any geometry is NULL. """ + # Parquet, not JSONL. JSONL staging of multi-megabyte WKT rows made + # the load job fail with a BigQuery 500 internalError every time, + # and Parquet carries large strings without per-line escaping. bq_cfg = cfg.backend.bigquery import gcsfs import pyarrow as pa @@ -769,15 +718,14 @@ def _run_load_with_retry( job_config, location: str, ) -> None: - """Submit a load job with bounded retry-with-backoff. - - Retries on transient service errors only (InternalServerError, - ServiceUnavailable, DeadlineExceeded). Schema mismatches and - other deterministic failures re-raise immediately. On every - retryable failure the BigQuery job_id is logged so a persistent - service-side issue can be escalated to support with a concrete - reference. + """Run the load job, retrying with exponential backoff on + InternalServerError, ServiceUnavailable and DeadlineExceeded, up to + ``_LOAD_MAX_ATTEMPTS`` attempts in all. Any other error is raised at + once. Each failure is logged with its BigQuery job id, and the last + transient error is raised when every attempt fails. """ + # The job id is logged so a persistent service-side failure can be + # taken to support with a concrete reference. try: from google.api_core.exceptions import ( DeadlineExceeded, @@ -872,33 +820,22 @@ def _build_main_sql( weights: list[WeightSpec], cfg: Config, ) -> str: - """Cell binning + area + points join. - - Antimeridian handling (the load-bearing piece): - - BQ's ``ST_BOUNDINGBOX`` on a dateline-crossing GEOGRAPHY returns - an unwrapped longitude range, so a naive ``GENERATE_ARRAY`` over - FLOORed lon-indices produces ``ix`` values outside ``[0, n_ix)`` - (e.g. ix=360, 464). Two problems: - - (a) the same physical cell appears twice for ATA-style polar - regions (ix=0 AND ix=360 both produce a non-zero - intersection), - (b) for FJI / USA.2.69-style mid-latitude crossers, the - points CTE bins raw GPW longitudes in ``[-180, 180]`` to - wrapped indices, so the area-cell side at ix=360 never - joins with the points side at ix=0 and the eastern - hemisphere's population silently disappears. - - Fix: wrap ``ix`` modulo ``n_ix`` at generation; cap the - ``GENERATE_ARRAY`` upper bound at ``ix_lo + n_ix - 1`` so we - never emit more than one full belt; ``GROUP BY (wrapped_ix, - cell_iy)`` and aggregate area_raw with ``MAX`` to dedupe the - rare wrap-collision (the same physical cell has the same - intersection area whether reached via ix=0 or ix=360, so MAX - is correct and not a double-count); apply the same wrap to the - points CTE so both sides share one key space. + """The combined query, which returns each region's cells with + ``cell_lon``, ``cell_lat``, the intersection area ``area_raw`` and + the weight's raw sum, one row per cell of positive area. Only the + first non-area weight is included. + + ``ST_BOUNDINGBOX`` gives a dateline-crossing region an unwrapped + longitude range, so cell indices past ``n_ix`` come out of it. The + query wraps every ix modulo ``n_ix`` on both the cell side and the + points side, and covers at most one full belt of longitudes per + region. A cell reached twice through the wrap is counted once, + keeping its largest intersection area. """ + # Without the wrap a polar region such as ATA would get the same + # cell twice, at ix 0 and ix 360, and a mid-latitude crosser such + # as FJI would lose population, because its cells at ix 360 never + # join the points, binned from [-180, 180] longitudes, at ix 0. import math non_area = [w for w in weights if not w.is_area] @@ -1066,13 +1003,13 @@ def _dry_run_bytes(self, client, sql: str, location: str) -> int: return int(job.total_bytes_processed or 0) def _to_dataframe(self, job, cfg: Config) -> pd.DataFrame: - """Download a query result to pandas, respecting use_bqstorage. - - Routing every download through one place keeps the - BigQuery-Storage opt-in honest. Default False: an install with - the `bigquery-storage` package present is inert, not a 403 trap - for accounts without `bigquery.readsessions.create`. + """The query result as a pandas frame, downloaded through the + BigQuery Storage API only when ``backend.bigquery.use_bqstorage`` + is set. """ + # Every download goes through here so the Storage API stays opt-in. + # Having the package installed must not turn it on, since accounts + # without bigquery.readsessions.create get a 403 from it. return job.to_dataframe( create_bqstorage_client=cfg.backend.bigquery.use_bqstorage ) diff --git a/cil_regionalization/backends/local.py b/cil_regionalization/backends/local.py index 8b4d6c0..b9fe9a4 100644 --- a/cil_regionalization/backends/local.py +++ b/cil_regionalization/backends/local.py @@ -1,87 +1,47 @@ -"""Local backend: per-region segment building + zonal stats + fallback. - -For each region: - - 1. Walk only the grid cells whose bbox overlaps the region's bbox - (`grid.index_range_for_bbox`, no global enumeration). - 2. Use shapely 2 vectorized predicates to split those cells into - interior (region fully contains the cell) and boundary (region only - partially overlaps). Interior segments equal the cell; boundary - segments are `region.intersection(cell)`. This split avoids - computing intersections for cells that don't need them, which is - what `refs/intersect_zonalstats_par.py` does too. - 3. Compute geodesic area on every segment via `pyproj.Geod` (WGS84). - Raw lon/lat degree areas are NOT used; that was a known bug in - the legacy script. - -Per non-area weight: - - 4. With `backend.coverage = "exact_fraction"`, use exactextract to - sum pixel values weighted by the fraction of each pixel inside - the segment. With `coverage = "pixel_centroid"`, the legacy - semantics, sum only pixels whose center is inside the segment. - 5. Hand the resulting raw frame to `apply_fallback` with the - per-weight policy. The same fallback logic the BigQuery backend - uses (Stage 3) is run here so the cross-backend output is - comparable up to the exact-vs-centroid boundary difference. - -Per area weight: - - 6. Run `compute_native_weights` on the geodesic-area column. - -The result is the canonical `OutputSchema` frame plus a manifest with -fallback counts per weight and row counts per region. - -Polygon mode ------------- -Declaring ``[source]`` instead of ``[grid]`` swaps the source side: the -candidate enumeration comes from a spatial index over a second polygon -layer instead of grid bbox arithmetic, and segments are -region-by-source-polygon intersections. Everything downstream is the -same machinery: geodesic areas, exactextract or centroid zonal sums per -segment for every declared raster weight, fallback, normalization in the -configured direction, and validation (`check_polygon_invariants` plus -sum-to-1 in place of the grid invariants). - -Two deliberate choices, stated here because they differ from the -reference IR-to-ADM implementation this mode replaces: - -- Areas are geodesic on the WGS84 ellipsoid (`pyproj.Geod`), exactly as - in grid mode. The reference implementation reprojected to Mollweide - and used planar areas; a projected equal-area CRS is a compromise the - geodesic computation does not need, and using one engine for both - modes keeps cross-mode results comparable. -- There is no antimeridian split in polygon mode. The grid split exists - because cell index arithmetic must not wrap; polygon-to-polygon - intersection involves no index arithmetic, and two layers in the - canonical [-180, 180] representation (dateline crossers stored as - multipolygons touching both sides, as world-combo does) intersect - correctly as they are. What polygon mode does require is that both - layers actually use that representation, so geometries with - coordinates outside the lon/lat domain are rejected up front. - -One underlying fact, three symptoms ------------------------------------ -Impact-region boundaries were built from administrative geometry, so in -real data the source and target boundaries run along each other for -thousands of kilometers, and every coincidence produces floating point -residue in the intersection. That single fact shows up three ways: - -- shared borders appear in segments as LineString parts, making them - GeometryCollections (handled by `_as_multipolygons`), -- nested source units acquire near-zero-weight sliver pieces in - neighboring targets, inflating raw straddler counts far above the - material count, -- some slivers are degenerate enough (sub-square-millimeter multi-part - residue) to crash exactextract's traversal (handled by - `_apply_min_segment_area`). - -These are one phenomenon with one rationale, not three unrelated -workarounds: geometry below physical measurement meaning is boundary -noise, dropped where found, with every drop accounted for in the -manifest. +"""The local backend, which cuts regions against grid cells or source +polygons in this process and sums rasters over the pieces. + +In grid mode a region that touches both -180 and 180 is first split at +lon 0. Each region is then cut against the grid cells its bbox covers. A +cell inside the region is kept whole, and a cell on its boundary is +replaced by its intersection with the region. Each piece, a segment, gets +its geodesic area on the WGS84 ellipsoid. Under +``backend.coverage = "exact_fraction"`` a raster weight sums each pixel +times the fraction of it inside the segment, and under +``"pixel_centroid"`` it sums the pixels whose centre lies inside. The area weight normalizes the segment areas, +and every other weight goes through `apply_fallback` with its policy, as +in the BigQuery backend. A region with no positive-area cell gets one +synthesized row. The result is the `OutputSchema` frame and a manifest +with each weight's fallback counts and the run's row counts. + +Polygon mode, chosen by declaring ``[source]`` in place of ``[grid]``, +cuts each region against the source polygons a spatial index finds for +it, and normalizes in the configured direction. It does not split at the +antimeridian, so both layers must use the [-180, 180] longitude form, +with dateline crossers stored as multipolygons touching both sides. A +geometry past the lon/lat domain by more than a small tolerance raises. + +In both modes a segment's line and point parts are dropped, and segments +below ``backend.local.min_segment_area_m2`` are dropped and recorded in +the manifest. """ +# Polygon mode differs on purpose from the reference IR-to-ADM +# implementation it replaces. Areas are geodesic on WGS84 as in grid mode, +# where the reference used planar Mollweide areas, so the two modes stay +# comparable. There is no antimeridian split, since that split exists only +# because cell index arithmetic must not wrap, and polygons in the +# canonical [-180, 180] form intersect correctly as they are. +# +# Region boundaries were built from administrative geometry, so source and +# target boundaries run along each other for long distances and every +# coincidence leaves floating point residue. It shows up as line parts that +# make segments GeometryCollections (`_as_multipolygons`), as near-zero +# slivers of nested source units in neighbouring targets, and as residue +# degenerate enough to crash exactextract (`_apply_min_segment_area`). +# Geometry below any physical meaning is boundary noise, dropped where +# found, with every drop recorded in the manifest. + from __future__ import annotations import time @@ -271,7 +231,14 @@ def _compute_polygons( weights: list[WeightSpec], cfg: Config, ) -> WeightsResult: - """Polygon mode: source units come from ``[source]``, not a grid.""" + """The weights in polygon mode, with the source units read from the + ``[source]`` layer in place of a grid. A source unit whose covered + share of its own area is below ``source.coverage_threshold`` is + listed in the manifest's ``partial_coverage``. Raises if the region and + source id fields share a column, if a geometry lies outside the + lon/lat domain, if a source unit overlaps no region under + ``source.on_zero_overlap = "error"``, or if the polygon invariants + fail.""" t0 = time.perf_counter() src_cfg = cfg.source assert src_cfg is not None @@ -480,26 +447,14 @@ def _compute_polygons( def _split_at_antimeridian( geom: "shapely.Geometry", ) -> list["shapely.Geometry"]: - """Split a geometry at lon=0 when it actually crosses the antimeridian. - - The grid lives in `[-180, 180)` and never wraps. A polygon in canonical - [-180, 180) representation that crosses the dateline has vertices very - close to BOTH the western (-180) and eastern (+180) boundaries; the - canonical representation forces the eastern half to wrap back as - near-(-180) coordinates and the western half stays near (+180). - - The criterion here is therefore "bbox touches both +/-180 within - `_ANTIMERIDIAN_TOUCH_EPS`", NOT merely "bbox wider than 180deg". - A genuinely wide non-crossing region (geometrically impossible in - canonical coords, but a defensive guard against malformed inputs) - will not be split. A pole-surrounding region (Antarctica) does touch - both boundaries and is split too; the two halves remain disjoint in - cells, so the result stays correct. - - Splitting at lon=0 leaves each piece in one hemisphere; both halves - fit within [-180, 180) and round-trip correctly through the planar - intersection logic that follows. `check_grid_invariants` catches any - regression that would produce overlapping cells. + """The geometry's western and eastern parts, cut at lon 0, when its + bbox comes within ``_ANTIMERIDIAN_TOUCH_EPS`` degrees of both -180 and + 180, or the geometry alone otherwise. + + A dateline crosser in the [-180, 180) form touches both edges. A + geometry whose bbox is wider than 180 degrees without touching both is + left whole. A region around a pole, such as Antarctica, is split too. The two parts + cover disjoint cells, so their segments never share a cell. """ minx, miny, maxx, maxy = geom.bounds touches_west = minx < -180.0 + _ANTIMERIDIAN_TOUCH_EPS @@ -521,19 +476,15 @@ def _build_segments( grid: GridSpec, client: object | None = None, ) -> gpd.GeoDataFrame: - """Per-region interior/boundary split, vectorised over candidate cells. - - Dateline-crossing regions (bbox spans >180deg lon) are split at - lon=0 before cell enumeration; each half stays within the grid's - [-180, 180) domain. Segments from both halves accumulate under the - same region id; `check_grid_invariants` would catch any duplicate - (region, cell_ix, cell_iy) keys, which there shouldn't be since - the two halves cover disjoint ix ranges. - - When ``client`` is a Dask distributed Client, regions are partitioned - into roughly equal chunks (one per worker, plus some headroom for - load balancing) and dispatched concurrently. The serial branch is - a bitwise-identical no-op for the no-client case. + """The segments of every region on ``grid``, as a GeoDataFrame in + EPSG:4326 with the id fields, the cell columns, ``is_interior``, the + geometry and its geodesic ``area_raw`` in square metres. Only segments + with positive area are kept. + + A region whose bbox comes within a degree of both -180 and 180 is + split at lon 0 first, and both parts add segments under its id. With a + Dask ``client`` the regions are dealt round-robin into several chunks + per worker and built on the workers. """ id_fields = list(regions.id_fields) pairs = [(ids, geom) for ids, geom in regions.iter_regions()] @@ -580,7 +531,9 @@ def _build_segments( def _chunk_pairs( pairs: list[tuple[dict, object]], n_chunks: int ) -> list[list[tuple[dict, object]]]: - """Round-robin partition. Avoids putting all big polygons in one chunk.""" + """``pairs`` dealt round-robin into at most ``n_chunks`` lists, with + empty lists left out.""" + # round-robin, so the big polygons do not all land in one chunk chunks: list[list] = [[] for _ in range(n_chunks)] for i, pair in enumerate(pairs): chunks[i % n_chunks].append(pair) @@ -592,11 +545,10 @@ def _build_segments_for_pairs( id_fields: list[str], grid: GridSpec, ) -> list[pd.DataFrame]: - """Pure: run the per-region segment build over a list of (ids, geom). - - Returns a list of per-region DataFrames; concatenation is the caller's - job. Pulled out of ``_build_segments`` so a Dask worker can be handed - a chunk and produce its share independently. + """The segment frames of a list of (ids, geometry) pairs, one for each + region part with a positive-area segment, for the caller to + concatenate. It has no side effects, so a Dask worker can run it on + one chunk. """ pieces: list[pd.DataFrame] = [] for ids, region_geom in pairs: @@ -667,14 +619,15 @@ def _apply_min_segment_area( group_fields: list[str], min_area_m2: float, ) -> tuple[gpd.GeoDataFrame, dict]: - """Drop segments below the area threshold; account for every drop. - - ``group_fields`` names the units the discarded-share accounting is - computed per: the source unit ids in polygon mode, the region ids in - grid mode. The returned stats carry the drop count, the largest - share of any unit's intersected area that was discarded, and any - unit that lost every piece (expected never; loudly visible if a - threshold change ever makes it happen). + """The segments whose ``area_raw`` is at least ``min_area_m2`` square + metres, and a stats dict for the manifest. A threshold of zero or less + keeps every segment. + + The stats hold the threshold, the number of segments dropped, the + largest share of any unit's intersected area that was dropped, and the + units that lost every segment, which should never happen. + ``group_fields`` names the units, the source ids in polygon mode and + the region ids in grid mode. """ stats: dict = { "threshold_m2": min_area_m2, @@ -716,20 +669,14 @@ def _apply_min_segment_area( def _as_multipolygons(geoms: np.ndarray) -> np.ndarray: - """Normalize segment geometries to MultiPolygon for zonal operations. - - Where a source boundary runs exactly along a region boundary, which - real admin-derived layers do constantly, the intersection contains - the shared border as LineString (and occasionally Point) parts next - to the polygon parts, making the segment a GeometryCollection. - exactextract requires a homogeneous geometry column, so every - segment is promoted to MultiPolygon and non-polygonal parts are - discarded. Discarding them is safe for the same reason the - zero-area segment drop is: lines and points carry zero geodesic - area and cover zero raster pixels, so no computed quantity changes. - Segments reach this helper only after the positive-area filter, so - every one of them has at least one polygonal part. + """Each segment as a MultiPolygon, with the line and point parts of a + GeometryCollection dropped. Raises if a segment has no polygonal part, + which cannot happen to a segment of positive area. """ + # A source boundary running along a region boundary leaves the shared + # border in the intersection as line or point parts next to the polygon + # parts. exactextract needs a single geometry type, and those parts have + # no area and cover no pixel, so dropping them changes nothing computed. out = np.empty(len(geoms), dtype=object) for i, g in enumerate(geoms): if isinstance(g, shapely.MultiPolygon): @@ -767,18 +714,13 @@ def _as_multipolygons(geoms: np.ndarray) -> np.ndarray: def _check_lonlat_domain( gdf: gpd.GeoDataFrame, id_fields: list[str], label: str ) -> list[dict]: - """Reject geometries with coordinates outside the lon/lat domain. - - Polygon mode has no antimeridian split, so its correctness rests on - both layers using the canonical [-180, 180] representation. A - geometry stored with extended longitudes (lon > 180, the style the - grid path splits and repairs) would silently intersect with nothing; - better to name it and stop. - - Returns the units that are within tolerance but past the exact - domain edge, each with its overshoot in degrees, so the caller can - record the admitted noise in the manifest. + """The units of ``gdf`` past the lon [-180, 180] or lat [-90, 90] edge + by no more than ``_LONLAT_DOMAIN_EPS``, each as its ids and its + ``overshoot_degrees``, for the manifest. Raises, naming the units, if + any geometry is past an edge by more. """ + # Polygon mode has no antimeridian split, so a geometry stored with + # longitudes past 180 would intersect nothing and no error would say so. bounds = gdf.geometry.bounds overshoot = ( pd.concat( @@ -816,14 +758,17 @@ def _build_segments_polygons( source_set: RegionSet, client: object | None = None, ) -> gpd.GeoDataFrame: - """Per-region source-polygon intersection via a spatial index. - - The polygon counterpart of `_build_segments`: candidates come from an - STRtree query over the source layer instead of grid bbox arithmetic. - Sources fully contained in a region keep their own geometry; boundary - candidates get the explicit intersection. Zero-area touches drop, as - in grid mode. When a Dask client is given, regions are chunked - round-robin exactly as in grid mode; each chunk builds its own index. + """The segments of every region against the source layer, as a + GeoDataFrame in EPSG:4326 with the region and source id fields, + ``is_interior``, the geometry and its geodesic ``area_raw`` in square + metres. + + The candidates for a region come from a spatial index query on the + source layer. A source polygon inside the region keeps its own + geometry, any other candidate is replaced by its intersection with the + region, and only pieces with positive area are kept. With a Dask + ``client`` the regions are dealt round-robin into chunks as in grid + mode, and each chunk builds its own index. """ id_fields = list(regions.id_fields) source_id_fields = list(source_set.id_fields) @@ -868,10 +813,10 @@ def _build_polygon_segments_for_pairs( src_gdf: gpd.GeoDataFrame, source_id_fields: list[str], ) -> list[pd.DataFrame]: - """Pure: per-region polygon segments for a list of (ids, geom). - - Mirrors `_build_segments_for_pairs` so a Dask worker can process a - chunk independently; the STRtree is built once per invocation. + """The polygon segment frames of a list of (ids, geometry) pairs, one + for each region with a positive-area segment, for the caller to + concatenate. It has no side effects, so a Dask worker can run it on + one chunk. The source layer's spatial index is built once per call. """ sindex = src_gdf.sindex src_geoms = np.asarray(src_gdf.geometry.values, dtype=object) @@ -914,16 +859,14 @@ def _compute_raw_for_weight( *, source_key_columns: tuple[str, ...] | list[str] = ("cell_ix", "cell_iy"), ) -> pd.DataFrame: - """Return per-segment raw totals for one weight under the chosen coverage. - - For ``spec.kind == "point_sum"`` the raster is summed directly. For - ``"area_weighted_sum"`` (crop weight) the raster is treated as - pixel-wise FRACTION and a derived raster - ``fraction * geodesic_pixel_area_m2`` is materialised once per run; - the rest of the path is identical so exact_fraction / pixel_centroid - coverage modes apply unchanged. The zonal machinery is agnostic to - what a segment is: grid cells and polygon source units differ only in - ``source_key_columns``. + """Each segment's raw total of the weight's raster under ``coverage``, + as the id fields, ``source_key_columns`` and a column ``raw``. + + A ``"point_sum"`` weight sums the pixel values. An + ``"area_weighted_sum"`` weight, the crop weight, reads its raster as a + fraction and sums the fraction times each pixel's geodesic area in + square metres. Either coverage mode applies to both. Raises if the + weight has no raster. """ raster_path = spec.require_raster() keys = id_fields + list(source_key_columns) @@ -940,19 +883,16 @@ def _compute_raw_for_weight( def _materialize_area_weighted_raster(fraction_path: str) -> str: - """Write a derived GeoTIFF of ``fraction * pixel_geodesic_area_m2``. - - The source raster's per-row geodesic pixel area is computed once - (one ``pyproj.Geod.geometry_area_perimeter`` call per row; area - is longitude-invariant for a regular lat/lon grid, so each row's - pixels share the same area). The derived raster is cached by - ``(source_path, mtime)`` for the lifetime of the process so a - repeated run within one process re-uses the same file. - - Crop note: the input MUST be a fraction raster (e.g. Ramankutty - cropland2000_area.tif, values in [0, 1]); the ``_ha`` derivative - is already (fraction x area in km^2) and feeding it here would - double-multiply. + """The path of a temporary GeoTIFF holding each pixel's fraction times + its geodesic area in square metres, for the fraction raster at + ``fraction_path``. + + Every pixel in a row gets the area of that row's latitude band, which + holds for a north-up lon/lat raster. Nodata pixels stay nodata. The + file is cached for the life of the process by source path and + modification time. The input must be a fraction raster with values in + [0, 1], such as Ramankutty's cropland2000_area.tif. Its ``_ha`` + derivative already holds area and would be multiplied by it twice. """ src_path = str(Path(fraction_path).resolve()) mtime = Path(src_path).stat().st_mtime @@ -1029,7 +969,9 @@ def _zonal_sum_centroid( segments: gpd.GeoDataFrame, id_cols: list[str], ) -> pd.DataFrame: - """Sum of pixel values whose centroid falls inside each segment (legacy).""" + """Each segment's sum of the pixel values whose centre lies inside it, + skipping nodata, as ``id_cols`` and a column ``raw``, for + ``coverage = "pixel_centroid"``. A segment outside the raster gets 0.""" raws: list[float] = [] with rasterio.open(raster_path) as src: nodata = src.nodata diff --git a/cil_regionalization/bcsd_io.py b/cil_regionalization/bcsd_io.py index 73e727e..1c8cb54 100644 --- a/cil_regionalization/bcsd_io.py +++ b/cil_regionalization/bcsd_io.py @@ -1,36 +1,22 @@ -"""NASA BCSD daily reader and grid-scale derived climate variables. - -The BCSD daily archive holds one grid in two dressings: the baseline -GCM files use longitudes in [0,360) with a ``time`` dimension, the -pattern (surrogate) files use [-180,180) with a ``day`` dimension. -``read_bcsd_daily`` normalizes both to [-180,180) ascending with a -``time`` dimension, deciding by coordinate values rather than by which -tree the file came from, and proves every roll by value identity: the -value at one probe cell after rolling must equal the value at that -cell's pre-roll longitude. A roll that shifted the globe by half fails -the identity immediately rather than corrupting every downstream -number silently. - -Calendars differ across the baseline GCMs: some files are no-leap -(``noleap``, ``365_day``) and some are Gregorian (``gregorian``, -``standard``, ``proleptic_gregorian``) with 366 days in leap years. -When the time dimension carries a CF time coordinate, the reader -decodes it with the file's own calendar and drops Feb 29 by date, -never by position. This is the rule the lab's earlier BCSD transforms -applied. The reader does not check how many days remain unless asked -to (``require_full_year=True``); ``derive_daily`` already requires 365 -downstream. Any other calendar raises; -``360_day`` raises explicitly because no rule has been decided for it. -The pattern files carry an integer day index with no reference date, -so there is nothing to decode and they pass through unchanged. - -``derive_daily`` computes the derived variables per grid cell and -year, before any spatial step: means from (tasmax + tasmin) / 2, -threshold counts from the extreme the threshold belongs to (days -below 32F from tasmin, days above 95F from tasmax), and the number of -days entering each count. Counting after averaging would give a -different and wrong answer, so nothing here accepts aggregated input: -the arrays are (time, lat, lon). +"""Reads NASA BCSD daily files and derives climate variables from them +per grid cell and year. + +The baseline GCM files use longitudes in [0,360) and a ``time`` +dimension, and the pattern (surrogate) files use [-180,180) and a +``day`` dimension. ``read_bcsd_daily`` returns both on longitudes in +[-180,180) ascending, judged from the coordinate values. + +Some baseline GCM files are no-leap (``noleap``, ``365_day``) and some +are Gregorian (``gregorian``, ``standard``, ``proleptic_gregorian``) +with 366 days in leap years. A CF time coordinate is decoded with the +file's own calendar and Feb 29 is dropped by date, never by position. +Any other calendar raises, ``360_day`` included. The pattern files carry +an integer day index with no reference date and pass through undecoded. + +``derive_daily`` takes daily (time, lat, lon) grids, never aggregated +ones. It gives the means of (tasmax + tasmin) / 2, the days below 32F +counted from tasmin and the days above 95F counted from tasmax, and how +many days went into each. """ from __future__ import annotations @@ -63,14 +49,12 @@ def _import_netcdf4(): @dataclass(frozen=True) class DailyGrid: - """One file's worth of daily values on the normalized grid. - - ``values`` is (time, lat, lon) float32 with masked cells as NaN, - ``lat`` and ``lon`` are ascending cell centers with lon in - [-180,180). ``dates`` is the decoded date of each time step as - datetime64[D], Feb 29 already removed, so a caller can group by - month without rebuilding the calendar; None when the file carries - no decodable time coordinate (the pattern files' day index). + """One file's daily values on longitudes in [-180,180). + + ``values`` is (time, lat, lon) float32 with masked cells as NaN, and + ``lat`` and ``lon`` are ascending cell centers. ``dates`` is the date + of each time step as datetime64[D] with Feb 29 removed, or None when + the file has no decodable time coordinate, as in the pattern files. """ values: np.ndarray @@ -79,20 +63,19 @@ class DailyGrid: dates: np.ndarray | None = None def to_cells(self, fields, grid: str = BCSD_GRID): - """Per-cell arrays as the table `apply_weights` takes. - - ``fields`` maps a column name to a (lat, lon) array on this - grid, for example a variable computed from ``values``. The - result has one row per grid cell, with ``cell_ix`` and - ``cell_iy`` on ``grid`` and one column per field. Cells where - any field is NaN are left out; `apply_weights` raises if a - weighted cell is missing, so nothing is dropped silently. - - Every latitude and longitude must be a cell centre on ``grid``, - or this raises. An index computed from the wrong origin, or from - cell edges instead of centres, would otherwise move every value - one cell over with no error. + """Per-cell arrays as the table `apply_weights` takes, one row per + grid cell with ``cell_ix`` and ``cell_iy`` on ``grid`` and one + column per field. + + ``fields`` maps a column name to a (lat, lon) array on this grid, + for example a variable computed from ``values``. Cells where any + field is NaN are left out, and `apply_weights` raises if a + weighted cell is missing. Raises if a field is not (lat, lon) or + if any latitude or longitude is not a cell centre on ``grid``. """ + # An index computed from the wrong origin, or from cell edges + # instead of centres, would otherwise move every value one cell + # over with no error. import pandas as pd from cil_regionalization.grid import GridSpec @@ -144,12 +127,13 @@ def to_cells(self, fields, grid: str = BCSD_GRID): def _decode_dates(ds, time_dim: str, path: str): - """Decoded dates of the time dimension, or None if it has none. + """The calendar name and an object array of the cftime dates of the + time dimension, one per step, or None when it has no coordinate + variable with units of the CF form ' since '. - A time dimension decodes when its coordinate variable has units of - the CF form ' since '. A missing calendar - attribute means 'standard', the CF default. Returns the calendar - name and an object array of cftime dates, one per time step. + A missing calendar attribute means 'standard', the CF default. + Raises if the calendar is '360_day' or any other not in + ``ACCEPTED_CALENDARS``. """ if time_dim not in ds.variables: return None @@ -185,22 +169,24 @@ def read_bcsd_daily( *, require_full_year: bool = False, ) -> DailyGrid: - """Read one BCSD daily file and normalize its conventions. - - Handles both longitude conventions and both time dimension names - by inspecting coordinates, not the path. The longitude roll is - verified by value identity at a probe cell on every call. When the - time dimension has a CF time coordinate it is decoded with the - file's calendar and Feb 29 is dropped by date; see the module - docstring for the calendar rule. - - ``require_full_year`` additionally requires exactly 365 days to - remain after the drop, raising with the file and the count if not, - so a production recipe fails at read time rather than in - ``derive_daily``. It applies to files with a decoded time - coordinate; the default keeps the reader's earlier behaviour of - not checking the count. + """``variable`` of one BCSD daily file as a `DailyGrid` on longitudes + in [-180,180) ascending. + + The longitude convention and the time dimension, ``time`` or + ``day``, are read from the coordinates, not the path. A CF time + coordinate is decoded with the file's calendar and Feb 29 is dropped + by date. ``require_full_year`` also requires exactly 365 days to + remain after the drop, in a file with a decoded time coordinate. + + Raises if the variable does not end in (lat, lon) with exactly one + time dimension, if the calendar is not supported, if the time + coordinate and the variable differ in length, if latitudes are not + ascending, if longitudes repeat after the roll, or if the roll fails + its value check at a probe cell. """ + # Dropping Feb 29 by date is the rule the lab's earlier BCSD + # transforms applied. require_full_year fails a production recipe at + # read time rather than in derive_daily. netCDF4 = _import_netcdf4() with netCDF4.Dataset(path) as ds: dims = ds.variables[variable].dimensions @@ -283,16 +269,17 @@ def read_bcsd_daily( @dataclass(frozen=True) class DerivedYear: - """Per-cell derived variables for one calendar year. - - Every array is (lat, lon). Means are in degrees Celsius, computed - from (tasmax + tasmin) / 2 because the archive carries no daily - tas; counts come from the extreme their threshold is defined on: - ``days_below_32F`` from tasmin, ``days_above_95F`` from tasmax. - ``n_days`` is the number of days entering the counts and the - annual mean (365 in this archive; no leap years). + """Per-cell derived variables for one calendar year, each a (lat, lon) + array. + + The means are in degrees Celsius, of (tasmax + tasmin) / 2. + ``days_below_32F`` is counted from tasmin and ``days_above_95F`` from + tasmax. ``n_days`` is the number of days in the counts and the + annual mean, and ``n_days_jja`` and ``n_days_djf`` the number in each + seasonal mean. """ + # the archive carries no daily tas, so the means are of the midpoint tas_annual: np.ndarray tas_jja: np.ndarray tas_djf: np.ndarray @@ -321,15 +308,18 @@ def derive_daily( tasmin: np.ndarray, december_prev: np.ndarray | None, ) -> DerivedYear: - """Derived variables for one year of daily grids, per cell. + """The `DerivedYear` of one year of daily grids. ``tasmax`` and ``tasmin`` are (365, lat, lon) in Kelvin on the - no-leap calendar. ``december_prev`` is the preceding year's - December of (tasmax + tasmin) / 2, needed because DJF for year y - takes December of y - 1; pass None for a first year and the DJF - mean covers January and February only, which the caller should - treat as a spin-up year, not a product year. + no-leap calendar. ``december_prev`` is the preceding year's December + of (tasmax + tasmin) / 2, from `december`, since DJF of a year takes + the December before it. With None the DJF mean covers January and + February only, and the year is a spin-up year, not a product year. + A cell-day with tasmin above tasmax is swapped before counting. + Raises unless both arrays are (365, lat, lon) of one shape. """ + # Counting after averaging would give a different and wrong answer, + # so this takes daily grids per cell, before any spatial step. if tasmax.shape != tasmin.shape or tasmax.shape[0] != 365: raise ValueError( f"expected matching (365, lat, lon) arrays; got " diff --git a/cil_regionalization/cli.py b/cil_regionalization/cli.py index 6b0384f..236a77c 100644 --- a/cil_regionalization/cli.py +++ b/cil_regionalization/cli.py @@ -1,31 +1,32 @@ -"""`cilreg` command-line entry point. - -Subcommands: - - cilreg validate - Load and validate the config, check that referenced files exist, - and print a one-line summary. No compute. No network. - - cilreg run [--test-mode] - Load the config, dispatch to the configured backend, write results - and a manifest, then print a one-line summary plus the sum-to-1 - report status. `--test-mode` caps the local backend to the first - three regions for fast smoke testing. - - cilreg pipeline [--dry-run] [--stage all|aggregate|reduce] - Run the Monte Carlo pipeline (apply weights per leaf, then - statistics). Thin wrapper over - `python -m cil_regionalization.pipelines.montecarlo`. - - cilreg regions find - LIKE-search the configured regions source for matching ids. - - cilreg fetch [--record ID] [--base-url URL] [--refresh] - Fetch a published weight artifact from Zenodo, verify it against - its manifest checksum, cache it, and print the cached path. - - cilreg cache list | clear [--name NAME] - Show or remove cached fetched artifacts. +"""The `cilreg` command line. + +``cilreg validate `` loads and validates a config, checks +that the files it names exist, and prints a one-line summary. It +computes nothing and uses no network. + +``cilreg run [--test-mode] [--legacy-csv]`` runs the +configured backend, writes the weights and a manifest, and prints a +summary with the sum-to-one status. `--test-mode` caps the local +backend at the first `_TEST_MODE_REGION_CAP` regions, and on BigQuery +it requires ``regions.keep`` to limit them. `--legacy-csv` also writes +``weights_legacy.csv`` in the legacy layout. + +``cilreg pipeline [--dry-run] [--verify-leaves] +[--stage all|aggregate|reduce]`` runs the Monte Carlo pipeline, as +`python -m cil_regionalization.pipelines.montecarlo` does, which applies +weights per leaf and then takes statistics. + +``cilreg regions find [--limit N]`` prints the +ids in the configured regions source that match a SQL LIKE pattern. + +``cilreg fetch [--record ID] [--base-url URL] [--refresh]`` +fetches a published weight artifact from Zenodo, verifies it, caches it +and prints a summary and the cached path. `--list` prints the names the +registry knows, and `--registry` and `--cache-dir` name a local registry +and a cache. + +``cilreg cache list`` and ``cilreg cache clear [--name NAME]`` show and +remove cached weight artifacts. """ from __future__ import annotations @@ -357,13 +358,11 @@ def _cmd_run( def _cmd_regions_find(config_path: str, *, pattern: str, limit: int) -> int: - """SQL-LIKE search the configured regions source for matching ids. - - Cheap, read-only. Helps users resolve hierids without guessing: - world-combo-2017 mixes bare ISO3, single-remainder-only suffixes, - and admin subdivisions across 252 prefixes. See - examples/configs/s51_test.toml for the naming patterns. - """ + """Prints the ids in the configured regions source that match the SQL + LIKE ``pattern``, at most ``limit`` of them, and returns the exit + status. It only reads.""" + # Resolves hierids without guessing. world-combo-2017 mixes bare + # ISO3 ids, single-remainder-only suffixes and admin subdivisions. cfg = load_config(config_path) primary = cfg.regions.id_fields[0] if cfg.regions.table is not None: diff --git a/cil_regionalization/compute.py b/cil_regionalization/compute.py index 1556be9..9a543a0 100644 --- a/cil_regionalization/compute.py +++ b/cil_regionalization/compute.py @@ -1,23 +1,13 @@ -"""Dask cluster context for the local backend. +"""The Dask client the local backend spreads its per-region work over. -Local-backend per-region work is embarrassingly parallel: each region's -segment building hits an independent slice of the grid, and the raster -zonal-stats step is per-segment. Wrapping that work in a Dask Client -lets a single config switch fan it out across cores (LocalCluster) or -across HPC nodes (SLURMCluster on the CIL 'cil' partition). - -The context manager is the only public seam. Callers do: +`dask_client_for` is the one entry point, used as a context manager: with dask_client_for(cfg.backend.local) as client: ... # `client` is None when dask = "off" -so the serial path is a true no-op: no cluster is ever instantiated, -no port is opened, no Dask import happens. - -SLURM defaults match the CIL 'cil' partition (64c / 251 GB / 2 nodes -typical). The TOML's `n_workers`, `threads_per_worker`, `slurm_queue`, -`slurm_walltime` override the defaults; everything else stays fixed -to keep the surface area small. +The config's `n_workers`, `threads_per_worker`, `slurm_queue` and +`slurm_walltime` override the defaults. The cores and memory of a SLURM +job are fixed to the CIL 'cil' partition. """ from __future__ import annotations @@ -50,19 +40,15 @@ @contextlib.contextmanager def dask_client_for(opts: LocalBackendOptions) -> Iterator[Optional[object]]: - """Yield a Dask distributed Client, or None when dask is disabled. - - ``opts.dask``: - ``"off"`` -> yields ``None``; the caller runs serially. Dask is - NOT imported, so this works on installs without the - optional dependency. - ``"local"`` -> spins up a ``LocalCluster`` + ``Client``. - ``"slurm"`` -> spins up a ``dask_jobqueue.SLURMCluster`` shaped - for the CIL 'cil' partition and scales to - ``opts.n_workers`` jobs. - - The cluster and client are closed deterministically on exit; no - background threads or sockets survive the ``with`` block. + """Yield a Dask distributed client, or None when ``opts.dask`` is + ``"off"``. + + Under ``"off"`` the caller runs serially and Dask is not imported, so + this works without the optional dependency. ``"local"`` starts a + ``LocalCluster`` on this machine. ``"slurm"`` starts a + ``dask_jobqueue.SLURMCluster`` on the CIL 'cil' partition and scales it + to ``opts.n_workers`` jobs. The client and cluster are closed when the + ``with`` block exits. Raises if ``opts.dask`` is any other value. """ if opts.dask == "off": yield None diff --git a/cil_regionalization/config.py b/cil_regionalization/config.py index 24fd27a..5e92d0d 100644 --- a/cil_regionalization/config.py +++ b/cil_regionalization/config.py @@ -1,13 +1,11 @@ """Configuration models for cil_regionalization. -A run is described by a single TOML file. The schema below validates that file -up front and raises errors whose messages name the offending config key, so the -user can fix the file without reading source. Error messages are part of the -public interface: tests pin their content. - -The same Config drives both the local and the BigQuery backends. Cross-field -rules (a non-area weight needs a raster on local but a table on bigquery, etc.) -live on the top-level Config so they can see both `backend.kind` and `weights`. +A run is described by a single TOML file, which the same `Config` reads +for the local and the BigQuery backends. The file is validated up front, +and every error message names the config key at fault. Tests pin the +text of those messages. Rules that span sections, such as a non-area +weight needing a raster on the local backend and a table on BigQuery, +are checked on `Config`. """ from __future__ import annotations @@ -58,7 +56,8 @@ class _Strict(BaseModel): - """Reject unknown keys so typos in TOML surface as errors, not silent drift.""" + """A config model that raises on any key it does not declare, so a + misspelt key in the TOML is an error.""" model_config = ConfigDict(extra="forbid") @@ -153,23 +152,21 @@ def _consistent_mode(self) -> "GridConfig": class SourceConfig(_Strict): - """Polygon source units: the geometry the weighted data lives on. - - Declaring ``[source]`` instead of ``[grid]`` switches a run to polygon - mode: rows pair one region from ``[regions]`` (the side the weights - are built for, e.g. administrative units) with one source polygon from - here (e.g. impact regions keyed by hierid). Any shapefile or - GeoParquet with id columns works; nothing here is specific to one - geometry family. - - ``version`` is required: it is the version label recorded in the - manifest so a weight file states which source set produced it. - - ``on_zero_overlap`` handles source units whose intersection with every - region has zero geodesic area: "error" (default) aborts naming them; - "skip" excludes them and records them in the manifest under - ``zero_overlap_source_units``. Runs against a regional subset of - targets should expect zero-overlap sources and set "skip" explicitly. + """The polygons the weighted data lives on, as the source units of a + polygon-mode run. + + Declaring ``[source]`` instead of ``[grid]`` puts a run in polygon + mode. Each row of the weights then pairs a region from ``[regions]``, + the side the weights are built for such as administrative units, with + a polygon from this file such as an impact region keyed by hierid. + Any shapefile or GeoParquet with id columns will do. ``version`` is + the label the manifest records for this source. + + ``on_zero_overlap`` says what to do with source units whose + intersection with every region has zero geodesic area. "error" raises + naming them, and "skip" leaves them out and lists them in the + manifest's ``extra`` under ``zero_overlap_source_units``. A run over a + regional subset of targets should expect such units and set "skip". """ path: str = Field(min_length=1) @@ -303,27 +300,18 @@ class ValidationConfig(_Strict): class SourceUnitPolicies(_Strict): - """What to do with source units that cannot flow through an application run. - - Mirrors the null-geometry and unknown-id pattern on `RegionsConfig`: - "error" (default) aborts and names the offending units; "skip" excludes - them, records them in the manifest under `source_coverage`, and logs a - warning. Nothing is ever dropped without one or the other. - - The three cases, detected by `validate.check_source_coverage`: - - on_unmatched : units present in the data being aggregated but - absent from the weight file. Their values - cannot reach any target. - on_zero_weight : units present in the weight file whose weights - are all zero or NaN. Rows exist but carry no - mass to any target. - on_absent_from_data: units present in the weight file but missing - from the data. Their targets silently lose the - contribution the weights promised. - - Consumed by the application layer and the polygon weight builder; not - referenced from the run `Config` yet. + """What to do with source units that cannot take part in applying the + weights, the ``[policies]`` of a pipeline config and the ``policies`` + of `apply_weights`. + + Each key is "error" or "skip". "error" raises naming the units. + "skip" leaves them out with a warning, and the result lists them in + its ``coverage``. ``on_unmatched`` is for units in the data that are + not in the weight file, whose values cannot reach any target. + ``on_zero_weight`` is for units in the weight file whose weights are + all zero or NaN. ``on_absent_from_data`` is for units in the weight + file that the data does not have, whose targets lose what the + weights gave them. """ on_unmatched: Literal["error", "skip"] = "error" @@ -424,15 +412,14 @@ def _weights_match_backend(self) -> "Config": def load_config(path: str | Path) -> Config: - """Load and validate a cil_regionalization config from a TOML file. - - Relative paths in `regions.path`, `source.path`, `weights[].raster`, - and `output.dir` are resolved against the config file's directory so the same config - works regardless of the caller's working directory. Absolute paths, - `gs://` URIs, and BigQuery `table` references pass through unchanged. - - Validation errors are raised as pydantic ValidationError; their messages - name the offending key so the user can fix the TOML without reading source. + """The validated `Config` of the TOML file at ``path``. + + Relative paths in `regions.path`, `source.path`, `weights[].raster` + and `output.dir` are resolved against the config file's directory, + not the working directory. Absolute paths, `gs://` URIs and BigQuery + `table` references pass through unchanged. Raises + `FileNotFoundError` if the file does not exist, and a pydantic + `ValidationError` naming the offending key if the config is invalid. """ p = Path(path).resolve() if not p.exists(): diff --git a/cil_regionalization/cross_backend_compare.py b/cil_regionalization/cross_backend_compare.py index ba741fe..7d2aa42 100644 --- a/cil_regionalization/cross_backend_compare.py +++ b/cil_regionalization/cross_backend_compare.py @@ -1,31 +1,22 @@ -"""Cross-backend characterization: local vs BigQuery output. - -Both backends produce the canonical `OutputSchema`. This module compares -two such frames; typically a local-backend run on the GPW GeoTIFF -against the s51 BQ deliverable; and reports the per-region weight -agreement distribution against `validation.cross_backend_tolerance` -(default 1e-3). - -The comparison is a CHARACTERIZATION, not a regression gate. Expected -small differences: - - - geodesic local (pyproj.Geod, ellipsoid) vs spherical BQ - (ST_AREA / ST_INTERSECTION on the sphere); - - planar shapely intersection (local) vs spherical BQ; mostly - the boundary-cell tail; - - GPW raster sum (local) vs GPW point-sum (BQ) on the same pixel - footprint. - -What the report surfaces: - - - per-region max|delta wt| distribution (median, p95, max) on - the both-native subset; - - count of regions exceeding `tolerance`; the agreement budget, - not a fail trigger; - - mass-displaced regions (max-weight cell flipped between - backends); the real spatial-disagreement signal. - -Run instructions for the RCC use the three-line env:: +"""Compares the canonical `OutputSchema` weights of the local backend +with those of BigQuery, such as a local run on the GPW GeoTIFF against +the s51 BigQuery deliverable. + +The report describes the differences and is not a pass or fail check. +It gives each region's largest absolute weight difference, with the +median, 95th percentile and maximum of those over the regions native to +both, and the regions above ``tolerance``. It also lists the +mass-displaced regions, whose maximum-weight cell differs between the +backends, which is the sign of a real spatial disagreement. The default +``tolerance`` of 1e-3 is that of `validation.cross_backend_tolerance`. + +Small differences are expected. Areas are geodesic on the ellipsoid +(pyproj.Geod) locally and spherical in BigQuery (ST_AREA and +ST_INTERSECTION). The local intersection is planar shapely, which +differs mostly in boundary cells. Population is a GPW raster sum +locally and a GPW point sum in BigQuery, on the same pixel footprint. + +On the RCC, run it in this environment:: module load python source activate /project/cil/home_dirs/rcc/envs/climate_data_aggregation/ @@ -88,18 +79,19 @@ def compare_outputs( weight: str, tolerance: float = 1e-3, ) -> CrossBackendReport: - """Characterize ``weight`` agreement between local and BQ frames. - - Both inputs must be canonical-schema weights frames (``hierid``, - ``cell_ix``, ``cell_iy``, ````). Join on the integer - cell index triple; exact, no rounding. Regions present in only - one frame are counted in `local_only` / `bq_only` and contribute - neither to the delta distribution nor the mass-displacement - check. - - ``weight`` is the column name (``"popwt"`` or ``"areawt"``), not - the bare weight (``"pop"`` / ``"area"``). The frames are the - canonical OutputSchema directly; do not pre-translate. + """A `CrossBackendReport` of the agreement in the column ``weight`` + between a local and a BigQuery weights frame. + + Both are canonical OutputSchema frames as written, with + ``hierid``, ``cell_ix``, ``cell_iy`` and ````, joined + exactly on the first three. ``weight`` is the column name + (``"popwt"`` or ``"areawt"``), not the bare weight (``"pop"`` / + ``"area"``). A region is native to a side when any of its cells has + a weight there. A region native to one side only is counted in + `n_regions_local_only` or `n_regions_bq_only` and is left out of the + differences and the mass-displacement check. Within a region native + to both, a cell missing on one side counts as weight 0. Raises if a + frame lacks one of the columns. """ for f, label in ((local, "local"), (bq, "bq")): missing = set(_JOIN_KEYS) | {weight} @@ -202,11 +194,9 @@ def _max_cell(group: pd.DataFrame, col: str) -> tuple[int, int]: def load_canonical_parquet(path: str | Path) -> pd.DataFrame: - """Load a canonical-schema weights parquet from local or `gs://`. - - Both backends write this format (`cil_regionalization.io.write_result`); - this helper exists so script and notebook share one loader. - """ + """A canonical weights parquet, as both backends write it with + `cil_regionalization.io.write_result`, read from a local path or a + `gs://` URI.""" spath = str(path) if spath.startswith("gs://"): import gcsfs diff --git a/cil_regionalization/dissolve.py b/cil_regionalization/dissolve.py index cfa5532..b41cca0 100644 --- a/cil_regionalization/dissolve.py +++ b/cil_regionalization/dissolve.py @@ -1,37 +1,16 @@ """Prepare target geometry layers by dissolving a finer polygon layer. -The polygon weight engine takes any target geometry file with declared id -fields. Sources like the combined GADM file ship every admin level in one -layer at the deepest granularity, so the per-level target files have to -be dissolved out first. This module is that step: generic, keyed on -caller-declared columns, with the same discipline the rest of the repo -applies to geometry work. - -Guarantees per dissolve: - -- key columns must exist and carry no nulls (offenders are named), -- the dissolved keys are unique by construction and verified anyway, -- total planar area is conserved within a stated tolerance, which is the - proof that no geometry was lost or double-merged. Planar (coordinate - unit) area is the right conservation metric here: dissolving is a - union, so the metric only has to be consistent before and after, and - planar area is cheap at this scale. Geodesic areas belong to the - weight engine, not to layer preparation. Note the converse: inputs - whose pieces overlap each other lose area under union, and this check - reports exactly that instead of hiding it. -- invalid source geometries are repaired with `shapely.make_valid` - before union, and the repair count is recorded, mirroring the - `regions.py` policy of loud rather than silent repair. - -`prepare_target_layers` orchestrates several levels from one source read -and writes GeoParquet plus a JSON provenance manifest (source path and -checksum, feature counts, per-level unit counts and area accounting, -version label, package versions), so what was produced is inspectable -later without rerunning. - -Display-name columns are carried as attributes for orientation only. -Whatever encoding state they are in comes along verbatim; they are never -keys, and nothing downstream may join on them. +Sources like the combined GADM file ship every admin level in one layer +at the deepest granularity, and the target file of each level is +dissolved out of it on the key columns the caller declares. A dissolve +raises if a key column is missing or null, if the dissolved keys are not +unique, or if the total planar area changes by more than a tolerance, as +it does when pieces of the source overlap each other. Invalid source +geometries are repaired with `shapely.make_valid` first, and counted. + +`prepare_target_layers` dissolves several levels from one read of the +source and writes GeoParquet files and a JSON provenance manifest. Name +columns are carried verbatim for orientation only, and are never keys. """ from __future__ import annotations @@ -50,9 +29,12 @@ def _planar_area(geometry: gpd.GeoSeries) -> pd.Series: - """Planar area in coordinate units, silencing the geographic-CRS - warning: planar area is the intended conservation metric here (see - the module docstring), not an accident.""" + """Planar area in coordinate units, without the warning geopandas + gives for a geographic CRS.""" + # Planar area is the conservation metric on purpose. Dissolving is a + # union, so the metric only has to be consistent before and after, + # and planar area is cheap at this scale. Geodesic areas belong to the + # weight engine, not to layer preparation. with warnings.catch_warnings(): warnings.filterwarnings( "ignore", message=".*geographic CRS.*", category=UserWarning @@ -82,7 +64,8 @@ class DissolveReport: @dataclass(frozen=True) class LevelSpec: - """One target level: output name, key columns, carried name columns.""" + """One target level, with its output name, its key columns and the + name columns it carries.""" name: str key_columns: tuple[str, ...] @@ -96,11 +79,13 @@ def dissolve_layer( name_columns: Sequence[str] = (), area_rel_tol: float = 1e-6, ) -> tuple[gpd.GeoDataFrame, DissolveReport]: - """Dissolve `gdf` to one row per key combination. + """Dissolve `gdf` to one row per key combination, returned with its + `DissolveReport`. - Name columns are aggregated by first value per unit. Raises if key - columns are missing or null, if the dissolved keys are not unique, or - if total planar area is not conserved within `area_rel_tol`. + Name columns are aggregated by first value per unit. Raises if a key + or name column is missing, if a key is null, if the dissolved keys + are not unique, or if total planar area is not conserved within + `area_rel_tol`. """ keys = list(key_columns) names = [c for c in name_columns if c not in keys] @@ -210,30 +195,28 @@ def prepare_target_layers( """Read `source_path` once, dissolve each level, write GeoParquet. ``drop_query`` optionally names source features to exclude before - dissolving, as a pandas query over the key and name columns (only - columns declared by some level are read, so the query may reference - only those). It - exists for documented source defects (features whose area duplicates - other features would otherwise break area conservation); the query - and the number of dropped features are recorded in the manifest, so - an exclusion is always a visible editorial decision, never a silent - one. - - ``repair`` optionally edits the source frame before ``drop_query`` - and dissolving: a callable taking and returning the frame. It exists - for documented source defects that dropping cannot fix (a key field - left blank on features whose correct value the source itself - states). A repair must come with ``repair_record``, a JSON - serializable account of what was changed, on how many rows, and on - what evidence; the record goes into the manifest verbatim. A repair - without a record, or a record without a repair, is refused: edits to - source data are visible editorial decisions or they do not happen. - - Returns the provenance manifest (also written to - ``/targets.manifest.json``): source identity and checksum, - per-level counts and area accounting, the version label to use as - ``regions.version`` in weight configs, and package versions. + dissolving, as a pandas query. Only the columns some level declares + are read, so the query may use only those. ``repair`` optionally + edits the source frame before ``drop_query`` and dissolving, as a + callable taking and returning the frame, and must not change the + number of features. It comes with ``repair_record``, a JSON + serializable account of what was changed, on how many rows and on + what evidence. The manifest records the query, the number of + features it dropped and the repair record as given. + + Returns the provenance manifest, also written to + ``/targets.manifest.json``, with the source identity and + checksum, per-level counts and area accounting, the version label to + use as ``regions.version`` in weight configs, and package versions. + Raises if only one of ``repair`` and ``repair_record`` is given, if + the source has no CRS, if ``repair`` changes the number of features, + or if ``drop_query`` matches nothing. """ + # drop_query and repair exist for documented source defects, such as + # features whose area duplicates others or a key field left blank on + # features whose correct value the source itself states. Both are + # recorded so that every edit to source data is a visible editorial + # decision, never a silent one. if (repair is None) != (repair_record is None): raise ValueError( "prepare_target_layers: repair and repair_record come together; " diff --git a/cil_regionalization/fallback.py b/cil_regionalization/fallback.py index 1770c56..bff3ee2 100644 --- a/cil_regionalization/fallback.py +++ b/cil_regionalization/fallback.py @@ -1,49 +1,23 @@ -"""Apply per-weight fallback policy to per-(region, source unit) raw totals. - -Pure pandas. Given the raw weighting totals a backend has computed for one -non-area weight, plus the area-weight frame (which is always available), -this module returns the normalized weights and a per-group method label -that tells callers and validators what happened. - -Source units and normalization direction ----------------------------------------- -Both functions accept a `SourceUnits` layout (grid cells by default) and a -normalization direction. The direction selects the columns raw totals are -summed within before dividing: - - per_destination : totals per region (the ``id_fields``). Weights sum - to 1 within each region. The grid-to-IR case. - per_source : totals per source unit, across the regions it overlaps. - Weights sum to 1 within each source unit. The allocation case. - -The math is the same division either way; only the grouping transposes. -Fallback policy applies to the groups of the chosen direction: a group -whose total raw weight is zero is routed through the policy below. - -Policy semantics ----------------- -For a group whose total raw weight is zero: - "area" : take the rows from the area frame and reuse `areawt` as the - normalized weight; method = "area_fallback". - "zero" : keep the area frame's rows, weight = 0; method = "zero". - The sum-to-1 validator will flag this group. - "nan" : keep the area frame's rows, weight = NaN; method = "nan". - The sum-to-1 validator IGNORES NaN groups (no false flag). - Matches the legacy crop weights convention: empty regions - carry NaN; the legacy consumer backfills per-pixel with - `areawt` at aggregation time so NaN in the file is not NaN - in final outputs. - "error" : raise, naming the group ids. -In every fallback branch, if the group's total area is also zero we -raise unconditionally: no rule can rescue an empty group. - -Implicit-default warning ------------------------- -When the fallback fires for >= max(5, 5% of groups) AND the policy was -NOT set explicitly in the TOML, `apply_fallback` emits a WARN-level -log naming the applied default and the alternatives. The threshold is -deliberate: a single fallback group is rarely worth interrupting for; -a dozen is. +"""Weights from the raw totals of one weight per (region, source unit), +with a fallback for groups whose raw total is zero. + +Source units are grid cells unless a `SourceUnits` layout says otherwise. +Under ``per_destination`` normalization the raw totals are summed within +each region (the ``id_fields``), so weights sum to 1 within each region. +Under ``per_source`` they are summed within each source unit across the +regions it overlaps, so weights sum to 1 within each source unit. + +A group whose raw total is zero follows the weight's fallback policy. +``"area"`` gives its rows their area weight ``areawt`` and the method +``"area_fallback"``. ``"zero"`` gives them weight 0 and the method +``"zero"``, and the sum-to-one check flags the group. ``"nan"`` gives +them weight NaN and the method ``"nan"``, and the sum-to-one check +passes the group over. ``"error"`` raises, naming the groups. A group +whose total area is zero raises under every policy. + +When the policy was not set in the config and the fallback fires for at +least max(5, 5% of the groups), `apply_fallback` logs a warning naming the +default and the alternatives. """ from __future__ import annotations @@ -74,7 +48,9 @@ def _group_fields( source_units: SourceUnits, normalization: Normalization, ) -> list[str]: - """Columns raw totals are summed within, per the direction.""" + """The columns raw totals are summed within, the ``id_fields`` under + ``per_destination`` and the source unit keys under ``per_source``. + Raises on any other direction.""" if normalization == "per_destination": return list(id_fields) if normalization == "per_source": @@ -91,10 +67,10 @@ def compute_native_weights( source_units: SourceUnits = GRID_CELLS, normalization: Normalization = "per_destination", ) -> pd.DataFrame: - """Normalize raw values to sum-to-1 weights per group. No fallback path. - - Used for the area weight, whose zero-total case is always degenerate and - raises here regardless of any configured policy. + """Each row's ``raw_col`` divided by its group's total, as the weight, + raw and method columns of ``weight_name``, with every method + ``"native"``. Used for the area weight, and has no fallback. Raises if + a column is missing or a group's total is not positive. """ keys = list(id_fields) source_cols = list(source_units.columns) @@ -142,13 +118,17 @@ def apply_fallback( source_units: SourceUnits = GRID_CELLS, normalization: Normalization = "per_destination", ) -> pd.DataFrame: - """Normalize raw values per group; route zero-total groups through policy. - - raw_per_cell : id_fields + source key columns + raw_col. May omit rows - whose raw is zero; missing rows are treated as raw = 0. - area_weights : id_fields + source columns + areawt + area_raw. The spine - of "source units overlapping each region"; the output covers exactly - the union of rows in this frame. + """Weights for ``weight_name``, each raw value divided by its group's + total, with the groups whose total is zero handled by ``policy``. + + The output has one row per row of ``area_weights``, which holds the id + fields, the source columns, ``areawt`` and ``area_raw``. + ``raw_per_cell`` holds the id fields, the source key columns and + ``raw_col``, and a row it leaves out counts as raw 0. + ``policy_explicit`` says whether the config set the policy. Only an + unset policy logs the warning. Raises if a column is missing, if + ``raw_per_cell`` has a group that ``area_weights`` lacks, if a group's + total area is zero, or if a group falls back under ``"error"``. """ keys = list(id_fields) source_cols = list(source_units.columns) @@ -279,11 +259,14 @@ def count_methods( weight_name: str, id_fields: list[str] | None = None, ) -> dict[str, int]: - """Return a method label -> region count for one weight in the output frame. - - Pass ``id_fields`` explicitly whenever the frame may contain other - weights' columns (their `_raw` / `_method` columns would otherwise be - treated as identifiers and inflate the region count). + """The number of groups of ``id_fields`` under each method label of + ``weight_name``, taken from each group's first row. Returns an empty + dict when the frame has no method column for the weight. + + Without ``id_fields`` every column counts as an id except the four cell + columns and those ending in ``wt``, ``_raw`` or ``_method``. That is + wrong for a frame with any other column, such as the source ids of + polygon mode, so pass ``id_fields`` for such a frame. """ col = method_column(weight_name) if col not in weights_frame.columns: @@ -295,9 +278,10 @@ def count_methods( def _infer_id_columns(weights_frame: pd.DataFrame, weight_name: str) -> list[str]: - """Best-effort: drop cell metadata and any column that looks like weight - output (`{name}wt`, `{name}_raw`, `{name}_method`). Safe for frames that - contain only one weight's columns alongside the id fields. + """A guess at the id columns of a weights frame, every column except + ``cell_ix``, ``cell_iy``, ``cell_lon``, ``cell_lat`` and those ending in + ``wt``, ``_raw`` or ``_method``, whichever weight they belong to. Right + only for a frame holding nothing else. ``weight_name`` is not used. """ output_cols = {"cell_ix", "cell_iy", "cell_lon", "cell_lat"} for c in weights_frame.columns: diff --git a/cil_regionalization/fetch.py b/cil_regionalization/fetch.py index 61415e8..22b79b7 100644 --- a/cil_regionalization/fetch.py +++ b/cil_regionalization/fetch.py @@ -1,32 +1,29 @@ -"""Fetch published weight artifacts from Zenodo, verify, cache, load. - -A published artifact is the pair a generation run writes: the weights -parquet and its manifest sidecar. Records live on Zenodo, one record per -target geometry version, with Zenodo's own record versioning carrying -corrections. Which records exist is data, not code: the packaged -``registry.toml`` maps short artifact names to record and file names, -and a caller can extend or replace it with a local registry file (the -``registry_path`` argument or the ``CIL_REGIONALIZATION_REGISTRY`` -environment variable) without any code change. A record identifier can -also be given directly, bypassing the registry entirely. - -Integrity has two layers, both required. The transport layer checks -every downloaded file against the md5 that Zenodo's record metadata -declares for it. The content layer checks the weights parquet against -the SHA256 its own manifest recorded at write time (the ``outputs`` -field), which ties the downloaded bytes to the generation run rather -than to whatever was uploaded. A failure at either layer deletes the -partial download and raises; nothing unverified ever lands in the cache -under its final name. - -The cache lives under ``~/.cache/cil_regionalization`` (respecting -``XDG_CACHE_HOME``, overridable via the ``cache_dir`` argument or -``CIL_REGIONALIZATION_CACHE``), one directory per record and artifact, -holding the canonical ``weights.parquet`` and ``weights.manifest.json`` -that `WeightsArtifact.load` reads. Cached artifacts are re-verified -against the cached manifest on every use; a corrupt cache entry raises -instead of loading. ``list_cached`` and ``clear_cache`` (or -``cilreg cache list|clear``) show and remove cache contents. +"""Fetches published weight artifacts from Zenodo, verifies them, +caches them and loads them. + +A published artifact is the weights parquet and the manifest sidecar a +generation run writes. Each target geometry version has one Zenodo +record, and a correction is a new version of that record. The packaged +``registry.toml`` maps short artifact names to records and file names. +A local registry file, given as the ``registry_path`` argument or the +``CIL_REGIONALIZATION_REGISTRY`` environment variable, adds names to it +or repoints them. A record identifier can also be given directly. + +Every downloaded file is checked against the md5 that Zenodo's record +metadata declares for it. The weights parquet is also checked against +the SHA256 its own manifest recorded at write time, in the ``outputs`` +field. A failure at either check deletes the partial download and +raises, so no unverified file lands in the cache under its final name. + +The cache is ``~/.cache/cil_regionalization``, or +``$XDG_CACHE_HOME/cil_regionalization``, unless the ``cache_dir`` +argument or ``CIL_REGIONALIZATION_CACHE`` names another. It holds one +directory per record and artifact, with the ``weights.parquet`` and +``weights.manifest.json`` that `WeightsArtifact.load` reads. A cached +artifact is checked against its cached manifest on every use, and a +corrupt one raises instead of loading. ``list_cached`` and +``clear_cache``, or ``cilreg cache list|clear``, show and remove the +cached weight artifacts. """ from __future__ import annotations @@ -53,9 +50,9 @@ def _ssl_context() -> ssl.SSLContext: - """An SSL context that finds a CA bundle on hosts whose OpenSSL has - none configured (some cluster environments). certifi's bundle is - used when available; otherwise the system default.""" + """An SSL context with certifi's CA bundle when certifi is installed, + and the system default otherwise.""" + # some cluster hosts have an OpenSSL with no CA bundle configured try: import certifi @@ -86,7 +83,8 @@ class ChecksumMismatchError(FetchError): @dataclass(frozen=True) class RegistryEntry: - """One published artifact: where it lives and what its files are called.""" + """One published artifact, with its record, the Zenodo instance it is + on, and the names of its weights and manifest files.""" name: str record: str @@ -108,13 +106,13 @@ def _packaged_registry_path() -> Path: def load_registry(registry_path: str | Path | None = None) -> dict[str, RegistryEntry]: - """Load the artifact registry: packaged entries, then overlays. + """The artifact registry, as a `RegistryEntry` for each name. - Order: the packaged ``registry.toml``, then the file named by the + It reads the packaged ``registry.toml``, then the file named by the ``CIL_REGIONALIZATION_REGISTRY`` environment variable if set, then - ``registry_path`` if given. Later entries replace earlier ones of the - same name, so a local registry can both add artifacts and repoint - existing names. + ``registry_path`` if given. A later entry replaces an earlier one of + the same name. Raises if a named registry file does not exist or an + entry has no 'record' field. """ paths: list[Path] = [_packaged_registry_path()] env = os.environ.get("CIL_REGIONALIZATION_REGISTRY") @@ -270,13 +268,15 @@ def fetch_weights( cache_dir: str | Path | None = None, refresh: bool = False, ) -> WeightsArtifact: - """Fetch a published weight artifact and return it ready to apply. - - ``name`` is normally a registry name; with ``record`` given (a Zenodo - record id or DOI) the registry is bypassed and ``name`` only labels - the cache entry. The result is a `WeightsArtifact`, directly - consumable by `apply_weights`. ``refresh`` re-downloads even when a - verified cached copy exists. + """The published weight artifact ``name`` as a `WeightsArtifact` + ready for `apply_weights`, verified and cached. + + ``name`` is a registry name. With ``record`` given, a Zenodo record + id or DOI, the registry is not read, ``name`` only labels the cache + entry, and ``parquet`` and ``manifest`` name the record's files. + ``refresh`` downloads again even when a verified cached copy exists. + Raises if ``name`` is in no registry, if a cached copy fails its + check, or if a download fails either checksum. """ if record is not None: entry = RegistryEntry( @@ -353,8 +353,62 @@ def fetch_weights( return WeightsArtifact.load(target) +# the published SMME climate model weights, doi:10.5281/zenodo.22003542 +MODEL_WEIGHTS_RECORD = "22003542" + + +def fetch_model_weights( + rcp: str, + *, + record: str = MODEL_WEIGHTS_RECORD, + base_url: str | None = None, + cache_dir: str | Path | None = None, + refresh: bool = False, +): + """The published climate model weights of ``rcp``, as + `read_model_weights` reads them, from the file + ``_SMME_weights.tsv`` of their Zenodo record. The download is + checked against the md5 the record declares and cached with it, and + a cached copy that no longer matches raises.""" + from cil_regionalization.model_weights import read_model_weights + + entry = RegistryEntry( + name="smme", record=record, base_url=base_url or DEFAULT_BASE_URL + ) + name = f"{rcp}_SMME_weights.tsv" + cache = Path(cache_dir) if cache_dir is not None else default_cache_dir() + target = _artifact_cache_dir(entry, cache) + path, declared = target / name, target / f"{name}.md5" + if not refresh and path.exists() and declared.exists(): + if _md5(path) != declared.read_text().strip(): + raise ChecksumMismatchError( + f"cached model weights at {path} fail verification against " + f"the md5 their record declared. Fetch them again with " + f"refresh=True." + ) + return read_model_weights(path) + files = _record_files(entry) + if name not in files: + tables = sorted(k for k in files if k.endswith("_SMME_weights.tsv")) + raise FetchError( + f"record {entry.record_id} has no file {name!r} (its weight " + f"tables: {tables})" + ) + meta = files[name] + partial = target / f".partial.{name}" + try: + _download(meta["links"]["self"], partial, expected_size=meta.get("size")) + _verify_transport(partial, meta) + declared.write_text(str(meta["checksum"])[4:] + "\n") + partial.replace(path) + finally: + partial.unlink(missing_ok=True) + return read_model_weights(path) + + def list_cached(cache_dir: str | Path | None = None) -> list[dict[str, Any]]: - """Cached artifacts: name, record, path, and size in bytes.""" + """The cached weight artifacts, each a dict of 'name', 'record', + 'path' and 'size_bytes'. Cached model weights are not listed.""" cache = Path(cache_dir) if cache_dir is not None else default_cache_dir() out: list[dict[str, Any]] = [] if not cache.exists(): @@ -378,7 +432,8 @@ def list_cached(cache_dir: str | Path | None = None) -> list[dict[str, Any]]: def clear_cache(cache_dir: str | Path | None = None, *, name: str | None = None) -> int: - """Remove cached artifacts; all of them, or just ``name``. Returns count.""" + """Removes the cached weight artifacts, or only those called ``name``, + and returns how many it removed. Cached model weights stay.""" cache = Path(cache_dir) if cache_dir is not None else default_cache_dir() removed = 0 for item in list_cached(cache): diff --git a/cil_regionalization/gdpcir_io.py b/cil_regionalization/gdpcir_io.py index a79a7d2..0d5b097 100644 --- a/cil_regionalization/gdpcir_io.py +++ b/cil_regionalization/gdpcir_io.py @@ -1,18 +1,13 @@ -"""CMIP6 GDPCIR daily reader: local zarr mirror to per-year arrays. - -The GDPCIR product ships daily tasmax and tasmin as one zarr store per -model, scenario and variable, on the same 0.25-degree center-registered -grid as the CMIP5 BCSD archive, longitudes already in [-180,180) -ascending, 365-day no-leap calendar. Unlike the BCSD reader this one -has no conventions to reconcile; its job is to refuse anything that -does not match the stated contract, loudly, per store: - -- longitude in [-180,180), strictly ascending, and latitude ascending; -- exactly 365 days per requested year; -- requested variable present. - -``derive_daily`` then consumes the year arrays exactly as it does for -BCSD; nothing downstream knows which generation fed it. +"""Reads CMIP6 GDPCIR daily zarr stores as per-year arrays for +``derive_daily``, which takes them as it takes BCSD arrays. + +The GDPCIR product has one zarr store of daily tasmax or tasmin per +model, scenario and variable. The stores are on the same 0.25-degree +center-registered grid as the CMIP5 BCSD archive, with longitudes in +[-180,180) ascending and a 365-day no-leap calendar. Nothing is +converted. A store whose variable is missing, whose longitudes are +outside [-180,180), or whose coordinates are not strictly ascending +raises, and so does a year without exactly 365 days. """ from __future__ import annotations @@ -32,15 +27,19 @@ def _import_xarray(): def open_gdpcir_daily(store: str, variable: str, **open_kwargs): - """Open one GDPCIR daily zarr store and verify its grid contract. - - Returns the opened dataset; values stay lazy until sliced. - - ``store`` is a local path or a URL. Pass ``open_kwargs`` to reach a - remote store: a STAC asset's own ``xarray:open_kwargs`` carry the - credential and the chunking, and ``engine`` is routed through - ``open_dataset`` because ``open_zarr`` rejects it. + """One GDPCIR daily zarr store as an opened dataset, with values lazy + until sliced. + + ``store`` is a local path or a URL. ``open_kwargs`` reach a remote + store, and a STAC asset's own ``xarray:open_kwargs`` carry the + credential and the chunking. With ``open_kwargs`` the store is + opened by ``open_dataset``, with ``engine`` zarr unless given. + Raises if ``variable`` is missing, if a longitude is outside + [-180,180), or if longitudes or latitudes are not strictly + ascending. """ + # open_zarr rejects an engine argument, so open_kwargs go through + # open_dataset xr = _import_xarray() if open_kwargs: kwargs = dict(open_kwargs) @@ -64,11 +63,9 @@ def open_gdpcir_daily(store: str, variable: str, **open_kwargs): def gdpcir_year(ds, variable: str, year: int) -> np.ndarray: - """One calendar year as a (365, lat, lon) float32 array in Kelvin. - - Refuses any year that does not hold exactly 365 days: the GDPCIR - calendar is no-leap, and a different count means a truncated or - mis-calendared store, not something to average around. + """One calendar year of ``variable`` as a (365, lat, lon) float32 + array in Kelvin. Raises if the year does not hold exactly 365 days, + which means the store is truncated or not on the no-leap calendar. """ sel = ds[variable].sel(time=slice(f"{year}-01-01", f"{year}-12-31")) if sel.sizes["time"] != 365: @@ -94,15 +91,15 @@ def gdpcir_stac_assets( variables, collections=None, ) -> dict: - """Resolve GDPCIR assets on the Planetary Computer to signed stores. - - Returns ``{variable: (href, open_kwargs)}`` ready for - ``open_gdpcir_daily``. The GDPCIR ensemble is split across three - collections by license, and one model can appear in more than one, - so all three are searched unless ``collections`` narrows it. - - Signatures expire. Call this again for a long-running job rather - than holding its result for hours. + """The signed store of each of ``variables`` for ``model`` and + ``experiment`` on the Planetary Computer, as + ``{variable: (href, open_kwargs)}`` ready for ``open_gdpcir_daily``. + + The GDPCIR ensemble is split across collections by license, and one + model can appear in more than one. All of them are searched unless + ``collections`` narrows it. The signatures expire, so a long-running + job should call this again rather than hold the result for hours. + Raises if a variable has no asset. """ import planetary_computer import pystac_client diff --git a/cil_regionalization/generate.py b/cil_regionalization/generate.py index 96a1839..fa12cf3 100644 --- a/cil_regionalization/generate.py +++ b/cil_regionalization/generate.py @@ -1,13 +1,9 @@ """Weight generation as a function call. `generate_weights` is what `cilreg run` does, minus the printing and the -test-mode and legacy-csv options. Both go through `compute_and_write`, -so a config gives the same weights file and manifest either way. - -A run whose weights fail their own sum-to-one check raises -`SumToOneError` before anything is written. The check is the only -thing standing between a bad file and someone applying it later, so a -file that failed it must not exist. +test-mode and legacy-csv options, and a config gives the same weights +file and manifest either way. A run whose weights fail their own +sum-to-one check raises `SumToOneError` before anything is written. """ from __future__ import annotations @@ -24,10 +20,11 @@ class SumToOneError(ValueError): - """The generated weights failed the sum-to-one check. + """The generated weights failed the sum-to-one check, and nothing was + written. ``report`` is the full `SumToOneReport`, failures included. - ``result`` is the computed `WeightsResult`; nothing was written. + ``result`` is the computed `WeightsResult`. """ def __init__(self, report: SumToOneReport, result: WeightsResult): @@ -37,7 +34,9 @@ def __init__(self, report: SumToOneReport, result: WeightsResult): def check_inputs_exist(cfg: Config) -> list[str]: - """Cheap precheck: regions.path and each weight raster must exist.""" + """A message for each input of ``cfg`` that is not on the local disk. + The inputs checked are regions.path, source.path unless it is a + ``gs://`` URI, and each weight raster on the local backend.""" problems: list[str] = [] if cfg.regions.path is not None and not Path(cfg.regions.path).exists(): problems.append(f"regions.path does not exist: {cfg.regions.path}") @@ -86,11 +85,12 @@ def compute_and_write( def generate_weights(config: Config | str | Path) -> WeightsResult: """Generate a weights file and its manifest from a config. - ``config`` is a `Config` or the path to a TOML file. The weights - parquet and the manifest are written to ``config.output.dir``, as - `cilreg run` does, and the result is returned. Geometries are read - from the paths in the config; to use polygons held in memory, write - them to a GeoParquet file first so the manifest can record its hash. + ``config`` is a `Config` or the path to a TOML file. The weights file, + in the configured ``output.format``, and the manifest are written to + ``config.output.dir``, as `cilreg run` does, and the result is + returned. Geometries are read from the paths in the config, so + polygons held in memory have to be written to a GeoParquet file + first, which lets the manifest record its hash. Raises `FileNotFoundError` naming any input that is missing, and `SumToOneError` when the weights fail their sum-to-one check, in diff --git a/cil_regionalization/gradients.py b/cil_regionalization/gradients.py index d95ccaf..77c7471 100644 --- a/cil_regionalization/gradients.py +++ b/cil_regionalization/gradients.py @@ -1,22 +1,22 @@ -"""Delta-method gradients: read, aggregate, and evaluate. - -Some projection trees carry parameter uncertainty as gradients rather -than draws: each region-year holds the vector of derivatives of the -impact with respect to the regression coefficients, and the file -embeds the coefficient covariance matrix. The variance of any linear -aggregate follows without sampling: aggregate the gradient vectors -with the same weights as the values, then take one quadratic form -against the covariance matrix. Summing independently drawn -region-level values instead loses the cross-region correlation the -shared coefficients create, and understates the aggregate spread. - -A gradient leaf is too large for the long-frame route the rest of the -package uses (coefficients times years times regions), so this module -works on arrays: one year per call, matching how the files are -chunked. The mean needs no separate file when the response is linear -in the coefficients: it is the gradient times the coefficient vector. +"""Reads delta-method gradient leaves, aggregates the gradients to +targets, and gives each target's mean and standard deviation. + +Some projection trees carry parameter uncertainty as gradients, not +draws. Each region and year holds the derivatives of the impact with +respect to the regression coefficients, and the file embeds the +coefficient covariance matrix. The variance of a linear aggregate is +the quadratic form of its aggregated gradient against that matrix. +Summing independently drawn region-level values instead loses the +cross-region correlation the shared coefficients create, and +understates the aggregate spread. When the response is linear in the +coefficients, the mean is the gradient times the coefficient vector. + +The functions work on arrays, one year of a leaf per call, not on the +long frames the rest of the package uses. """ +# A gradient leaf, coefficients by years by regions, is too large for +# the long frames, and the files are chunked one year per chunk. from __future__ import annotations import warnings @@ -30,9 +30,10 @@ @dataclass(frozen=True) class GradientLeaf: - """One year of a gradient file: regions, the gradient matrix - (coefficient by region), the coefficient covariance matrix, and - the file's own stored variance per region when present.""" + """One year of a gradient file, with the region ids, the gradient + matrix (coefficient by region), the coefficient covariance matrix, + and the file's own stored variance per region, or None when the file + has none.""" regions: list[str] gradient: np.ndarray @@ -48,13 +49,19 @@ def read_gradient_leaf( vcv_variable: str = "vcv", value_variable: str = "rebased", ) -> GradientLeaf: - """Read one year of a delta-method leaf. - - Uses netCDF4 directly: the covariance matrix is stored with the - coefficient dimension repeated, which xarray does not accept. The - files are chunked one year per chunk, so a single-year read moves - one chunk, not the whole file. + """One year of a delta-method leaf as a `GradientLeaf`. + + ``variable`` holds the gradients, with coefficient and year as its + first two dimensions in either order. ``vcv_variable`` holds the + covariance matrix, and ``value_variable`` the stored variance, read + when present. Raises if the file has no ``year``, if the gradient's + first dimensions are not coefficient and year, or if the covariance + matrix is not square or does not match the gradient's coefficients. """ + # netCDF4 rather than xarray, since the covariance matrix is stored + # with the coefficient dimension repeated, which xarray does not + # accept. The files are chunked one year per chunk, so a single-year + # read moves one chunk, not the whole file. try: import netCDF4 except ImportError as e: @@ -110,22 +117,23 @@ def aggregate_gradient( scale: np.ndarray | None = None, normalize: bool = False, ) -> tuple[pd.DataFrame, np.ndarray]: - """Aggregate gradient vectors to the weight file's targets. - - ``gradient`` is coefficient by region, in the order of ``regions``. - Every region must appear in the weight file; weight rows for other - regions are ignored, which mirrors ``restrict_to_sources``. - - For a total (an extensive value), leave ``scale`` and ``normalize`` - alone: each region's gradient is split by the weight shares and - summed. For a rate, pass the per-region sizes (population) as - ``scale`` and set ``normalize=True``: each target becomes the - size-weighted mean of its regions' gradients. - - Returns the target key frame and the aggregated gradient, target - by coefficient. The aggregation is linear, so it commutes with - differencing histclim and with evaluating means: aggregating a - difference of gradients equals differencing aggregated ones. + """The target key frame and the gradient aggregated to the weight + file's targets, target by coefficient. + + ``gradient`` is coefficient by region, in the order of ``regions``, + and the shares are the column ``wt``. Weight rows for other + regions are ignored, as with ``restrict_to_sources``. For a total, + an extensive value, leave ``scale`` and ``normalize`` alone, and + each region's gradient is split by the weight shares and summed. For + a rate, pass the per-region sizes (population) as ``scale`` and set + ``normalize=True``, and each target becomes the size-weighted mean + of its regions' gradients. The aggregation is linear, so aggregating + a difference of gradients, such as one against histclim, equals + differencing the aggregated ones. + + Raises if the share column is missing, if a region has no weight + rows, if ``scale`` is not one value per region, or if a target has + zero total weight under ``normalize``. """ frame = weights.frame key_cols = list(weights.schema.id_fields) @@ -176,19 +184,17 @@ def window_gradient( years, window: tuple[float, float], ) -> np.ndarray: - """Mean of stacked yearly gradients over an inclusive year window. - - ``gradients`` has year on the first axis, in the order of - ``years``; the other axes pass through unchanged, so the result - still carries the coefficient axis and the quadratic form can be - taken on it afterwards. Stacked leaves (year, coefficient, region) - and stacked aggregates (year, target, coefficient) both work, and - since both steps are linear, windowing before or after - `aggregate_gradient` gives the same answer. - - The window bounds match `window_means`: both ends included, and a - window that selects no year raises. NaN entries drop out of the - mean the way NaN rows do there. + """The mean of stacked yearly gradients over the years of + ``window``, both ends included, as in `window_means`. + + ``gradients`` has year on its first axis, in the order of + ``years``, and its other axes pass through. Stacked leaves (year, + coefficient, region) and stacked aggregates (year, target, + coefficient) both work, and windowing before or after + `aggregate_gradient` gives the same answer. NaN entries drop out of + the mean as NaN rows do in `window_means`. Raises if the window + selects no year or starts after it ends, if ``years`` has + duplicates, or if its length does not match the first axis. """ gradients = np.asarray(gradients, dtype="float64") years = np.asarray(years) @@ -219,12 +225,13 @@ def delta_method( vcv: np.ndarray, coefficients: np.ndarray | None = None, ) -> pd.DataFrame: - """Mean and standard deviation per target from aggregated gradients. + """A frame of the mean and standard deviation per target from + aggregated gradients, target by coefficient. - Variance is the quadratic form G V G' per target. The mean is - G times the coefficient vector and is exact when the response is - linear in the coefficients, which is what makes the gradients - constant in them; omit ``coefficients`` to get only the spread. + The variance is the quadratic form G V G' of each target. The mean + is G times ``coefficients``, exact when the response is linear in + the coefficients. Without ``coefficients`` the frame has only 'sd'. + Raises if the shapes of the inputs do not match. """ if aggregated.shape[1] != vcv.shape[0]: raise ValueError( diff --git a/cil_regionalization/grid.py b/cil_regionalization/grid.py index 0c25983..2ab9476 100644 --- a/cil_regionalization/grid.py +++ b/cil_regionalization/grid.py @@ -1,31 +1,19 @@ -"""Grid math: integer cell indices, centroids, polygons, bbox-to-range. +"""Grid math for cell indices, centroids, cell polygons and the cell +ranges a bbox covers. -A `GridSpec` is the runtime counterpart of `GridConfig`. It exposes the -index / centroid / polygon conversions both backends rely on, plus a -prebuilt loader that validates uniform spacing. - -Generate mode -------------- -Cells are addressed by integer (ix, iy). Centroids follow the formula +`GridSpec` is the runtime form of `GridConfig`. Cells are addressed by +integer (ix, iy), and their centroids follow the formula center offset: centroid = (i + 0.5) * res + origin edge offset: centroid = i * res + origin -The cell extent is always centroid +- res/2 in both axes. - -Longitude convention is configurable: - - "[-180,180)" : lon_origin = -180 - "[0,360)" : lon_origin = 0 - -Latitude origin is always -90. +A cell spans its centroid plus or minus res/2 on both axes. The latitude +origin is -90. The longitude origin is -180 under the "[-180,180)" +convention and 0 under "[0,360)". -Antimeridian rule ------------------ -Cells never wrap. A region whose bbox crosses 0/360 (or -180/180) must be -split by the caller into two bboxes; querying with such a bbox returns the -cells inside the global domain only, with no implicit wrap-around. This -keeps every (ix, iy) globally unique and makes the BigQuery side trivial. +Cells never wrap across the edge of the longitude domain. A bbox that +crosses it must be split in two by the caller, and an unsplit one gives +only the cells inside the domain. """ from __future__ import annotations @@ -62,10 +50,10 @@ def _lon_origin(convention: str) -> float: @dataclass(frozen=True) class GridSpec: - """Validated grid description; index math derives from these fields alone. - - Construct via `GridSpec.from_config(grid_config)`. The dataclass is frozen - so caching by identity / hashing works for downstream partitioning. + """A validated grid, frozen and hashable, from which all the index math + follows. Build it with `GridSpec.from_config` or + `GridSpec.from_source_version`. A prebuilt grid has a NaN resolution and + cell counts of -1. """ mode: str @@ -80,12 +68,10 @@ class GridSpec: @property def source_version(self) -> str: - """The grid's identity as a source version string. - - A grid is fully described by its resolution, offset and - longitude convention, so those are the version: data built on - the same grid states the same string and the application-time - version check compares them, exactly as polygon versions do. + """The grid's identity as a source version string, such as + ``grid-0.25deg-center-[-180,180)``, made of its resolution, offset + and longitude convention. Version checks compare these strings + exactly, as they do polygon versions. """ return f"grid-{self.resolution}deg-{self.offset}-{self.lon_convention}" @@ -132,7 +118,8 @@ def from_source_version(cls, source: str) -> "GridSpec": ``grid-0.25deg-center-[-180,180)``. Any other spelling raises, including one that names the same grid differently (``grid-.25deg-...``), since versions are compared as exact - strings. + strings. Raises also when the resolution does not tile the globe + evenly. """ m = GRID_SOURCE_PATTERN.match(source) if m is None: @@ -172,11 +159,9 @@ def domain_lat(self) -> Tuple[float, float]: return _LAT_ORIGIN, _LAT_ORIGIN + _LAT_SPAN def centroid(self, ix, iy): - """Return (lon, lat) of the cell centroid(s). Vectorised. - - Accepts scalars or arrays. No bounds-checking; passing ix outside - [0, n_ix) is the caller's responsibility (the result is still - mathematically well-defined). + """The (lon, lat) centroid of each cell in degrees, for scalar or + array indices. Indices outside the grid are not checked and give + centroids beyond the domain. """ ix_a = np.asarray(ix) iy_a = np.asarray(iy) @@ -186,11 +171,10 @@ def centroid(self, ix, iy): return lon, lat def index_of(self, lon, lat): - """Return integer (ix, iy) cells containing (lon, lat). Vectorised. - - Uses floor((coord - origin)/res + index_half). At exact cell - boundaries the upper cell is chosen, matching the half-open - [low, high) extent convention. + """The integer (ix, iy) of the cell holding each (lon, lat), for + scalars or arrays. A point on a cell boundary goes to the upper + cell, since a cell spans [low, high). Points outside the domain are + neither wrapped nor checked. """ lon_a = np.asarray(lon, dtype=float) lat_a = np.asarray(lat, dtype=float) @@ -211,7 +195,8 @@ def cell_polygon(self, ix: int, iy: int) -> Polygon: ) def cell_polygons(self, ix, iy) -> np.ndarray: - """Vectorised cell polygon construction; returns an object ndarray.""" + """Shapely polygons for many cells at once, in lon/lat degrees, as an + object ndarray.""" ix_a = np.asarray(ix, dtype=np.int64) iy_a = np.asarray(iy, dtype=np.int64) lon_c, lat_c = self.centroid(ix_a, iy_a) @@ -226,11 +211,11 @@ def index_range_for_bbox( maxx: float, maxy: float, ) -> Tuple[range, range]: - """Inclusive ranges of (ix, iy) covering [minx,maxx] x [miny,maxy]. - - Clipped to the global grid domain; never wraps the antimeridian. Some - cells touching only the bbox boundary may be included (the downstream - intersection test filters zero-overlap cells, so this is harmless). + """The ``range`` of ix and of iy covering [minx, maxx] x [miny, maxy], + clipped to the grid domain and never wrapped. Cells that only touch + the bbox edge may be included. A bbox wholly outside the domain + gives two empty ranges. Raises if maxx is below minx or maxy below + miny. """ if maxx < minx or maxy < miny: raise ValueError( @@ -262,11 +247,10 @@ def enumerate_cells( def infer_uniform_resolution(coords: Iterable[float], tol: float = 1e-9) -> float: - """Return the constant step size in `coords` (assumed sorted, unique). - - Raises ValueError if the steps are not uniform within `tol`. Used by the - prebuilt-grid loader to validate that the user-supplied cell coordinates - are on a regular grid. + """The constant step between neighbouring values of `coords`, which must + be sorted and unique. Raises if there are fewer than two values, if the + first step is not positive, or if any step differs from the first by + more than `tol`. """ arr = np.asarray(list(coords), dtype=float) if arr.size < 2: @@ -303,17 +287,16 @@ def __init__(self, lo: float, hi: float, candidates: list[str]): def _spacing(coords: np.ndarray) -> float: - """Gap between neighbouring representable values at the largest coordinate.""" + """The gap between neighbouring values of the coordinates' dtype at the + coordinate largest in magnitude.""" top = coords[np.argmax(np.abs(coords))] return float(np.spacing(np.abs(top))) def _shortest_decimal(x: float, tol: float) -> float: - """The shortest decimal within ``tol`` of ``x``. - - A float32 file stores 0.1 as 0.10000000149 and its steps wobble by - the coordinate spacing, so the step is snapped to the fewest digits - that stay inside the tolerance: 0.100006 becomes 0.1, 0.25 stays. + """``x`` rounded to the fewest decimal digits that keep it within + ``tol``, or ``x`` itself when nine digits are not enough. A float32 + step of 0.10000000149 becomes 0.1, and 0.25 stays 0.25. """ for digits in range(0, 10): r = round(x, digits) @@ -323,13 +306,12 @@ def _shortest_decimal(x: float, tol: float) -> float: def coordinate_tolerance(coords: np.ndarray, resolution: float) -> float: - """How far a stored coordinate may sit from its cell centre. - - 1e-6 of a cell, or twice the spacing of the coordinate's own dtype - if that is larger: a float32 longitude near 180 cannot be closer to - a 0.1 degree centre than about 1e-5. Raises when the dtype is so - coarse that the tolerance passes one percent of a cell, since a - check that loose no longer separates neighbouring grids. + """How far a stored coordinate may sit from its cell centre, in + degrees. It is 1e-6 of a cell, or twice the spacing of the coordinates' + own dtype at their largest magnitude if that is larger, as it is for + float32 longitudes. Raises when the tolerance passes one + percent of a cell, since a check that loose no longer tells + neighbouring grids apart. """ tol = max(1e-6 * resolution, 2.0 * _spacing(coords)) if tol > 0.01 * resolution: @@ -342,25 +324,24 @@ def coordinate_tolerance(coords: np.ndarray, resolution: float) -> float: def infer_grid_version(lat, lon) -> str: - """The grid identity a file's 1-D latitudes and longitudes sit on. - - The resolution is the constant step between neighbours (either - direction), snapped so a float32 file - gives 0.1, not 0.10000000149 (the shortest decimal within the - coordinates' own precision). Centre or edge comes from where the - coordinates fall against the -90 and longitude origins, and the two + """The grid identity a file's 1-D latitudes and longitudes sit on, + such as ``grid-0.25deg-center-[-180,180)``. + + The resolution is the constant step between neighbours in either + direction, snapped to the shortest decimal within the coordinates' own + precision, so a float32 file gives 0.1 and not 0.10000000149. Latitude + and longitude must have the same step. Centre or edge comes from where + the coordinates fall against the -90 and longitude origins, and the two axes must agree. The longitude convention is [0,360) when any value - exceeds 180 and [-180,180) when any is negative. A file with - longitudes only in [0,180] fits both, so this raises - `AmbiguousLongitudeConvention`, which carries both identities, and - the caller must pick one. - - Latitude and longitude steps must be equal. The identity string - holds one resolution, so unequal steps raise. - - Raises when the steps are not uniform, there are fewer than two - values on an axis, or the coordinates fit no grid. It does not - check the result against the coordinates; `cell_indices` does. + exceeds 180 and [-180,180) when any is negative. Longitudes only in + [0,180] fit both, so this raises `AmbiguousLongitudeConvention`, which + carries both identities for the caller to pick from. + + Raises when an axis has fewer than two values or a value that is not + finite, when the steps are not uniform or differ between the axes, when + the dtype is too coarse to place the coordinates, or when the + coordinates fit no grid. The result is not checked against the + coordinates. `cell_indices` does that. """ lat = np.asarray(lat) lon = np.asarray(lon) @@ -436,15 +417,15 @@ def infer_grid_version(lat, lon) -> str: def cell_indices(spec: GridSpec, values, axis: str, *, tol: float | None = None): - """Integer cell index along one axis for 1-D cell-centre coordinates. - - ``axis`` is "lon" or "lat". Longitudes are wrapped into the grid's - convention first. Each index is mapped back to its centroid, and - every value must match that centroid within ``tol`` (default 1e-6 - of a cell) and fall inside the grid; a miss raises with the first - offending values. That round trip is what catches coordinates built - on another origin, or given as cell edges where the grid has - centres. + """The integer cell index along one axis of each 1-D cell-centre + coordinate. ``axis`` is "lon" or "lat", and longitudes are first + wrapped into the grid's convention. + + Every value must be finite, fall inside the grid and lie within ``tol`` + of its cell's centroid, 1e-6 of a cell by default. Raises with the + first offending values otherwise, which catches coordinates on another + origin and cell edges given where the grid has centres. Raises also on + any other ``axis``. """ given = np.asarray(values, dtype="float64") if axis == "lon": diff --git a/cil_regionalization/io.py b/cil_regionalization/io.py index 6a108c0..e52e3b5 100644 --- a/cil_regionalization/io.py +++ b/cil_regionalization/io.py @@ -1,8 +1,9 @@ -"""Result writers. +"""Writes a weights result as Parquet, CSV or both, with its JSON +manifest beside it. -Writes the canonical output frame as Parquet (default), CSV, or both, and -a JSON manifest sidecar. Local paths and `gs://` URIs are supported; the -GCS path uses `gcsfs` which is part of the `[bigquery]` extra. +The output directory is a local path or a `gs://` URI, which needs +`gcsfs` from the `[bigquery]` extra. A local write records each frame +file's SHA256 in the manifest, and a `gs://` write records none. """ from __future__ import annotations diff --git a/cil_regionalization/leaves.py b/cil_regionalization/leaves.py index 3ab683f..2f725e7 100644 --- a/cil_regionalization/leaves.py +++ b/cil_regionalization/leaves.py @@ -255,9 +255,12 @@ def _string_array(column: pd.Series) -> pa.Array: def _dimension_array(name: str, column: pd.Series) -> pa.Array: - """A leaf's own dimension as an Arrow array. Integers and floats - keep their width. Raises on a dtype that pandas 2 and pandas 3 write - differently.""" + """A leaf's own dimension as an Arrow array. Integers, floats and + booleans keep their width, and plain strings become Arrow strings. + Raises on any other dtype, such as a categorical, datetime or + nullable one.""" + # a categorical, datetime or nullable column is refused because + # pandas 2 and pandas 3 write it differently dtype = column.dtype if isinstance(dtype, np.dtype) and dtype.kind in "iufb": return pa.array(column.to_numpy()) @@ -320,7 +323,8 @@ def write_leaf( identity: dict, targets_per_group: int = TARGETS_PER_GROUP, ) -> WrittenLeaf: - """Write one aggregated leaf. + """Write one aggregated leaf and return what was written, for the + leaves manifest. ``frame`` is what `apply_weights` returned. The file has an int32 `ORDINAL_COLUMN` first, then the columns of ``frame`` in their @@ -328,7 +332,8 @@ def write_leaf( the next multiple and is empty where the leaf has none of them. ``identity`` goes into the footer with the layout. The file is written under a temporary name and renamed, so a file under ``path`` - is always whole. + is always whole. Raises if the value column is not float64, or a + row names a target the table does not have. """ path = Path(path) if ORDINAL_COLUMN in frame.columns: diff --git a/cil_regionalization/legacy_compare.py b/cil_regionalization/legacy_compare.py index 9fe4970..b5faeed 100644 --- a/cil_regionalization/legacy_compare.py +++ b/cil_regionalization/legacy_compare.py @@ -1,25 +1,18 @@ -"""Characterization comparison of our crop weights vs the legacy CSV. - -Our crop weights are NOT expected to match the legacy file byte-for-byte. -The legacy script uses planar-degree 'area' (a known bug), centroid-only -raster handling in some paths, and a different fallback (the polylabel -1e-5 hack vs our marked 'nan' policy). What is meaningful to check: - - 1. After per-region sum-to-1 normalization, does the spatial - distribution of cropwt agree across cells? The normalization - cancels the area-unit difference and isolates whether the - SPATIAL allocation of weight is the same. - 2. Do the two pipelines agree on which regions have zero cropland - (NaN cropwt in both files)? - 3. For regions with non-zero crop, does the cell carrying the most - weight agree? Disagreement here is the real signal; a real - spatial bug looks like "the maximum-weight cell moved by N - pixels", not "the maximum-weight cell's weight is 0.41 vs 0.43". - -This module reports distributions; it does not assert pass/fail. The -notebook + script wrap it for the RCC run. - -RCC env (use exactly this in every invocation):: +"""Compares this package's crop weights with the legacy weights CSV. + +The two are not expected to match byte for byte. The legacy script +takes 'area' in planar degrees, a known bug, handles rasters by +centroid only in some paths, and falls back to the polylabel 1e-5 hack +where this package marks the weight 'nan'. The comparison takes the +per-region weight shares, which cancel the difference in area units, +and asks whether their spatial distribution across cells agrees, +whether both sides find the same regions without cropland (NaN +``cropwt`` in both), and whether each region's maximum-weight cell is +the same cell. A moved maximum-weight cell is the sign of a real +spatial disagreement. The report describes the differences and is not +a pass or fail check. + +On the RCC, run it in this environment:: module load python source activate /project/cil/home_dirs/rcc/envs/climate_data_aggregation/ @@ -42,11 +35,12 @@ @dataclass(frozen=True) class ComparisonReport: - """Per-region characterization of our crop weights vs the legacy CSV. + """Per-region comparison of our crop weights with the legacy CSV. - Empty `mismatched_zero_set` and `mass_displaced_regions` indicate - the pipelines agree on the qualitative shape; the numeric `delta` - fields characterize the boundary noise. + Zero `n_regions_ours_nan_legacy_native` and + `n_regions_legacy_nan_ours_native` and an empty + `mass_displaced_regions` mean the two agree in shape, and the + `delta` fields measure the noise at boundaries. """ weight: str # "crop" by default @@ -91,16 +85,17 @@ def compare_weights( weight: str = "crop", coord_round: int = _COORD_ROUND, ) -> ComparisonReport: - """Characterize our `weight`wt vs legacy `weight`wt across regions. - - Both frames must follow the legacy 13-column schema (hierid, - pix_cent_x, pix_cent_y, ````, ``wt``). Pass our - canonical frame through `legacy_export.to_legacy_frame` first. - - Join key is ``(hierid, pix_cent_x, pix_cent_y)`` rounded to - `coord_round` decimals. Regions present in only one frame are - counted (NaN-mismatch buckets) but contribute neither to the - delta distribution nor the mass-displacement check. + """A `ComparisonReport` of our ``wt`` against the legacy + ``wt`` across regions. + + Both frames are in the legacy layout with hierid, pix_cent_x, + pix_cent_y and ``wt``, so our canonical frame goes through + `legacy_export.to_legacy_frame` first. They are joined on + ``(hierid, pix_cent_x, pix_cent_y)`` with the coordinates rounded to + `coord_round` decimals. A region with a weight on one side only is + counted as a NaN mismatch and is left out of the differences and + the mass-displacement check. Raises if a frame lacks one of the + columns. """ wt_col = f"{weight}wt" for f in (ours, legacy): @@ -214,10 +209,6 @@ def _max_cell(group: pd.DataFrame, col: str) -> tuple[float, float]: def load_legacy_csv(path: str | Path) -> pd.DataFrame: - """Load a legacy 13-column weights CSV. - - Trivial wrapper around `pd.read_csv`; exists so script and notebook - call sites are uniform and so a future legacy-format fork (different - column names) can land here without touching consumers. - """ + """A legacy weights CSV, read by `pd.read_csv` as it is.""" + # one place for a later legacy format with other column names return pd.read_csv(path) diff --git a/cil_regionalization/legacy_export.py b/cil_regionalization/legacy_export.py index d60396e..72aa589 100644 --- a/cil_regionalization/legacy_export.py +++ b/cil_regionalization/legacy_export.py @@ -1,26 +1,19 @@ -"""Legacy 13-column CSV exporter. +"""Writes weights in the column layout of the legacy weights CSV. -The legacy ``intersect_zonalstats_par.py`` writes per-region weight files -with this column order: +The legacy ``intersect_zonalstats_par.py`` writes per-region weight +files with the columns area, crop, hierid, pix_cent_x, pix_cent_y, pop, +areatotal, poptotal, croptotal, areawt, popwt, cropwt and shpid, in +that order. Downstream consumers, the splines pipeline and the indirect +impact pipelines, read ``hierid``, ``pix_cent_x`` / ``pix_cent_y`` and +the relevant ``*wt`` column. Here ``shpid`` is the 0-based dense rank +of the hierid in ascending order, not the legacy writer's per-shapefile +constant. - area, crop, hierid, pix_cent_x, pix_cent_y, pop, - areatotal, poptotal, croptotal, - areawt, popwt, cropwt, - shpid +``cropwt`` is NaN for a region with no cropland, the outcome of the +``fallback = "nan"`` policy, as in the legacy files. Downstream +aggregation fills it per pixel from ``areawt``. -Downstream consumers (splines pipeline, indirect impact pipelines) read -``hierid``, ``pix_cent_x`` / ``pix_cent_y``, and the relevant ``*wt`` -column. ``shpid`` is a per-shapefile constant in the legacy writer and -is never used as a join key in any reader we have visibility into; the -exporter here fills it with the 0-based dense rank of the hierid sorted -ascending. That is portable across backends and deterministic. - -NaN handling: ``cropwt`` is NaN for regions with zero cropland (the -``fallback = "nan"`` policy outcome). The legacy file convention is the -same; the downstream backfills per-pixel with ``areawt`` at -aggregation time. - -Env note for the RCC HPC where this exporter is used:: +On the RCC, run it in this environment:: module load python source activate /project/cil/home_dirs/rcc/envs/climate_data_aggregation/ @@ -63,21 +56,14 @@ def to_legacy_frame(result: WeightsResult) -> pd.DataFrame: - """Translate the canonical weights frame into the legacy 13-column schema. - - The result must carry ``area``, ``crop``, and ``pop`` weights (the - legacy schema is a fixed shape; this exporter is not the place for - runtime weight discovery). The id field must be a single ``hierid`` - column; multi-key region sets are out of scope for the legacy - format. - - NaN cropwt entries from the ``fallback = "nan"`` policy are - preserved verbatim. ``croptotal`` for such regions is 0.0 (the sum - of ``crop_raw`` is genuinely zero); ``cropwt`` is NaN. Both signals - arrive at the downstream consumer. - - Raises ``ValueError`` naming the missing input if any required - weight column is absent. + """The canonical weights frame of ``result`` in the legacy column + layout, with the totals summed from the raw weights per hierid. + + A NaN ``cropwt`` from the ``fallback = "nan"`` policy is kept, and + such a region's ``croptotal`` is 0.0, the sum of its ``crop_raw``. + Raises ``ValueError`` naming the missing input if any of the + ``area``, ``crop`` and ``pop`` weights is absent, and raises if the + id fields are anything but a single ``hierid``. """ frame = result.frame weight_names = result.schema.weight_names @@ -120,13 +106,10 @@ def to_legacy_frame(result: WeightsResult) -> pd.DataFrame: def _dense_rank_hierid(hierid: pd.Series) -> pd.Series: - """0-based dense rank of hierid in sorted ascending order. - - Deterministic, backend-agnostic, and survives a reorder of the - underlying frame. NOT the legacy "per-shapefile constant tag" -- - downstream consumers do not join on shpid, so a stable integer - per-region is the safer surface. - """ + """The 0-based dense rank of each hierid in ascending order, the + same for any order of the frame and on either backend.""" + # Not the legacy per-shapefile constant. Downstream consumers do not + # join on shpid, so a stable integer per region is the safer choice. unique = pd.Series(sorted(hierid.unique())) rank_map = pd.Series(range(len(unique)), index=unique) return hierid.map(rank_map).astype("int64") @@ -136,11 +119,9 @@ def write_legacy_csv( result: WeightsResult, output_path: str | Path, ) -> str: - """Write ``result`` as a legacy 13-column CSV at ``output_path``. - - Returns the written path. ``gs://`` URIs are supported via gcsfs. - Parent directories are created automatically for local paths. - """ + """Writes ``result`` as a legacy weights CSV at ``output_path``, a + local path or a ``gs://`` URI, and returns the path. The parent + directories of a local path are created.""" frame = to_legacy_frame(result) if str(output_path).startswith("gs://"): import gcsfs diff --git a/cil_regionalization/manifest.py b/cil_regionalization/manifest.py index af42aed..0af91f0 100644 --- a/cil_regionalization/manifest.py +++ b/cil_regionalization/manifest.py @@ -1,10 +1,9 @@ -"""Run manifest: provenance, costs, and counts written next to the output. +"""The run manifest, a small JSON file written next to a weights file. -A manifest is a small JSON sidecar. It carries the config hash, input -identifiers (file checksums or BQ table ids), package versions, the -backend used, fallback counts per weight, timing, and row counts. The -goal is reproducibility-by-recognition: someone returning to a Parquet -later should be able to tell what produced it, how, and how to redo it. +It records the config hash, the input identifiers (file checksums or BQ +table ids), the package versions, the backend, the fallback counts of +each weight, the timing and the row counts, so that a reader of the +weights file can tell what produced it and how to produce it again. """ from __future__ import annotations @@ -138,19 +137,18 @@ def collect_package_versions( def record_schema(manifest: Manifest, schema: OutputSchema) -> None: - """Copy the schema's column roles into the manifest. - - Called by every backend after it resolves the OutputSchema, so a - written artifact carries enough structure to be reloaded and applied - without guessing column meanings. - """ + """Copy the schema's id fields, source key columns and weight names + into the manifest, which `WeightsArtifact.load` needs to rebuild the + schema.""" manifest.id_fields = list(schema.id_fields) manifest.source_key_columns = list(schema.source_units.key_columns) manifest.weight_names = list(schema.weight_names) def build_manifest(cfg: Config) -> Manifest: - """Initialise a Manifest from the config; backend code fills in the rest.""" + """A Manifest holding what the config says of the run, for the backend + to fill in with the rest. A grid run's ``source_version`` is the + grid's own identity, as `GridSpec.source_version` writes it.""" return Manifest( config_hash=hash_config(cfg), backend=cfg.backend.kind, diff --git a/cil_regionalization/merge.py b/cil_regionalization/merge.py index f99028c..58aa649 100644 --- a/cil_regionalization/merge.py +++ b/cil_regionalization/merge.py @@ -1,23 +1,14 @@ -"""Two-source weights merge utility. - -The s51 deliverable is split across two runs: the canonical BigQuery run -(24,361 valid hierids from the IR table) and the shapefile-source -supplement run (the 17 NULL-in-IR hierids from the source shapefile). -Both produce the same `OutputSchema`. This module combines them with -hard invariants: - -- inputs' hierid sets are disjoint (a hierid must come from exactly one - source), -- combined unique hierid count == ``expected_total`` (24,378), -- the merged frame still satisfies sum-to-1 per region per weight, -- a ``source`` column says which part a row came from (values: - ``"canonical"`` / ``"supplement"``), -- the merged manifest records both source manifests' config hashes, - input identifiers, and per-source row counts so the merge is - reproducible. - -Used by `examples/s51/merge.py`; the function below is the unit-testable -core. +"""Two-source weights merge utility, used by `examples/s51/merge.py`. + +The s51 weights come from two runs of the same `OutputSchema`, the +canonical BigQuery run over the hierids of the IR table and a supplement +run from the source shapefile over the hierids whose IR geometry is +NULL. `merge_weights` refuses inputs that share a hierid, that do not +hold ``expected_total`` hierids between them, or whose merged weights +no longer sum to 1 per region per weight. A ``source`` column says +which part a row came from, ``"canonical"`` or ``"supplement"``, and the +merged manifest records both inputs' config hashes, input identifiers +and row counts. """ from __future__ import annotations @@ -56,10 +47,12 @@ def merge_weights( expected_total: int, tolerance: float = 1e-6, ) -> MergeResult: - """Combine the canonical BQ run with the shapefile-source supplement. - - Hard invariants enforced; any failure raises with a precise message. - """ + """The `MergeResult` of the canonical BQ run and the shapefile-source + supplement, whose frame has a ``source`` column for the part each row + came from. Raises if the two frames share a value of the first id + field, if they do not hold ``expected_total`` distinct values of it + between them, if a frame lacks a column of ``schema``, or if the + merged weights fail sum-to-1.""" id_fields = list(schema.id_fields) primary = id_fields[0] diff --git a/cil_regionalization/model_weights.py b/cil_regionalization/model_weights.py index 0cb2509..53b7c5c 100644 --- a/cil_regionalization/model_weights.py +++ b/cil_regionalization/model_weights.py @@ -55,7 +55,8 @@ def weight_of(self, member: str) -> float: def attach(self, members: pd.Series) -> pd.Series: """The weight of each row's member, as float64 on the index of - ``members``. Raises if a member has no row in the table.""" + ``members``. Raises if a member has no row in the table, or a + row names no member.""" codes, distinct = pd.factorize(members) absent = self.missing(distinct) if absent or (codes < 0).any(): @@ -68,12 +69,11 @@ def attach(self, members: pd.Series) -> pd.Series: return pd.Series(per_member[codes], index=members.index, name="model_weight") def record(self, members: Iterable[str]) -> dict: - """The manifest entry of a run, given one member value per leaf - that was pooled. ``members`` holds each model attached, with its - table row, its weight and its number of leaves. - ``unmatched_rows`` holds the rows no member matched with their - weights, so the two together are the whole table. Raises if a - member has no row.""" + """The manifest entry of a run, given the member of each leaf + that was pooled. Its 'members' holds each member with its table + row, its weight and its number of leaves, and 'unmatched_rows' + the weight of every row no member matched, so the two together + cover the whole table. Raises if a member has no row.""" counts = Counter(members) absent = self.missing(counts) if absent: diff --git a/cil_regionalization/nearest_cell.py b/cil_regionalization/nearest_cell.py index e9c20e4..5894f6f 100644 --- a/cil_regionalization/nearest_cell.py +++ b/cil_regionalization/nearest_cell.py @@ -1,23 +1,21 @@ -"""Nearest-cell synthesis for regions invisible to the grid. +"""Nearest-cell rows for regions invisible to the grid. Some IR regions are small enough that, at a given grid resolution, the -geodesic intersection with every overlapping cell rounds to zero; these -regions would otherwise be dropped from the output. The synthesis here -guarantees coverage: one row per such region at the cell that contains -the region's representative point (shapely's `representative_point`, -which is always inside the polygon, unlike a raw centroid). - -The synthesized row carries `popwt = areawt = 1.0` and method label -`nearest_cell` for every weight in the output schema. This replaces the -legacy 1e-5 dummy-weight hack from `refs/create_cil_regionalization.py`. -That approach is deliberately banned here: a magic near-zero weight -pollutes normalization and hides missing coverage, where a marked -`nearest_cell` row keeps the accounting explicit and countable. - -Apply at the END of a backend's pipeline so the synthesized rows are not -re-processed by `apply_fallback`. +geodesic intersection with every overlapping cell rounds to zero, and +they would otherwise be left out of the output. Each such region gets +one row at the cell that contains its representative point, which +shapely's `representative_point` keeps inside the polygon. The row has +weight 1, raw total 0 and the method label `nearest_cell` for every +weight in the output schema. The rows are added at the end of a +backend's pipeline, after `apply_fallback`, which would otherwise +process them again. """ +# The legacy pipeline (`refs/create_cil_regionalization.py`) gave such +# regions a 1e-5 dummy weight instead. A near-zero weight pollutes +# normalization and hides the missing coverage, where a marked +# nearest_cell row keeps the accounting explicit and countable. + from __future__ import annotations from typing import Iterable @@ -38,20 +36,16 @@ def synthesize_rows( id_fields: list[str], weight_names: Iterable[str], ) -> pd.DataFrame: - """One synthesized row per region. - - Parameters - ---------- - region_geoms : mapping from id-tuple (e.g., ``('ABW',)``) to shapely - geometry. Empty geometries are skipped. - grid : the run's GridSpec. Used to bin the representative point. - id_fields : the run's id-field names in order matching the tuple keys. - weight_names : every weight column to fill (e.g., ``['pop', 'area']``). - - Returns - ------- - DataFrame with columns ``id_fields + cell_ix + cell_iy + cell_lon + - cell_lat + {name}wt + {name}_raw + {name}_method`` for each weight. + """One synthesized row per region, at the cell of ``grid`` that holds + its representative point, with weight 1, raw total 0 and method + ``nearest_cell`` for each of ``weight_names``. + + ``region_geoms`` maps id tuples such as ``('ABW',)``, in the order of + ``id_fields``, to shapely geometries, and empty or missing geometries + are skipped. The columns are ``id_fields + cell_ix + cell_iy + + cell_lon + cell_lat`` and ``{name}wt``, ``{name}_raw`` and + ``{name}_method`` for each weight. Raises if a representative point + falls outside the grid. """ weight_names = list(weight_names) rows: list[dict] = [] @@ -103,10 +97,8 @@ def find_missing_regions( requested_ids: Iterable[tuple], id_fields: list[str], ) -> set[tuple]: - """Return the id-tuples present in `requested_ids` but absent from - `final_frame`. Used by both backends to decide which regions need - nearest_cell synthesis after the normal pipeline runs. - """ + """The id tuples of `requested_ids` that have no row in `final_frame`, + the regions that need a nearest_cell row.""" if len(final_frame) == 0: present: set[tuple] = set() else: diff --git a/cil_regionalization/netcdf_io.py b/cil_regionalization/netcdf_io.py index 4555280..8650a09 100644 --- a/cil_regionalization/netcdf_io.py +++ b/cil_regionalization/netcdf_io.py @@ -1,21 +1,17 @@ -"""NetCDF leaf reader: flatten a dataset to the long form application takes. +"""Reads NetCDF files into the long frames and cell tables that +`apply_weights` takes. -Optional dependency, handled the way the BigQuery backend handles its -extra: importing this module is always safe, and the reader raises a -message naming ``cil_regionalization[netcdf]`` when xarray is absent. +Importing this module is always safe. A reader raises with a message +naming ``cil_regionalization[netcdf]`` when xarray is absent. -The reader is deliberately dumb. It selects the requested variables, -flattens every dimension combination to one row, and renames the -declared region dimension to the caller's region column. It does not -sort, reindex, fill, or drop: values come out exactly as stored, NaN -included, in the file's own coordinate order. If the region coordinate -carries values the weights artifact does not know, the application -layer's coverage check reports that; papering over it here would hide -exactly the condition those checks exist to surface. - -Non-dimension coordinates on the selected variables (a scalar scenario -label, for example) come along as columns and behave downstream like any -other passthrough dimension. +`read_netcdf_leaf` selects the requested variables, flattens every +combination of dimensions to one row, and renames the declared region +dimension to the caller's region column. It does not sort, reindex, +fill or drop, so values come out as stored, NaN included, in the file's +own coordinate order. A region the weights artifact does not know is +reported by the coverage check in `apply_weights`. Non-dimension +coordinates on the selected variables, such as a scalar scenario label, +come along as columns and pass through like any other dimension. """ from __future__ import annotations @@ -50,41 +46,33 @@ def read_netcdf_leaf( region_labels: str | None = None, kind: str | None = None, ) -> pd.DataFrame: - """Read one NetCDF leaf into a long frame. - - ``variables`` are the data variables to carry (one for extensive or - intensive application; numerator and denominator for ratio). - ``region_dim`` is the file's name for the region dimension, declared - in config rather than assumed; it is renamed to ``region_col``, the - weights artifact's source key column. Everything else flattens to - ordinary columns. + """One NetCDF leaf as a long frame, one row per combination of the + dimensions of ``variables``. - Some trees carry no coordinate on the region dimension and store - the region ids in a separate variable instead (the mortality trees - keep them in ``regions``). Without a coordinate the region column - would come out as positional integers, so ``region_labels`` names - that variable and its values become the region coordinate before - flattening. Declared like everything else: the reader does not - guess which variable holds the ids. + ``variables`` are the data variables to carry, one for extensive or + intensive application and the numerator and denominator for ratio. + ``region_dim`` is the file's name for the region dimension, and it + is renamed to ``region_col``, the weights artifact's source key + column. Some trees have no coordinate on the region dimension and + keep the region ids in a separate variable, as the mortality trees + do in ``regions``. ``region_labels`` names that variable, and its + values become the region coordinate. Without it such a region + column comes out as positional integers. - ``kind`` optionally names the aggregation kind the caller intends, - enabling the units backstop: a variable whose ``units`` attribute - contains a percent sign is a ratio, and summing a ratio across - regions is meaningless, so reading it under ``kind="extensive"`` - raises. This catches exactly one failure (percent-labeled ratios - declared extensive, like a "% GDP" levels file); it cannot catch - ratios with percent-free unit strings, missing units attributes, or - the same mistake arriving through parquet and csv leaves, which - carry no units metadata. The kind declaration itself remains the - caller's responsibility. + With ``kind="extensive"`` the read raises if a variable's ``units`` + attribute contains a percent sign, since that variable is a ratio. A + ratio whose units have no percent sign, or that has no units, is not + caught. Also raises if a variable is missing, if ``region_dim`` is + not one of their dimensions, if ``region_labels`` is missing or not + on ``region_dim`` alone, or if ``region_col`` is already a column. - In the mortality and labor Monte Carlo trees, the effect of - climate change is ``rebased`` from a ``...-combined.nc4`` file - minus ``rebased`` from its ``-histclim`` sibling; the value on its - own is not it. No adaptation is the exception and stands alone. - The Climate Impact Lab memo "The art of rebasing and histclim" has - the reasoning; the Mexico example (examples/rates) shows the - subtraction. + In the mortality and labor Monte Carlo trees the effect of climate + change is ``rebased`` from a ``...-combined.nc4`` file minus + ``rebased`` from its ``-histclim`` sibling, and the value of one + file alone is not it. No adaptation is the exception and stands + alone. The Climate Impact Lab memo "The art of rebasing and + histclim" gives the reasoning, and the Mexico example in + examples/rates shows the subtraction. """ xr = _import_xarray() variables = list(variables) @@ -149,51 +137,41 @@ def read_netcdf_grid( lon: str = "lon", grid: "str | GridSpec | None" = None, ) -> tuple[pd.DataFrame, str]: - """Read a NetCDF on a regular lat-lon grid into a cell table. - - Returns ``(cells, grid)``. ``cells`` has one row per cell and - slice, with ``cell_ix`` and ``cell_iy`` on the grid, one column per - variable, and any other dimension (time, say) as a column, as - `read_netcdf_leaf` does. ``grid`` is the identity string, for - example ``grid-0.25deg-center-[-180,180)``; pass it to - `apply_weights` as ``data_version``. - - ``lat`` and ``lon`` name the file's 1-D coordinate variables, each - the coordinate of a dimension of the same name; every variable must - have both. Coordinate names are never guessed. + """``(cells, grid)`` from a NetCDF on a regular lat-lon grid. - The grid is ``grid`` if given, as the identity string or a - `GridSpec`, and otherwise derived from the coordinates - (`infer_grid_version`). With ``grid``, longitudes are wrapped into - its convention, so a [0,360) file can be put on a [-180,180) grid. - Either way each coordinate is mapped to its cell index and back to a - centroid, and the read raises if any value is not a cell centre on - that grid. No data is moved or reordered: indices come from each - row's own coordinates, so the order of the axes does not matter. - Nothing is regridded or snapped. + ``cells`` has one row per cell and slice, with ``cell_ix`` and + ``cell_iy`` on the grid, one column per variable, and any other + dimension, such as time, as a column. ``grid`` is the identity + string, for example ``grid-0.25deg-center-[-180,180)``, to pass to + `apply_weights` as ``data_version``. ``lat`` and ``lon`` name the + file's 1-D coordinate variables, each the coordinate of a dimension + of the same name, and every variable must have both. - A subset whose longitudes all lie in [0,180], such as a cut of - Europe, Asia or Africa, always needs ``grid``. The same coordinates - are valid on both longitude conventions, so nothing in the file can - say which one your weights were built on. The error for this case - is not a bug; it prints the two calls that would work. A file with a - coordinate beyond 180 or below 0 is not affected. + The grid is ``grid`` if given, as the identity string or a generated + `GridSpec`, and otherwise `infer_grid_version` derives it from the + coordinates. With ``grid``, longitudes are wrapped into its + convention, so a [0,360) file can be put on a [-180,180) grid. The + indices come from each row's own coordinates, so the order of the + axes does not matter, and nothing is regridded or snapped. - Limit: cells must be square. The grid identity holds one - resolution, so a file whose latitude and longitude steps differ - raises instead of being read. The identity's spelling is fixed by - the weight files already on Zenodo. Allowing two steps would change - `GridSpec`, `GridConfig`, the manifest, `validate` and the BigQuery - backend, and would still not read Gaussian grids or grids with - latitude points on the poles, whose latitude step does not divide - 180 degrees. + A file whose longitudes all lie in [0,180], such as a cut of Europe, + Asia or Africa, fits both longitude conventions and needs ``grid``. + Without it the error prints the two calls that would work. Without + ``grid``, a file whose latitude and longitude steps differ also + raises, since a grid identity holds one resolution. - Cells masked (NaN) in every slice are left out, as - `DailyGrid.to_cells` does, so `apply_weights` reports a weighted - cell that has no data instead of averaging around it. A cell masked - in some slices and not others raises. Two coordinates that land on - the same cell (a longitude of both -180 and 180) raise. + Cells masked (NaN) in every slice are left out, as in + `DailyGrid.to_cells`, and `apply_weights` reports a weighted cell + that has no data. Raises if a variable or coordinate is missing, if + any coordinate is not a cell centre on the grid, if two coordinates + land on one cell, such as longitudes of both -180 and 180, or if a + cell is masked in some slices and not others. """ + # The identity's spelling is fixed by the weight files already on + # Zenodo. Allowing two steps would change GridSpec, GridConfig, the + # manifest, validate and the BigQuery backend, and would still not + # read Gaussian grids or grids with latitude points on the poles, + # whose latitude step does not divide 180 degrees. xr = _import_xarray() from cil_regionalization.grid import ( AmbiguousLongitudeConvention, diff --git a/cil_regionalization/pipelines/__init__.py b/cil_regionalization/pipelines/__init__.py index fe58843..29eabcb 100644 --- a/cil_regionalization/pipelines/__init__.py +++ b/cil_regionalization/pipelines/__init__.py @@ -1,9 +1,7 @@ -"""Pipeline layer: named workflows composed from the library core. +"""Named workflows built from the library core. -The core (geometry, weights, application, statistics) knows nothing -about file trees, schedulers, or environments. Pipelines add exactly -that composition: resolve a declared data layout, run the core stages -per unit of work, and account for every piece. All site-specific facts -(paths, tree grammars, window bounds, parallelism) arrive through the -pipeline's own config; none live in code. +A pipeline resolves a declared layout of data files, runs the core +stages on each unit of work and accounts for every unit. The paths, the +layout of the tree, the windows and the parallelism all come from the +pipeline's own config. """ diff --git a/cil_regionalization/pipelines/montecarlo.py b/cil_regionalization/pipelines/montecarlo.py index 71b5fbd..e9f6085 100644 --- a/cil_regionalization/pipelines/montecarlo.py +++ b/cil_regionalization/pipelines/montecarlo.py @@ -1,87 +1,49 @@ -"""Monte Carlo aggregation pipeline: apply weights per leaf, then statistics. - -Composes the library core and adds no mathematics. The sequence: - - 1. Resolve the declared tree of Monte Carlo leaves. The directory - grammar is configuration: an ordered list of level names and the - expected values per level. The historical batch/rcp/gcm/iam/ssp - layout is one instance of the pattern; nothing here knows those - names, the depth, or the order. - 2. Fail before any work if a declared leaf is missing on disk. - 3. Per leaf: read the frame and run `apply.apply_weights` with the - configured kind, weight, versions, and policies. Coverage and mass - balance run per leaf exactly as they do for a direct library call, - and a failing leaf fails the run. Optionally write the aggregated - leaf, mirrored under the output directory, in the layout of the - `leaves` module. Then take the window - mean (`stats.window_means`) over the configured windows, collapsing - the time dimension to the window count before anything is pooled, - and attach the leaf's level values as columns to the reduced rows. - 4. Concatenate the reduced leaves and run `stats.pooled_statistics` - once, with the window label as an ordinary identity dimension; - write the combined statistics plus a pipeline manifest recording - every leaf and its accounting. The rows are sorted (`_ordered`), - whatever order the leaves were pooled in. - -Passthrough: leaving the ``[weights]`` section out entirely runs the -same tree walk, subtraction, window reduction, and pooled statistics -with no spatial aggregation at all. The leaf's own regions are the -output rows, keyed by the column ``data.region_col`` names (there is -no artifact to name it), and no coverage or mass-balance accounting -exists because no weights were applied. This produces the statistics -one step before any aggregated product: if a pattern in an aggregated -map looks odd, the passthrough twin says whether it came from the -weighting or from the data. Ratios stay out of passthrough: dividing -numerator by denominator happens at an aggregation target, and without -weights there is no such step. - -The window mean moves before concatenation purely for memory: it is -computed per sample member either way, so the staging is provably -equivalent (the equivalence is a pinned test, not an assumption) while -shrinking the pooled frame by the ratio of years to windows, about 45 -fold for 90 years and two windows. The consequence is that the window -bounds are final before any leaf is processed; the reduced frames carry -no time dimension, so a different window means a rerun, or a run of -the reduce stage if the leaves were kept, and -`stats.window_means` refuses already reduced input rather than silently -relabeling it. The statistics ordering itself is unchanged: spatial -aggregation per draw, then window mean, then statistics over the pooled -sample. - -A run either completes every declared leaf or raises naming what -finished and what did not; there is no silently partial output. The -statistics file is written only after every leaf succeeded. - -Memory at scale, measured rather than estimated: a full mortality ADM2 -run (about 4,000 leaves by 42,726 targets, roughly 500 million member -rows) peaked at 188.3 GB resident in the parent process at the -pooled-statistics stage. Requests of 128 GB died three times at that -scale before the instrumented run produced the number. Size ADM2-scale -requests at 224 GB or more, and read the memory[...] lines the run -prints before trusting any smaller figure. - -Dry run resolves the tree and reports the plan (leaves, their paths, -missing entries, output locations) without creating or writing anything. - -Stages. ``--stage aggregate`` runs steps 1 to 3 without the window mean -and stops. It writes the leaf files and their manifest, +"""Monte Carlo aggregation pipeline, with weights applied leaf by leaf and +statistics taken over the pooled leaves. + +The tree of leaves is declared in the config, as an ordered list of +level names and the values each level takes. Every declared leaf has to +be on disk before any work starts. Each leaf is read, given to +`apply.apply_weights` with the configured kind, weight, version and +policies, and reduced to its window means by `stats.window_means`. Its +level values go on the reduced rows as columns. Coverage and mass +balance are checked leaf by leaf as in a direct call, and a failing +leaf fails the run. The reduced leaves are then pooled, and +`stats.pooled_statistics` takes the statistics once, with the window +label as an ordinary identity column. The statistics file and its +manifest are written only after every leaf has succeeded, with the rows +sorted by `_ordered` whatever order the leaves were pooled in. + +Without a ``[weights]`` section the run is a passthrough. The tree +walk, the subtraction, the window means and the statistics are the +same, with no spatial aggregation. The rows are the leaf's own regions, +keyed by the column ``data.region_col`` names, and there is no coverage +or mass balance. A ratio is refused, since its numerator is divided by +its denominator at an aggregation target. + +In this flow each leaf is reduced to its window means as it is +aggregated, so the windows are fixed before the first leaf is read. +Other windows take a new run, or a run of stage ``reduce`` if the +leaves were kept. + +Stages. ``--stage aggregate`` writes the leaf files and their manifest, ``leaves/.leaves.manifest.json``, and no statistics. The manifest is written before the first leaf, marked incomplete, and again when every leaf has succeeded. ``--stage reduce`` takes the statistics from leaf files written before. It checks them against their manifest, asks -a backend of the `reduce` package for the statistics, and opens neither -the source tree nor the weights. The windows, the quantiles and -everything else under ``[stats]`` can differ from the run that wrote -the leaves. The default stage, ``all``, runs everything in one process -and holds every reduced leaf at once. +a backend of the `reduce` package for the statistics, never opens the +source tree and reads the weights artifact only to hash it. The +windows, the quantiles and everything else under ``[stats]`` can differ +from the run that wrote the leaves. The default stage, ``all``, runs +everything in one process and holds every reduced leaf at once. Time reduction. ``stats.time_reduction`` says what happens to the years of a member. Under "window_mean" each member's window is reduced -to its mean first, as described above. Under "pooled" no mean is taken: -every year of a member inside a window is a member of the sample, so -the statistics are over models, draws and years together. Under -"per_year" no mean is taken either, and the year stays in the output: -the statistics are over the members within each year of +to its mean first, as described above. Under "pooled" no mean is +taken, and every year of a member inside a window is a member of the +sample, so the statistics are over models, draws and years together. +Under "per_year" no mean is taken either, and the year stays in the +output, so the statistics are over the members within each year of ``stats.years``. The rows of the last two are the leaves' own rows, far too many to hold at once, so their statistics always come from the leaf files, one block of targets at a time. Stage ``all`` then writes @@ -97,22 +59,34 @@ runs from the leaf files under every stage, so one aggregation serves every level, every period and both ways of reducing. -Per-capita to total conversion is deliberately outside: leaves must -already carry the extensive quantity to aggregate. The hook for such a -conversion is the step that produces the tree this pipeline reads. +The leaves must already carry the extensive quantity to aggregate. A +per-capita value is turned into a total by the step that writes the +tree. -Parallelism is explicit: ``run.n_workers`` above 1 processes leaves in a -multiprocessing pool. The weights artifact is shipped to workers per -task, which is acceptable at current artifact sizes and revisitable if -profiling ever says otherwise. +With ``run.n_workers`` above 1 the leaves are processed in a +multiprocessing pool, and each worker loads the weights artifact once. +A dry run resolves the tree and reports the plan, with the leaves, +their paths, the missing ones and the output files, and creates or +writes nothing. -Entry point: ``python -m cil_regionalization.pipelines.montecarlo - [--dry-run] [--stage all|aggregate|reduce] -[--verify-leaves]``. Job submission is -out of scope; a scheduler template that calls this entry point lives -under ``examples/``. +The entry point, which a scheduler template under ``examples/`` calls:: + + python -m cil_regionalization.pipelines.montecarlo + [--dry-run] [--stage all|aggregate|reduce] [--verify-leaves] """ +# The window mean is taken before the leaves are pooled to save memory. +# It is taken per sample member either way, so the statistics are the +# same, which a test pins, and the pooled frame shrinks by the ratio of +# years to windows. +# +# Memory at scale, measured: a full mortality ADM2 run (about 4,000 +# leaves by 42,726 targets, roughly 500 million member rows) peaked at +# 188.3 GB resident in the parent process at the pooled-statistics +# stage, and requests of 128 GB died three times at that scale. Size +# ADM2-scale requests at 224 GB or more, and read the memory[...] lines +# the run prints before trusting any smaller figure. + from __future__ import annotations import argparse @@ -126,7 +100,7 @@ from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass, field from pathlib import Path -from typing import Literal, Optional +from typing import Iterable, Literal, Optional, Sequence, Union import numpy as np import pandas as pd @@ -138,7 +112,7 @@ import tomli as tomllib from cil_regionalization import leaves as leaf_format -from cil_regionalization.apply import WeightsArtifact, apply_weights +from cil_regionalization.apply import SHARE_COLUMN, WeightsArtifact, apply_weights from cil_regionalization.config import SourceUnitPolicies, _Strict from cil_regionalization.manifest import collect_package_versions from cil_regionalization.model_weights import ModelWeights, read_model_weights @@ -158,9 +132,12 @@ window_means, ) from cil_regionalization.warming_levels import ( + GMSTTable, Period, WarmingLevels, + _listed, assign_warming_levels, + members_that_join, read_gmst, ) @@ -182,13 +159,15 @@ class WeightsRef(_Strict): class TreeConfig(_Strict): """Declared layout of the Monte Carlo tree. - ``levels`` names the directory levels in path order; each level - becomes a column on the aggregated output. ``expect`` declares the - values per level, and the expected leaf set is their full cross - product: a leaf path is ``root//...//filename``. Anything - declared but absent on disk fails the run before any processing. - ``exclude`` takes cells out of that product. A cell has one value - for each level, and ``"*"`` stands for every value of its level. + ``levels`` names the directory levels in path order, and a level + that is not a sample dimension becomes a column of the statistics. + ``expect`` gives the values of each level, and the leaves are every + combination of them, each at ``root//...//filename``. + ``exclude`` takes cells out of those combinations. A cell has one + value for each level, and ``"*"`` stands for every value of its + level. ``subtract_filename`` names a sibling file whose values are + taken off the leaf's, row for row. A declared leaf that is not on + disk fails the run before any work. """ root: str = Field(min_length=1) @@ -233,15 +212,17 @@ def _expect_covers_levels(self) -> "TreeConfig": class DataConfig(_Strict): """What a leaf contains and how to aggregate it. - ``format`` is declared, never inferred from the file extension: - inference invites a mismatch between what a user thinks is being - read and what is read. For ``netcdf`` leaves (the ``[netcdf]`` - optional extra), ``value_col`` names the data variable and - ``region_dim`` names the file's region dimension, which the reader - maps to the weights artifact's source key column. Every other - dimension passes through exactly as a parquet column would. + ``format`` is declared and never inferred from the file extension. + For ``netcdf`` leaves, which need the ``[netcdf]`` extra, + ``value_col`` names the data variable and ``region_dim`` the file's + region dimension. The reader turns it into the source key column of + the weights artifact, or into ``region_col`` in a run without + weights. Every other dimension passes through as a parquet column + would. """ + # Inferring the format from the extension invites a mismatch between + # what a user thinks is being read and what is read. format: Literal["parquet", "csv", "netcdf"] = "parquet" value_col: str = "value" denominator_col: Optional[str] = None @@ -296,7 +277,10 @@ class WarmingLevelsConfig(_Strict): a level has a default. ``reference_period`` and ``offset`` go together, since the offset is the warming up to that period. ``smoothing`` says in words how the series in the table was - smoothed, and "unknown" is an answer. + smoothed, and "unknown" is an answer. ``join`` names the members + that join, "declared" for every member the tree declares, or a table + of member columns to the values that join. A member of the tree + that does not join is pooled at no level, and the record lists it. """ gmst: str = Field(min_length=1) @@ -309,18 +293,65 @@ class WarmingLevelsConfig(_Strict): levels: list[float] = Field(min_length=1) half_width: float = Field(gt=0) smoothing: str = Field(min_length=1) + join: Union[Literal["declared"], dict[str, list[str]]] periods: list[WarmingPeriod] = Field(min_length=1) + @model_validator(mode="after") + def _join_names_member_columns(self) -> "WarmingLevelsConfig": + try: + _listed(self.join, self.member) + except ValueError as error: + raise ValueError(f"stats.warming_levels.{error}") from None + return self + + def read_table(self) -> GMSTTable: + """The temperature table, read with the columns named here.""" + return read_gmst( + self.gmst, + member_cols=self.member, + time_col=self.time_col, + value_col=self.value_col, + sep=self.sep, + ) + + def assign( + self, table: GMSTTable, declared: Iterable[Sequence[str]] + ) -> WarmingLevels: + """The levels of the members of ``declared`` that join, with the + settings here. Raises if a member of ``declared`` has no row in + ``table``, even one that does not join, and as + `members_that_join` and `assign_warming_levels` raise.""" + declared = list(dict.fromkeys(tuple(member) for member in declared)) + known = set(table.members) + absent = [member for member in declared if member not in known] + if absent: + raise ValueError( + f"{len(absent)} of the {len(declared)} members the tree " + f"declares have no row in the temperature table {self.gmst} " + f"(first: {dict(zip(self.member, absent[0]))}). A name is " + f"matched as it is written." + ) + return assign_warming_levels( + table, + reference_period=tuple(self.reference_period), + offset=self.offset, + levels=self.levels, + half_width=self.half_width, + periods=[ + Period(tuple(period.gmst_span), tuple(period.impact_span)) + for period in self.periods + ], + smoothing=self.smoothing, + members=members_that_join(self.join, declared, self.member), + ) + class StatsConfig(_Strict): """Statistics stage. - ``windows`` is final before any leaf is processed: each leaf is - reduced to window means as it is aggregated, and the reduced frames - carry no time dimension. Changing the windows afterwards is a rerun, - not a reprocessing of reduced data, and the reduction step refuses - already reduced input by construction. If the leaves were kept, the - reduce stage takes other windows from them. + Under stage ``all`` with "window_mean" each leaf is reduced to its + window means as it is aggregated, so other ``windows`` take a new + run, or a run of the reduce stage over leaves that were kept. """ sample_dims: list[str] = Field(min_length=1) @@ -330,15 +361,18 @@ class StatsConfig(_Strict): warming_levels: Optional[WarmingLevelsConfig] = None quantiles: list[float] = Field(default_factory=list) include_mean: bool = True - # Adds an n_members column to the statistics file: the members each - # statistic was computed from. Off by default, so the file keeps its - # columns unless a recipe asks. + # Adds two count columns to the statistics file. n_members is the + # samples each statistic was computed from, a batch of a model + # counting once a batch, and n_models the climate models among them, + # the distinct values of model_dims. Off unless asked for, and on + # whatever the config says where a run pools fewer leaves than were + # aggregated or takes warming levels. include_n_members: bool = False - # How a quantile is computed. "linear" interpolates between members - # and has no weighted form, "lower_step" is the extraction tool's - # step, with equal weights when there are no model weights, and - # "inverted_cdf" is the standard inverse of the empirical - # distribution. How a mean is summed. "fast" is the vectorised sum, + # How a quantile is computed. "inverted_cdf" is the estimator, the + # standard inverse of the empirical distribution. "linear" + # interpolates between two members and has no weighted form. + # "lower_step" reproduces the extraction tool, one member below the + # standard inverse, and is biased low. How a mean is summed. "fast" is the vectorised sum, # whose last bits depend on the order the workers hand their leaves # back in, and "exact" is the exactly rounded one. Neither has a # default, and the manifest records both. See @@ -359,6 +393,10 @@ class StatsConfig(_Strict): years: Optional[tuple[int, int]] = None model_weights: Optional[str] = None model_weight_level: Optional[str] = None + # The sample dimensions of the climate model, such as ["gcm"], which + # the count of models beside the count of samples is taken over. + # Required wherever the statistics carry their counts. + model_dims: Optional[list[str]] = None @model_validator(mode="before") @classmethod @@ -380,6 +418,33 @@ def _former_values_are_named(cls, data): check_summation("legacy") return data + @model_validator(mode="after") + def _model_dims_are_pooled(self) -> "StatsConfig": + if self.model_dims is not None: + if not self.model_dims: + raise ValueError("stats.model_dims must name at least one column") + stray = [d for d in self.model_dims if d not in self.sample_dims] + if stray: + raise ValueError( + f"stats.model_dims {stray} must be among stats.sample_dims " + f"{self.sample_dims}; a climate model is counted among the " + f"members it pools" + ) + counted = self.include_n_members or self.warming_levels is not None + if counted and self.model_dims is None: + why = ( + "stats.include_n_members is set" + if self.include_n_members + else "a warming level writes its counts" + ) + raise ValueError( + f"{why}, and the counts are of the samples and of the " + f"climate models behind each statistic, so stats.model_dims " + f"has to name the sample dimensions of the climate model, " + f'such as ["gcm"]' + ) + return self + @model_validator(mode="after") def _weights_come_together(self) -> "StatsConfig": if (self.model_weights is None) != (self.model_weight_level is None): @@ -470,14 +535,13 @@ def _weights_come_together(self) -> "StatsConfig": class PipelineOutputConfig(_Strict): - """Where results land. ``stem`` names the statistics and manifest - files, so several runs can share one directory. ``write_reduced`` - keeps the pooled window-mean frame (one row per target, window, - and sample member), which downstream regrouping needs; per-draw - quantities cannot be recovered from the statistics file. - ``write_leaves`` keeps every aggregated leaf with its years, under - ``leaves/``. It is off unless asked for, because the leaves take - far more disk than the statistics. ``leaves_stem`` names the leaves + """Where the results are written. ``stem`` names the statistics and + manifest files, so several runs can share one directory. + ``write_reduced`` also writes the pooled window means, one row a + target, window and sample member, which `regroup` works on. + ``write_leaves`` keeps every aggregated leaf with its years under + ``leaves/``. It is off unless asked for, because the leaves take far + more disk than the statistics. ``leaves_stem`` names the leaves manifest, and is ``stem`` unless set, so a product with other windows can take its own stem and reduce the leaves of another.""" @@ -493,9 +557,9 @@ class RunConfig(_Strict): class MonteCarloPipelineConfig(_Strict): - """``weights`` is optional: without it the pipeline runs in - passthrough, producing statistics per source region with no spatial - aggregation (see the module docstring).""" + """The config of a pipeline run. Without ``weights`` the run is a + passthrough, with statistics per source region and no spatial + aggregation.""" weights: Optional[WeightsRef] = None tree: TreeConfig @@ -583,11 +647,12 @@ def _subtract_has_no_denominator(self) -> "MonteCarloPipelineConfig": def load_pipeline_config(path: str | Path) -> MonteCarloPipelineConfig: - """Load and validate a pipeline TOML; resolve relative paths. + """The validated config of a pipeline TOML. - ``weights.dir``, ``tree.root``, and ``output.dir`` given as relative - paths resolve against the config file's directory, matching - `config.load_config`. + ``weights.dir``, ``tree.root``, ``output.dir``, + ``stats.model_weights`` and ``stats.warming_levels.gmst`` given as + relative paths resolve against the config file's directory, as in + `config.load_config`. Raises if the file does not exist. """ p = Path(path).resolve() if not p.exists(): @@ -596,20 +661,49 @@ def load_pipeline_config(path: str | Path) -> MonteCarloPipelineConfig: data = tomllib.load(f) def _resolve(value: str) -> str: - if "://" in value or value.startswith("/"): - return value - return str((p.parent / value).resolve()) - - for section, key in (("weights", "dir"), ("tree", "root"), ("output", "dir")): - block = data.get(section) + return _resolved(value, p.parent) + + for *sections, key in ( + ("weights", "dir"), + ("tree", "root"), + ("output", "dir"), + ("stats", "model_weights"), + ("stats", "warming_levels", "gmst"), + ): + block = data + for section in sections: + block = block.get(section) if isinstance(block, dict) else None if isinstance(block, dict) and isinstance(block.get(key), str): block[key] = _resolve(block[key]) return MonteCarloPipelineConfig.model_validate(data) +def _resolved(value: str, base: Path) -> str: + if "://" in value or value.startswith("/"): + return value + return str((base / value).resolve()) + + +def load_warming_levels(path: str | Path) -> WarmingLevelsConfig: + """The ``[stats.warming_levels]`` table of a TOML file, validated, + so that a run and a test can read the same settings. A relative + ``gmst`` resolves against the file's directory, as in + `load_pipeline_config`. Raises if the file has no such table.""" + p = Path(path).resolve() + with p.open("rb") as f: + data = tomllib.load(f) + warming = data.get("stats", {}).get("warming_levels") + if not isinstance(warming, dict): + raise ValueError(f"{p} has no [stats.warming_levels] table") + if isinstance(warming.get("gmst"), str): + warming["gmst"] = _resolved(warming["gmst"], p.parent) + return WarmingLevelsConfig.model_validate(warming) + + @dataclass(frozen=True) class Leaf: - """One unit of work: level values plus the resolved paths.""" + """One unit of work, its level values and its resolved paths. + ``output_path`` is None when the run writes no leaf file.""" values: tuple[str, ...] path: Path @@ -622,7 +716,8 @@ def labels(self, levels: list[str]) -> dict[str, str]: @dataclass(frozen=True) class PipelinePlan: - """What a run would do. Produced by dry run; consumed by execution.""" + """What a run would do. A dry run returns it, and a run carries it + out.""" leaves: list[Leaf] missing: list[Leaf] @@ -663,10 +758,10 @@ class PipelineResult: def resolve_plan(cfg: MonteCarloPipelineConfig, stage: Stage = "all") -> PipelinePlan: - """Expand the declared tree into leaves; report missing ones. - - Touches nothing: no directories are created and no files written. - """ + """The plan of a run, with every declared leaf and those missing on + disk. Under stage "reduce" a leaf is missing if its leaf file is, + and otherwise if its source file or its subtract file is. Nothing is + created or written.""" root = Path(cfg.tree.root) out_root = Path(cfg.output.dir) value_lists = [cfg.tree.expect[level] for level in cfg.tree.levels] @@ -740,12 +835,14 @@ def run_pipeline( stage: Stage = "all", verify_leaves: bool = False, ) -> PipelinePlan | PipelineResult: - """Run the pipeline, or return the plan untouched when ``dry_run``. - ``stage="aggregate"`` writes the leaf files and their manifest and - stops, and the result's ``stats`` is then None. ``stage="reduce"`` - takes the statistics from leaf files written before and opens - neither the source tree nor the weights. ``verify_leaves`` makes it - hash every leaf file first, which reads all of them.""" + """The result of a run, or under ``dry_run`` its plan, with nothing + written. ``stage="aggregate"`` writes the leaf files and their + manifest and stops, and the result's ``stats`` is then None. + ``stage="reduce"`` takes the statistics from leaf files written + before, never opens the source tree and reads the weights artifact + only to hash it. ``verify_leaves`` goes with stage "reduce" alone + and hashes every leaf file first, which reads all of them. Outside + a dry run, raises if a declared leaf is missing or any leaf fails.""" _check_stage(cfg, stage) if verify_leaves and stage != "reduce": raise ValueError( @@ -908,8 +1005,9 @@ def collect(outcome: dict) -> None: ) files = {tuple(o["leaf"]): o.pop("leaf_file") for o in outcomes} + common = _split_targets(outcomes) if leaves_document is not None: - _finish_leaves(plan, leaves_document, outcomes, files) + _finish_leaves(plan, leaves_document, outcomes, files, common) if not by_blocks: # the second pass prints it print(_unlisted_report(plan.leaves_manifest_path.parent), flush=True) @@ -957,6 +1055,7 @@ def collect(outcome: dict) -> None: include_mean=cfg.stats.include_mean, weight_col=weight_col, include_n_members=cfg.stats.include_n_members, + model_dims=cfg.stats.model_dims if cfg.stats.include_n_members else None, quantile_method=cfg.stats.quantile_method, summation=cfg.stats.summation, ) @@ -967,6 +1066,14 @@ def collect(outcome: dict) -> None: for col in stats.columns: if isinstance(stats[col].dtype, pd.CategoricalDtype): stats[col] = stats[col].astype(str) + targets = None + if artifact is not None: + stats, targets = _with_shares( + stats, + list(artifact.schema.id_fields), + common, + [o["target_coverage"] for o in outcomes], + ) stats = _ordered(stats, cfg) _log_memory("after pooled statistics") @@ -1012,9 +1119,11 @@ def collect(outcome: dict) -> None: "time_reduction": cfg.stats.time_reduction, "years": None, "warming_levels": None, + "target_coverage": targets, "reduced": str(reduced_path) if reduced_path else None, "model_weights": cfg.stats.model_weights, "model_weight_level": cfg.stats.model_weight_level, + "model_dims": cfg.stats.model_dims, "model_weights_record": _model_weights_record( cfg, model_weights, [o["leaf"] for o in outcomes] ), @@ -1039,6 +1148,124 @@ def collect(outcome: dict) -> None: ) +def _leaf_targets(report) -> dict: + """What `apply_weights` reported of one leaf's targets, as plain + values.""" + return { + "basis": report.basis, + "left_out": { + reason: [list(key) for key in ids] + for reason, ids in report.left_out.items() + }, + "partial": [[list(key), share] for key, share in report.partial], + } + + +def _split_targets(outcomes: list[dict]) -> Optional[dict]: + """The targets every leaf leaves out, by reason, with the basis the + shares are taken against, or None if no leaf was weighted. Each + outcome's ``target_coverage`` is rewritten in place to the targets + it leaves out that not every leaf does, and its partial ones.""" + reports = [ + o["target_coverage"] for o in outcomes if o.get("target_coverage") is not None + ] + if not reports: + return None + reasons = list(reports[0]["left_out"]) + every = { + reason: set.intersection( + *({tuple(key) for key in report["left_out"][reason]} for report in reports) + ) + for reason in reasons + } + for outcome in outcomes: + report = outcome.get("target_coverage") + if report is None: + continue + outcome["target_coverage"] = { + "left_out": { + reason: [ + list(key) + for key in sorted( + {tuple(k) for k in report["left_out"][reason]} - every[reason] + ) + ] + for reason in reasons + }, + "partial": report["partial"], + } + return { + "basis": reports[0]["basis"], + "left_out": { + reason: [list(key) for key in sorted(every[reason])] for reason in reasons + }, + } + + +def _with_shares( + stats: pd.DataFrame, id_fields: list[str], common: dict, leaves: list[dict] +) -> tuple[pd.DataFrame, dict]: + """``stats`` with the column of the share of each target's weight + basis, the smallest any pooled leaf gave it, 1 where none was + partial. Also what the manifest says of the targets, those left out + of every pooled leaf by reason and the partial ones.""" + left_out = {} + for reason, ids in common["left_out"].items(): + extra = [{tuple(key) for key in leaf["left_out"][reason]} for leaf in leaves] + keys = {tuple(key) for key in ids} | ( + set.intersection(*extra) if extra else set() + ) + left_out[reason] = { + "count": len(keys), + "ids": [list(key) for key in sorted(keys)], + } + smallest: dict[tuple, float] = {} + for leaf in leaves: + for key, share in leaf["partial"]: + key = tuple(key) + smallest[key] = min(share, smallest.get(key, share)) + shares = pd.Series(1.0, index=stats.index, dtype="float64") + if smallest: + table = pd.DataFrame( + [list(key) + [share] for key, share in smallest.items()], + columns=id_fields + ["_share"], + ) + for field in id_fields: + table[field] = table[field].astype(stats[field].dtype) + found = stats[id_fields].merge(table, on=id_fields, how="left")["_share"] + shares = pd.Series(found.fillna(1.0).to_numpy(), index=stats.index) + stats = stats.copy() + stats[SHARE_COLUMN] = shares + partial = sorted(smallest.items()) + return stats, { + "basis": common["basis"], + "left_out": left_out, + "partial": { + "count": len(partial), + "smallest": min((share for _, share in partial), default=None), + "targets": [list(key) + [share] for key, share in partial], + }, + } + + +def _model_dims( + cfg: MonteCarloPipelineConfig, reasons: list[str], warming +) -> list[str]: + """The columns the climate models are counted over, none if the + statistics carry no counts. Raises if they carry them for ``reasons`` + and the config names none.""" + if not (cfg.stats.include_n_members or reasons or warming is not None): + return [] + if cfg.stats.model_dims is None: + raise ValueError( + f"the statistics carry their counts ({'; '.join(reasons)}), and " + f"they are of the samples and of the climate models behind each " + f"statistic, so stats.model_dims has to name the sample " + f'dimensions of the climate model, such as ["gcm"]' + ) + return list(cfg.stats.model_dims) + + def _model_weights(cfg: MonteCarloPipelineConfig) -> Optional[ModelWeights]: """The model weights table, read once, or None if the config has none. Raises if a declared value of the weight level has no row.""" @@ -1066,7 +1293,9 @@ def _model_weights_record( model_weights: Optional[ModelWeights], leaves: list[list[str]], ) -> Optional[dict]: - """What the leaves were given, not what the config declares.""" + """The manifest record of the model weights, taken from the members + of the pooled leaves and not from the values the config declares. + None without model weights.""" if model_weights is None: return None level = cfg.tree.levels.index(cfg.stats.model_weight_level) @@ -1181,8 +1410,9 @@ def _aggregation_identity( cfg: MonteCarloPipelineConfig, artifact: WeightsArtifact, sha256: dict ) -> dict: """What decides the content of an aggregated leaf, apart from the - leaf itself. It holds no path. A path says where something was, and - the hashes say what it was.""" + leaf itself. It holds the hashes of the weights artifact and no + path.""" + # A path says where something was, and the hashes say what it was. return { **_config_identity(cfg), "artifact": { @@ -1285,10 +1515,15 @@ def _begin_leaves( def _finish_leaves( - plan: PipelinePlan, document: dict, outcomes: list[dict], files: dict + plan: PipelinePlan, + document: dict, + outcomes: list[dict], + files: dict, + common: Optional[dict], ) -> None: """Write the leaves manifest again, complete, with the accounting - of every leaf in plan order.""" + of every leaf in plan order. ``common`` is what `_split_targets` + found every leaf shares, and ``outcomes`` hold what each adds.""" by_leaf = {tuple(o["leaf"]): o for o in outcomes} schema = files[plan.leaves[0].values]["schema"] profiles: list[dict] = [] @@ -1309,6 +1544,7 @@ def _finish_leaves( "rows_in": outcome["rows_in"], "rows_out": outcome["rows_out"], "coverage": outcome["coverage"], + "target_coverage": outcome["target_coverage"], "mass_balance_rel_error": outcome["mass_balance_rel_error"], "size": written["size"], "sha256": written["sha256"], @@ -1320,6 +1556,7 @@ def _finish_leaves( { **document, "complete": True, + "target_coverage": common, "leaves": entries, "schema": schema, "rows_per_group": rows_per_group.tolist(), @@ -1331,8 +1568,9 @@ def _finish_leaves( def _load_leaves_document(path: Path) -> tuple[dict, str]: """The leaves manifest and the SHA256 of its bytes. Raises if it is - missing, which is what a directory of old leaf files looks like, or - if the run that wrote it did not finish.""" + missing, as it is beside leaf files of the old layout, if the run + that wrote it did not finish, or if its layout version is not the + one this library reads.""" if not path.exists(): raise ValueError( f"stage 'reduce' reads the leaves manifest {path}, and it is not " @@ -1413,10 +1651,12 @@ def _reduce_request( """The request for the declared leaves, and the reasons, if any, the member counts are switched on whatever the config says. - ``windows_of`` gives a leaf's own windows from its level values. It - is the list in ``stats.windows`` for every leaf unless given. With - ``warming`` a leaf has the periods in which its member is at a - level, each under a label that names the period and the level. + ``windows_of`` gives a leaf's own windows from its level values, and + every leaf has the spans of `_windows` unless it is given. With + ``warming`` it is not used, and a leaf has the periods in which its + member is at a level, each under a label that names the period and + the level. Raises if a declared leaf is not in the manifest, or a + window of a leaf has no row in it. """ time_col = cfg.stats.time_col columns = [c["name"] for c in document["schema"]] @@ -1550,6 +1790,7 @@ def windows_of(values): include_n_members=( cfg.stats.include_n_members or bool(reasons) or warming is not None ), + model_dims=tuple(_model_dims(cfg, reasons, warming)), quantile_method=cfg.stats.quantile_method, summation=cfg.stats.summation, time_reduction=cfg.stats.time_reduction, @@ -1611,41 +1852,15 @@ def _level_windows(cfg: MonteCarloPipelineConfig) -> dict[str, tuple[float, str] def _warming_levels( cfg: MonteCarloPipelineConfig, plan: PipelinePlan ) -> Optional[WarmingLevels]: - """The warming level of every member of the temperature table, or - None if the config has no warming levels. The table is read here - and nowhere else. Raises if a member the tree declares has no row - in it, or if no declared member is at any level.""" + """The warming levels of the members of the tree that join, or None + if the config has no warming levels. The table is read here and + nowhere else. Raises if a member the tree declares has no row in + it, or if no declared member is at any level.""" warming = cfg.stats.warming_levels if warming is None: return None - table = read_gmst( - warming.gmst, - member_cols=warming.member, - time_col=warming.time_col, - value_col=warming.value_col, - sep=warming.sep, - ) - levels = assign_warming_levels( - table, - reference_period=tuple(warming.reference_period), - offset=warming.offset, - levels=warming.levels, - half_width=warming.half_width, - periods=[ - Period(tuple(period.gmst_span), tuple(period.impact_span)) - for period in warming.periods - ], - smoothing=warming.smoothing, - ) members = list(dict.fromkeys(_bin_member(cfg, leaf.values) for leaf in plan.leaves)) - absent = levels.missing(members) - if absent: - raise ValueError( - f"{len(absent)} of the {len(members)} members the tree declares " - f"have no row in the temperature table {warming.gmst} (first: " - f"{dict(zip(warming.member, absent[0]))}). A name is matched as " - f"it is written, so a surrogate needs rows of its own." - ) + levels = warming.assign(warming.read_table(), members) if not any(levels.windows_of(member) for member in members): raise ValueError( f"none of the {len(members)} members the tree declares is at " @@ -1740,15 +1955,22 @@ def _run_reduce( warming=_UNREAD, stage: str = "reduce", ) -> PipelinePlan | PipelineResult: - """Pass 2. The statistics come from leaf files a run of stage - 'aggregate' or 'all' wrote, checked against their manifest first. - The source tree is not opened, and neither is the weights artifact - beyond hashing it if it is still there. ``model_weights`` and - ``warming`` are the model weights and the warming levels if the - caller has read them, and ``stage`` the stage the manifest - records.""" + """The result of taking the statistics from leaf files that a run of + stage 'aggregate' or 'all' wrote, checked against their manifest + first, or under ``dry_run`` the plan with what the checks found. + The source tree is not opened, and the weights artifact is only + hashed, if it is still there. ``model_weights`` and ``warming`` are + passed when the caller has read them already, and ``stage`` is the + stage the manifest records.""" leaves_dir = plan.leaves_manifest_path.parent document, document_sha256 = _load_leaves_document(plan.leaves_manifest_path) + if "target_coverage" not in document: + raise ValueError( + f"the leaves manifest {plan.leaves_manifest_path} was written " + f"before each leaf recorded its targets left out and the shares " + f"of its partial ones, so the statistics could not say which " + f"rest on part of a target. Aggregate the leaves again." + ) notes = _check_identity(cfg, document) _check_level_names(cfg.tree.levels, document["targets"]["id_fields"]) if model_weights is _UNREAD: @@ -1816,6 +2038,12 @@ def _run_reduce( # what the same ids are in a frame of the pipeline's own wanted = "string" if column["pandas"] == "string" else pd.Series(["a"]).dtype stats[id_field] = stats[id_field].astype(wanted) + stats, targets = _with_shares( + stats, + list(request.id_fields), + document["target_coverage"], + [entry["target_coverage"] for entry in entries], + ) stats = _ordered(stats, cfg) _log_memory("after reduce") @@ -1860,16 +2088,21 @@ def _run_reduce( "summation": cfg.stats.summation, "time_reduction": cfg.stats.time_reduction, "years": list(cfg.stats.years) if cfg.stats.years else None, + "target_coverage": targets, "warming_levels": ( - warming.record( - dict.fromkeys(_bin_member(cfg, leaf.values) for leaf in plan.leaves) - ) + { + **warming.record( + dict.fromkeys(_bin_member(cfg, leaf.values) for leaf in plan.leaves) + ), + "join": cfg.stats.warming_levels.join, + } if warming is not None else None ), "reduced": None, "model_weights": cfg.stats.model_weights, "model_weight_level": cfg.stats.model_weight_level, + "model_dims": cfg.stats.model_dims, "model_weights_record": _model_weights_record( cfg, model_weights, [entry["leaf"] for entry in entries] ), @@ -1924,9 +2157,11 @@ def _check_level_names(levels: list[str], id_fields: list[str]) -> None: "window": "the column of window labels", "statistic": "the column of statistic labels", "n_members": "the column stats.include_n_members writes", + "n_models": "the column of the climate models behind a statistic", "n_sample": "the column of pooled rows stats.time_reduction writes", "warming_level": "the column of levels [stats.warming_levels] writes", "n_bin_members": "the column of members [stats.warming_levels] writes", + SHARE_COLUMN: "the column of the share of each target's weight basis", "model_weight": "the column the model weights travel in", leaf_format.ORDINAL_COLUMN: "the ordinal column of a leaf file", } @@ -1953,9 +2188,12 @@ def _ordered(frame: pd.DataFrame, cfg: MonteCarloPipelineConfig) -> pd.DataFrame """``frame`` in the order it is written in. Rows go by the statistic as requested, then each tree level by its declared values, then the window as configured, or the year ascending when - each year is kept, then the target's id fields ascending. Together - those name a row, so the order is total and does not depend on the - order the leaves were pooled in.""" + each year is kept, then the other columns ascending in the order of + the frame's columns, such as the target's id fields, leaving out the + value, the counts, the share and the model weight. Together those + name a row, so the order does not depend on the order the leaves + were pooled in. Raises if a declared column holds a value the config + does not declare.""" if cfg.stats.time_reduction == "per_year": first, last = cfg.stats.years time = {cfg.stats.time_col: list(range(first, last + 1))} @@ -1996,7 +2234,9 @@ def _ordered(frame: pd.DataFrame, cfg: MonteCarloPipelineConfig) -> pd.DataFrame cfg.data.value_col, "n_members", "n_sample", + "n_models", "n_bin_members", + SHARE_COLUMN, "model_weight", ): continue @@ -2029,8 +2269,9 @@ def _current_rss_gb() -> Optional[float]: def _cgroup_gb() -> Optional[float]: - """The job cgroup's memory charge in GB, the number the OOM killer - compares against the limit; includes every worker and page cache.""" + """The memory charged to the job's cgroup in GB, which the OOM + killer compares with the limit, or None outside a cgroup. It + includes every worker and the page cache.""" for path in ( "/sys/fs/cgroup/memory.current", "/sys/fs/cgroup/memory/memory.usage_in_bytes", @@ -2078,7 +2319,9 @@ def _init_worker( def _read_leaf( path: Path, data_cfg: DataConfig, artifact: Optional["WeightsArtifact"] ) -> pd.DataFrame: - """Read one leaf in the declared format; no inference from extensions.""" + """One leaf, read in the declared format whatever its extension. + Raises for a NetCDF leaf if the artifact keys its sources by more + than one column.""" if data_cfg.format == "parquet": return pd.read_parquet(path) if data_cfg.format == "csv": @@ -2113,12 +2356,12 @@ def _read_leaf( def _subtract_leaf( frame: pd.DataFrame, path: Path, data_cfg: DataConfig, artifact: "WeightsArtifact" ) -> pd.DataFrame: - """Difference a second file's values from the first, row for row. - - The effect of climate change in the projection trees is the - scenario file minus its histclim sibling; this performs that - subtraction before any weighting. The two files must cover the - same rows: every key of one present in the other, no duplicates. + """``frame`` with the values of the file at ``path`` taken off, row + for row, in a float64 value column. In the projection trees this is + the scenario file minus its histclim sibling, before any weighting. + Raises if the two files differ in columns, if a key repeats in + either, or if a row of ``frame`` has no match in the file. Rows of + the file with no match in ``frame`` are dropped. """ other = _read_leaf(path, data_cfg, artifact) keys = [c for c in frame.columns if c != data_cfg.value_col] @@ -2142,19 +2385,18 @@ def _subtract_leaf( def _process_leaf(task: tuple) -> dict: - """Apply weights to one leaf (unless passthrough), then reduce it - to window means unless the stage stops before that. The leaf's - level values go on the reduced rows, never on the frame the weights - are applied to. An aggregated leaf file has them in its footer and - its path, and a passthrough one as columns. - - Returns accounting, never raises. Module-level and tuple-argument so - a multiprocessing pool can run it; errors come back as strings so - the parent can report a partial run coherently instead of losing the - traceback to a worker crash. The optional per-leaf output on disk is - the full aggregated frame (years intact); only the in-memory frame - handed back for pooling is reduced. + """The accounting of one leaf, with the weights applied unless the + run is a passthrough, and its window means under "frame" unless + the job stops before them. It never raises, and an error comes back + as text under "error". A leaf file written here keeps every year, + and only the frame handed back is reduced. The level values go on + the reduced rows and never on the frame the weights are applied to. + An aggregated leaf file has them in its footer and its path, and a + passthrough one as columns. """ + # Module-level, with one tuple argument, so that a multiprocessing + # pool can run it. An error comes back as text so that the parent can + # report a partial run, where a worker crash would lose the traceback. leaf, levels, data_cfg, weight, policies, stats_cfg, job = task artifact = _WORKER_STATE["artifact"] try: @@ -2180,6 +2422,7 @@ def _process_leaf(task: tuple) -> dict: # weights were applied out_frame = frame coverage = None + targets = None rel_error = None else: applied = apply_weights( @@ -2193,7 +2436,11 @@ def _process_leaf(task: tuple) -> dict: policies=policies, group_col=data_cfg.group_col, ) - out_frame = applied.frame + # The shares go on the statistics rows, by target, from what + # each leaf reports here. On the leaf they would be one more + # column to group by. + out_frame = applied.frame.drop(columns=[SHARE_COLUMN]) + targets = _leaf_targets(applied.targets) coverage = applied.coverage.counts balance = applied.mass_balance rel_error = balance.rel_error if balance is not None else None @@ -2228,6 +2475,7 @@ def _process_leaf(task: tuple) -> dict: "rows_out": int(len(out_frame)), "rows_reduced": None, "coverage": coverage, + "target_coverage": targets, "mass_balance_rel_error": rel_error, "output": str(leaf.output_path), "worker_peak_gb": round(_peak_rss_gb(), 2), @@ -2280,6 +2528,7 @@ def _process_leaf(task: tuple) -> dict: "rows_out": int(len(out_frame)), "rows_reduced": int(len(reduced)), "coverage": coverage, + "target_coverage": targets, "mass_balance_rel_error": rel_error, "output": str(leaf.output_path) if leaf.output_path else None, "worker_peak_gb": round(_peak_rss_gb(), 2), diff --git a/cil_regionalization/reduce/base.py b/cil_regionalization/reduce/base.py index b2cb27a..72f39b9 100644 --- a/cil_regionalization/reduce/base.py +++ b/cil_regionalization/reduce/base.py @@ -1,11 +1,12 @@ """The request for statistics, the backend interface and its config. A request says which leaves to pool and which statistics to take. It -holds nothing about how: no block sizes and no engine options. A second -backend adds a module, a branch in `get_backend`, a name in the ``kind`` -of `ReduceConfig` and an options field there. +holds no block sizes and no engine options, which are the backend's. """ +# A second backend adds a module, a branch in `get_backend`, a name in +# the ``kind`` of `ReduceConfig` and an options field there. + from __future__ import annotations from abc import ABC, abstractmethod @@ -44,8 +45,8 @@ class LeafRequest: with the first and last time value it covers. Two leaves may give one label different spans, and a leaf may lack a label another has. ``profile`` is the rows at each value of the time column. - ``bin_member`` names what the leaf counts as one of in - 'n_bin_members', such as its climate model and scenario. Many + ``bin_member`` is the member the leaf is counted under in + 'n_bin_members', such as its climate model and scenario, and many leaves share one.""" file: str @@ -96,6 +97,7 @@ class ReduceRequest: quantiles: tuple[float, ...] include_mean: bool = True include_n_members: bool = False + model_dims: tuple[str, ...] = () quantile_method: str = field(kw_only=True) summation: str = field(kw_only=True) time_reduction: str = field(kw_only=True) @@ -113,7 +115,9 @@ def weighted(self) -> bool: @property def dimensions(self) -> list[str]: - """The leaf's own columns that stay in the statistics.""" + """The leaf's own columns besides the target ordinal, the ids, + the time and the value. Those that are not sample dimensions + stay in the statistics.""" from cil_regionalization.leaves import ORDINAL_COLUMN skipped = {ORDINAL_COLUMN, self.time_col, self.value_col, *self.id_fields} @@ -136,6 +140,7 @@ def columns(self) -> list[str]: if self.include_n_members and self.time_reduction == "pooled" else [] ) + + (["n_models"] if self.include_n_members else []) + (["n_bin_members"] if self.include_n_bin_members else []) ) @@ -157,8 +162,8 @@ def check_options(self) -> None: @abstractmethod def describe(self, request: ReduceRequest) -> dict: """What `run` would do, without doing it. ``engine`` holds the - versions of what computes, and ``text`` the lines a dry run - prints.""" + versions of the packages that compute the statistics, and + ``text`` the lines a dry run prints.""" @abstractmethod def run(self, request: ReduceRequest) -> tuple[pd.DataFrame, dict]: diff --git a/cil_regionalization/reduce/pandas_blocks.py b/cil_regionalization/reduce/pandas_blocks.py index 0f616c1..a2fa202 100644 --- a/cil_regionalization/reduce/pandas_blocks.py +++ b/cil_regionalization/reduce/pandas_blocks.py @@ -1,13 +1,16 @@ -"""The pandas backend: statistics one block of targets at a time. - -`stats.pooled_statistics` needs every member of a target at once and -nothing of any other target. So the targets are cut into blocks of -consecutive row groups, a worker reads one block from every leaf file, -and no process ever holds more than its share of the memory budget. -The numbers are those of `stats`, which this module calls and does not -repeat. +"""The pandas backend, with the statistics taken one block of targets at +a time. + +A block is a run of consecutive row groups, sized so that a worker is +planned to hold no more than its share of ``memory_gb``. A worker reads +its block from every leaf file and pools it with +`stats.pooled_statistics`, so the numbers are those of `stats`. """ +# `stats.pooled_statistics` needs every member of a target at once and +# nothing of any other target, which is why the targets can be taken a +# block at a time. + from __future__ import annotations import os @@ -50,19 +53,19 @@ def bytes_per_row(request: ReduceRequest) -> int: - """The bytes a block is planned to take for each row it keeps. A - dimension of the leaf travels with every row, so each one adds to - it.""" + """The bytes a block is planned to take for each row it keeps, + `BYTES_PER_ROW` and `BYTES_PER_DIMENSION` more for each dimension + of the leaf.""" return BYTES_PER_ROW + BYTES_PER_DIMENSION * len(request.dimensions) def kept_share(request: ReduceRequest) -> float: """The rows a block keeps of a row group, as a share of the group's - rows in the leaf files. A leaf's rows shrink to one a window where - they were one a time value, and each leaf counts by its own windows - and its own time values, since two leaves may differ in both. When - no window mean is taken a leaf keeps its rows inside its windows, - and a row inside two windows counts twice.""" + rows in the leaf files. Under "window_mean" a leaf keeps its rows + at one time value once for each of its windows, counted by its own + windows and time values, since two leaves may differ in both. + Otherwise a leaf keeps its rows inside its windows, and a row inside + two windows counts twice.""" kept = total = 0.0 for leaf in request.leaves: if request.time_reduction != "window_mean": @@ -84,7 +87,9 @@ def choose_blocks( ) -> list[tuple[int, int]]: """Consecutive row groups packed into blocks of at most ``bytes_per_worker``, as (first, stop) pairs, with a kept row - counted as ``row_bytes``. Groups that hold nothing are left out. + counted as ``row_bytes``. A block never starts on a group that holds + nothing, so the empty groups before the first that holds rows are + left out, and a later empty group joins the block before it. Raises if one group alone does not fit.""" need = np.asarray(rows_per_group, dtype=np.float64) * share * row_bytes if len(need) and need.max() > bytes_per_worker: @@ -217,8 +222,9 @@ def run(self, request: ReduceRequest) -> tuple[pd.DataFrame, dict]: def _run_blocks(request: ReduceRequest, blocks, n_workers: int) -> list[dict]: """Every block's result, in any order. The first block that fails - stops the run. A worker that dies raises too, where a - `multiprocessing.Pool` would wait for it for ever.""" + stops the run, and a worker that dies raises `RuntimeError`.""" + # A process pool executor, because a `multiprocessing.Pool` would + # wait for ever for a worker that died. if n_workers == 1: _init_worker(request) results = [] @@ -390,7 +396,8 @@ def _with_counts( identity = [ c for c in stats.columns - if c not in ("statistic", request.value_col, "n_members", "n_sample") + if c + not in ("statistic", request.value_col, "n_members", "n_sample", "n_models") ] grouped = _plain_labels(pd.concat(members, ignore_index=True)).groupby( identity, sort=False, observed=True @@ -450,6 +457,16 @@ def _plain_labels(frame: pd.DataFrame) -> pd.DataFrame: def _reduce_block(block: tuple[int, int]) -> dict: + """The statistics of one block of targets, as `_pool_block` gives + them. A refusal names a target by its id fields.""" + try: + return _pool_block(block) + except GroupError as error: + # the frames name a target by its ordinal, the reader by its id + raise error.naming(_by_id(_STATE["request"], error.group)) from None + + +def _pool_block(block: tuple[int, int]) -> dict: request: ReduceRequest = _STATE["request"] first, stop = block root = Path(request.leaves_root) @@ -553,22 +570,19 @@ def _reduce_block(block: tuple[int, int]) -> dict: with warnings.catch_warnings(): # the parent says it once warnings.simplefilter("ignore", UnweightedModelWeightsWarning) - try: - stats = pooled_statistics( - combined, - sample_dims=list(request.sample_dims) - + ([request.time_col] if pooled else []), - value_col=request.value_col, - quantiles=list(request.quantiles), - include_mean=request.include_mean, - weight_col="model_weight" if weighted else None, - include_n_members=request.include_n_members, - quantile_method=request.quantile_method, - summation=request.summation, - ) - except GroupError as error: - # the frame names a target by its ordinal, the reader by its id - raise error.naming(_by_id(request, error.group)) from None + stats = pooled_statistics( + combined, + sample_dims=list(request.sample_dims) + + ([request.time_col] if pooled else []), + value_col=request.value_col, + quantiles=list(request.quantiles), + include_mean=request.include_mean, + weight_col="model_weight" if weighted else None, + include_n_members=request.include_n_members, + model_dims=list(request.model_dims) if request.include_n_members else None, + quantile_method=request.quantile_method, + summation=request.summation, + ) del combined stats = _plain_labels(stats) if count_members: diff --git a/cil_regionalization/regions.py b/cil_regionalization/regions.py index 87e6eb6..6db2961 100644 --- a/cil_regionalization/regions.py +++ b/cil_regionalization/regions.py @@ -1,35 +1,24 @@ """Region loading and geometry preparation. -`RegionSet` carries the regions used in a run. Two modes: - - local : geometries are read into a GeoDataFrame from a shapefile or - GeoParquet. Filters and the invalid-geometry policy are applied - up front so downstream code sees a clean frame. - bigquery : only the table id is held; the BigQuery backend joins - against this table in SQL without round-tripping geometries - through pandas. - -The same `RegionSet` API serves both: `is_local`, `table`, `iter_regions`, -`__len__`. The BQ-only constructor refuses iteration since it has no -geometries to hand out. - -One version's id regularities, recorded, not relied on ------------------------------------------------------- -Region ids are opaque join keys; nothing in the package parses their -structure, and a test enforces that. What follows is a measured profile -of the world-combo-201710 impact region version, kept for humans who -need to reason about that version's names, with no conclusions encoded -in code. Its ids mix three shapes: bare ISO3 codes for countries -carried as a single region (Aruba is one), dotted hierarchical codes -for admin subdivisions, and R-suffixed clustering remainders (Andorra's -single region is one) that already break clean hierarchy semantics. -Measured on the BigQuery geometries table for that version: no country -prefix has both a bare-country row and child rows, which is the one -fact that made prefix-level rollups safe there. That regularity is a -property of one version, never a contract; the next version may break -it silently, which is exactly why the package treats ids as opaque. +A `RegionSet` holds the regions of a run in one of two modes. In local +mode the geometries are read from a shapefile or GeoParquet into a +GeoDataFrame, with the filters and the invalid-geometry policy applied +up front. In BigQuery mode only the table id is held, and the BigQuery +backend joins against the table in SQL. Both have `is_local`, `table`, +`iter_regions` and `len`, and the last two raise in BigQuery mode. +Region ids are opaque join keys, and nothing in the package parses +them. """ +# A profile of the world-combo-201710 impact region ids, for people +# reasoning about that version's names. Nothing in code relies on it. +# The ids mix bare ISO3 codes for countries carried as a single region +# (Aruba), dotted codes for admin subdivisions and R-suffixed clustering +# remainders (Andorra). On that version's BigQuery geometries table no +# country prefix has both a bare-country row and child rows, which made +# prefix rollups safe there. That is a property of one version that the +# next may break silently, which is why ids are treated as opaque. + from __future__ import annotations import logging @@ -127,11 +116,14 @@ def iter_regions(self) -> Iterator[tuple[dict[str, Any], Any]]: def _read_regions(source: str | Path) -> gpd.GeoDataFrame: """Read regions from a local path or a `gs://` URI. - Local: pyogrio reads shapefiles in place; `gpd.read_parquet` for - parquet. Remote: shapefile companions are streamed via gcsfs into a - temp dir and read locally (GDAL/`/vsigs/` needs explicit credentials - which pyogrio's default config doesn't pick up from ADC). + A ``.parquet`` or ``.geoparquet`` file is read with `gpd.read_parquet` + and anything else with `gpd.read_file`. A remote shapefile and its + companions are copied to a temporary directory and read there. Raises + `FileNotFoundError` if a local path does not exist. """ + # A remote shapefile is staged locally because GDAL's `/vsigs/` needs + # explicit credentials, which pyogrio's default config does not pick + # up from ADC. source_str = str(source) if source_str.startswith("gs://"): return _read_remote_regions(source_str) @@ -184,9 +176,10 @@ def _apply_filters( keep: dict[str, list[Any]] | None, drop: dict[str, list[Any]] | None, ) -> tuple[gpd.GeoDataFrame, dict[str, list[str]], dict[str, list[str]]]: - """Apply keep, then drop. Returns ``(gdf, unknown_keep, unknown_drop)``: - per filter column, the listed values that match no row of ``gdf`` as - passed in. Columns with no such value are left out.""" + """Apply keep, then drop. Returns ``(gdf, unknown_keep, unknown_drop)``, + the filtered frame and, per filter column, the listed values that + match no row of ``gdf`` as passed in. Columns with no such value are + left out. Raises if a filter names a column ``gdf`` does not have.""" full = gdf unknown_keep: dict[str, list[str]] = {} unknown_drop: dict[str, list[str]] = {} @@ -221,7 +214,9 @@ def _handle_invalid_geometries( policy: InvalidGeomPolicy, id_fields: list[str], ) -> tuple[gpd.GeoDataFrame, list[dict[str, Any]]]: - """Apply the invalid-geometry policy. Returns ``(gdf, repaired_ids)``.""" + """Apply the invalid-geometry policy. Returns ``(gdf, bad_ids)``, the + ids of the invalid geometries whether they were repaired or skipped. + Raises under "error" if any geometry is invalid.""" invalid_mask = ~gdf.geometry.is_valid n_invalid = int(invalid_mask.sum()) if n_invalid == 0: diff --git a/cil_regionalization/regroup.py b/cil_regionalization/regroup.py new file mode 100644 index 0000000..1533ffb --- /dev/null +++ b/cil_regionalization/regroup.py @@ -0,0 +1,113 @@ +"""Regrouping a reduced frame to coarser targets before its statistics +are pooled, as country values are made from the states of a country. + +A statistic cannot be summed or averaged across targets, so this works +on the reduced frame, one value a target, window and sample member, and +the statistics are taken afterwards with `pooled_statistics`. +""" + +from __future__ import annotations + +import math +from typing import Literal, Sequence + +import numpy as np +import pandas as pd + +from cil_regionalization.apply import WeightsArtifact +from cil_regionalization.schema import raw_column + +BASIS_COLUMN = "basis" + + +def target_basis(artifact: WeightsArtifact, weight: str) -> pd.DataFrame: + """Each target's weight basis, the sum of the raw column of + ``weight`` over its rows, its population or its crop area, as the id + fields and a column 'basis'. A row with no basis counts as none. + Raises if the artifact has no raw column for the weight.""" + column = raw_column(weight) + if column not in artifact.frame.columns: + raise ValueError( + f"the weights artifact has no column {column!r}, so it does not " + f"say the basis of its targets" + ) + id_fields = list(artifact.schema.id_fields) + frame = artifact.frame[id_fields + [column]] + return ( + frame.assign(**{BASIS_COLUMN: frame[column].fillna(0.0)}) + .groupby(id_fields, sort=False)[BASIS_COLUMN] + .sum() + .reset_index() + ) + + +def regroup( + reduced: pd.DataFrame, + *, + id_fields: Sequence[str], + by: Sequence[str], + kind: Literal["extensive", "intensive"], + value_col: str, + summation: str, + basis: pd.DataFrame | None = None, +) -> pd.DataFrame: + """``reduced`` with its targets grouped by the id fields ``by``, one + value a group and every other column, so that a country is the sum + or the mean of its states in each window and sample member. + + "extensive" sums the values and takes no ``basis``. "intensive" + takes the mean weighted by each target's basis, the frame + `target_basis` gives, over the targets with a value. A group with no + value is NaN, and so is an intensive group whose targets with a + value have a basis of zero. ``summation`` is "fast" or "exact", as + for the statistics. Raises if ``by`` is not among ``id_fields``, if + ``basis`` is given for "extensive" or left out for "intensive", or + if a row's target has no basis.""" + from cil_regionalization.stats import check_summation + + check_summation(summation) + id_fields, by = list(id_fields), list(by) + stray = [f for f in by + id_fields if f not in reduced.columns] + if stray: + raise ValueError(f"reduced has no column {stray}") + if not by or any(f not in id_fields for f in by): + raise ValueError(f"by {by} has to name some of the id fields {id_fields}") + if kind not in ("extensive", "intensive"): + raise ValueError(f"kind has to be 'extensive' or 'intensive'; got {kind!r}") + if (basis is None) != (kind == "extensive"): + raise ValueError( + "an intensive regroup is a mean weighted by each target's basis, " + "and an extensive one is a sum, which takes none" + ) + keys = by + [c for c in reduced.columns if c not in id_fields + [value_col]] + values = reduced[value_col].astype("float64") + if kind == "extensive": + weights = pd.Series(1.0, index=reduced.index) + else: + found = reduced[id_fields].merge( + basis[id_fields + [BASIS_COLUMN]], on=id_fields, how="left" + )[BASIS_COLUMN] + if found.isna().any(): + first = reduced.loc[found.isna().to_numpy(), id_fields].iloc[0].to_dict() + raise ValueError( + f"{int(found.isna().sum())} rows of the reduced frame have a " + f"target with no basis (first: {first})" + ) + weights = pd.Series(found.to_numpy(dtype="float64"), index=reduced.index) + has = values.notna() + work = reduced[keys].assign( + _wx=(weights * values).where(has), _w=weights.where(has, 0.0) + ) + grouped = work.groupby(keys, sort=False, observed=True, dropna=False) + if summation == "exact": + sums = grouped[["_wx", "_w"]].agg( + lambda part: math.fsum(part.dropna()) if part.notna().any() else np.nan + ) + else: + sums = grouped[["_wx", "_w"]].sum(min_count=1) + sums = sums.reset_index() + if kind == "extensive": + sums[value_col] = sums["_wx"] + else: + sums[value_col] = sums["_wx"] / sums["_w"].where(sums["_w"] != 0.0) + return sums[keys + [value_col]] diff --git a/cil_regionalization/schema.py b/cil_regionalization/schema.py index c01140f..eb8b26d 100644 --- a/cil_regionalization/schema.py +++ b/cil_regionalization/schema.py @@ -1,38 +1,23 @@ -"""Canonical output schema both backends must produce. - -A single source of truth for column names, dtypes, and ordering so that -local and BigQuery results can be compared row-for-row in Stage 4. Column -naming follows the locked design decision: - - {name}wt normalized weight per (region, source unit) - {name}_raw raw weight total used as the numerator - {name}_method per-region fallback label: native | area_fallback | zero | nearest_cell - -Source units ------------- -Each output row pairs one region (the ``id_fields``) with one *source -unit*: the unit of the geometry the weighted data lives on. For the grid -backends the source unit is a grid cell, identified by integer -``(cell_ix, cell_iy)`` with centroid metadata. A polygon source (for -example impact regions keyed by ``hierid``, split onto administrative -targets) identifies its units by string id columns instead. `SourceUnits` -describes that layout; `GRID_CELLS` is the grid case and the default. - -Normalization direction ------------------------ -The same intersection geometry supports two weight normalizations, and -they are not interchangeable: - - per_destination : weights sum to 1 within each region, across the - source units covering it. Consumed as a weighted mean of an - intensive variable (the grid-to-IR climate case). - per_source : weights sum to 1 within each source unit, across the - regions it overlaps. Consumed as an allocation of an extensive - quantity (splitting one source unit's total across targets). - -The direction is part of the schema and is recorded in the manifest. -Consumers must call `require_normalization` before applying a weights -frame so that a file cannot be used for the wrong operation silently. +"""The column names, dtypes and order of a weights frame, the same for +both backends. + +Each row pairs one region, named by the ``id_fields``, with one source +unit of the geometry the weighted data lives on. A grid source unit is a +cell keyed by integer ``(cell_ix, cell_iy)`` with its centroid alongside, +and a polygon source unit is keyed by string id columns such as +``hierid``. `SourceUnits` describes that layout, and `GRID_CELLS` is the +grid case and the default. + +Each weight has three columns. ``{name}wt`` is the normalized weight of +the row, ``{name}_raw`` the raw total used as its numerator, and +``{name}_method`` how the weight of the row's group was found, one of +native, area_fallback, zero, nan or nearest_cell. + +Under per_destination normalization the weights sum to 1 within each +region, for a weighted mean of an intensive variable. Under per_source +they sum to 1 within each source unit, for an allocation of an extensive +quantity. The direction is recorded in the manifest, and consumers call +`require_normalization` before applying a weights frame. """ from __future__ import annotations @@ -58,13 +43,14 @@ class SourceUnits: """Identifier layout for the source side of a weights frame. - ``key_columns`` identify one source unit (join and duplicate-check - keys). ``meta_columns`` are carried alongside but are not part of the - identity (the grid case carries cell centroids). ``dtype_items`` holds - (column, dtype) pairs for every column, as a tuple so the dataclass - stays frozen and hashable. + ``key_columns`` identify one source unit, and are the keys of joins + and duplicate checks. ``meta_columns`` are carried alongside but are + not part of the identity, as the grid case carries cell centroids. + ``dtype_items`` holds (column, dtype) pairs for every column. """ + # dtype_items is a tuple, not a dict, so the dataclass stays frozen + # and hashable. key_columns: tuple[str, ...] dtype_items: tuple[tuple[str, str], ...] meta_columns: tuple[str, ...] = () @@ -118,11 +104,9 @@ def weight_dtypes(name: str) -> dict[str, str]: @dataclass(frozen=True) class OutputSchema: - """Resolved column layout for one run: id fields + source units + weights. - - Defaults reproduce the grid layout exactly: grid-cell source units and - per_destination normalization. - """ + """Resolved column layout for one run, the id fields, then the source + units, then three columns for each weight. By default the source + units are grid cells and the normalization is per_destination.""" id_fields: tuple[str, ...] weight_names: tuple[str, ...] @@ -172,14 +156,15 @@ def validate_frame(self, df: pd.DataFrame) -> None: def require_normalization(recorded: str, required: Normalization) -> None: """Raise unless a weights artifact's recorded direction matches `required`. - ``recorded`` comes from the artifact (the schema of a live result, or - the ``normalization`` field of its manifest). ``required`` is the - direction the intended operation needs: ``per_destination`` for a - weighted mean of an intensive variable, ``per_source`` for allocating - an extensive quantity. The two are transposes over the same geometry; - applying one where the other is needed produces plausible-looking - wrong numbers, so the mismatch is an error, not a warning. + ``recorded`` comes from the artifact, from the schema of a live result + or the ``normalization`` field of its manifest. ``required`` is the + direction the intended operation needs, ``per_destination`` for a + weighted mean of an intensive variable and ``per_source`` for + allocating an extensive quantity. """ + # The two are transposes over the same geometry, and applying one where + # the other is needed gives plausible wrong numbers, so a mismatch is + # an error and not a warning. if recorded == required: return raise ValueError( diff --git a/cil_regionalization/stats.py b/cil_regionalization/stats.py index 63ae768..49c2264 100644 --- a/cil_regionalization/stats.py +++ b/cil_regionalization/stats.py @@ -1,40 +1,47 @@ """Statistics over Monte Carlo samples of already aggregated data. -One function: mean over the time window first, then the statistics over -the pooled samples. The caller supplies a frame and says which columns -are the sample. - -The order matters, because aggregating across space and summarizing -across samples do not commute. Each draw is aggregated spatially first, -then averaged over the window, then pooled. Quantiles are not additive: -summing per-unit quantiles overstates the aggregate tail unless the -units move together, which is the mistake this closes off. Input that -already carries a statistic dimension is refused. - -Pooling flattens every declared sample dimension into one sample, each +`summarize_samples` takes each member's mean over a time window and +then the statistics over the pooled members. `window_means` and +`pooled_statistics` are its two halves as separate functions. The +caller passes a frame and says which columns are the sample. Input that +already carries a statistic is refused. + +Pooling puts every declared sample dimension into one sample, each member counting equally. ``weight_col`` names a per-member weight instead, which is how the SMME weights enter. NaN values drop out of the window mean, and a member whose whole window is NaN drops out of the statistics. -``quantile_method`` names how a quantile is computed. "linear" -interpolates between members, as pandas does, and has no weighted -form. "lower_step" is the step of the historical extraction tool, the -member one below the one whose cumulative weight share reaches q, with -equal weights when none are given. "inverted_cdf" is the standard -inverse of the empirical distribution (Hyndman and Fan type 1), one -definition with or without weights. +``quantile_method`` names how a quantile is computed, and the three are +not three estimators of one thing. "inverted_cdf" is the estimator, the +standard inverse of the empirical distribution (Hyndman and Fan type +1), with or without weights, and it always returns the value of a +member. "linear" interpolates between two members, as numpy does, and +can return a number no member holds. It has no weighted form. +"lower_step" reproduces the historical extraction tool and does not +estimate a quantile. It returns the member one below the one +"inverted_cdf" returns, so it is biased low at every quantile but the +median of members that count equally, and it counts every member +equally when no weights are given. ``summation`` names how a mean is summed. "fast" is the vectorised sum of pandas and numpy, whose last bits depend on the order the rows arrive in. "exact" is the exactly rounded sum, which does not depend on it. -Neither has a default. Under "inverted_cdf" or "exact" an infinite -statistic is an error. +Neither has a default. An infinite member value is refused under every +method and summation. The one infinity a statistic can have is the +``-inf`` of "lower_step" at or below its first step. """ +# Each draw is aggregated across space first, then averaged over the +# window, then pooled, because aggregating across space and summarizing +# across samples do not commute. Quantiles are not additive. Summing +# per-unit quantiles overstates the aggregate tail unless the units move +# together, which is why input that already carries a statistic is +# refused. + from __future__ import annotations import functools @@ -76,6 +83,7 @@ def _warn_if_unweighted_gcm(sample_dims: list[str], weight_col: str | None) -> N # the legacy long (monetized_deaths_vsl_epa_scaled_q05) spelling. _STATISTIC_COLUMN = "statistic" _N_MEMBERS_COLUMN = "n_members" +_N_MODELS_COLUMN = "n_models" # The computations of a quantile and of a sum, each under the name of # what it does. Neither option has a default. @@ -128,9 +136,9 @@ def check_summation(summation: str) -> None: class GroupError(ValueError): - """A refusal that names one identity group, held apart in ``group`` - so that a caller whose identity columns are codes can name the - group by what the codes stand for, with `naming`.""" + """A refusal that names one identity group, which it holds apart in + ``group``. A caller whose identity columns are codes can raise the + same refusal about the group the codes stand for, with `naming`.""" def __init__(self, before: str, group: dict, after: str = "") -> None: self.before, self.group, self.after = before, group, after @@ -156,6 +164,7 @@ def summarize_samples( include_mean: bool = True, weight_col: str | None = None, include_n_members: bool = False, + model_dims: Sequence[str] | None = None, quantile_method: str, summation: str, ) -> pd.DataFrame: @@ -169,52 +178,53 @@ def summarize_samples( ``weight_col`` names a per-member weight, constant across the member's time rows. Weights must be finite and non-negative, and a - zero weight drops the member. Weights are not renormalized within - a model, so in an - unbalanced sample a model's total weight grows with how often it - appears. Leaving ``weight_col`` unset with a ``gcm`` sample - dimension warns with `UnweightedModelWeightsWarning`. - - Returns a long frame: identity columns, 'statistic', ``value_col``. - Labels are 'mean' and 'qNN' in percent ('q05', 'q95', 'q2.5'). - - ``include_n_members`` adds an integer 'n_members' column after - ``value_col``: the members of the identity group that entered the - statistic, so those with a window mean that is not NaN and, when - weighted, a weight above zero. ``data`` must not already have a - column of that name. - - ``quantile_method`` is "linear", "lower_step" or "inverted_cdf", - and has no default. "linear" interpolates between members and is - refused with weights. "lower_step" is the left step inverse of the - weighted distribution, as the historical extraction tool computed - it. It returns the member one below the one whose cumulative weight - share reaches q, with every member weighted equally when - ``weight_col`` is unset. It differs from "linear" even when every - weight is equal, except at 0.5, which is then the plain median, and - a quantile below the first step is ``-inf``. "inverted_cdf" - returns, weighted or not, the smallest member value whose - cumulative weight share reaches q, so never ``-inf``. + zero weight drops the member. Weights are not renormalized within a + model, so in an unbalanced sample a model's total weight grows with + how often it appears. Leaving ``weight_col`` unset with a ``gcm`` + sample dimension warns with `UnweightedModelWeightsWarning`. + + Returns a long frame with the identity columns, 'statistic' and + ``value_col``. Labels are 'mean' and 'qNN' in percent ('q05', 'q95', + 'q2.5'). + + ``include_n_members`` adds two integer columns after ``value_col``. + 'n_members' is the samples behind a statistic, the members with a + window mean that is not NaN and, when weighted, a weight above zero, + so each batch of a model counts once. 'n_models' is the climate + models among them, the distinct values of ``model_dims``, which it + then has to name, such as ``["gcm"]``. ``data`` must not already + have columns of those names. + + ``quantile_method`` is "inverted_cdf", "linear" or "lower_step", + and has no default. "inverted_cdf" is the estimator of a quantile. + It returns, weighted or not, the smallest member value whose + cumulative weight share reaches q, always a value a member has. + "linear" interpolates between two members and can return a number + no member holds. It is refused with weights. "lower_step" is for + reproducing the historical extraction tool, not for estimating a + quantile. It returns the member one below the one "inverted_cdf" + returns, so it is biased low at every quantile, except at 0.5 with + members that count equally, where it is the plain median. A + quantile at or below the first member's share is ``-inf``, and with + ``weight_col`` unset every member counts the same. ``summation`` is "fast" or "exact", and has no default. "fast" is the vectorised sum, whose last bits depend on the order of the rows. "exact" takes the means from exactly rounded sums, whatever - the order. Under "inverted_cdf" or "exact" an infinite statistic - raises. + the order. An infinite member value raises, and so does a statistic + that comes out infinite other than the step's ``-inf``. The statistics are float64 whatever the dtype of ``value_col``. A column of another dtype is widened before the window mean, and a nullable one comes back with NaN where it had no value. - Raises if ``data`` already has a 'statistic' column or - quantile-named columns. Statistics of per-unit quantiles are wrong; - see the module docstring. + Raises if ``data`` already has a 'statistic' column, or a column + named for a statistic, such as 'q05', 'mean' or 'deaths_q95'. """ check_quantile_method(quantile_method, weighted=weight_col is not None) check_summation(summation) _reject_presummarized(data, value_col) - if include_n_members: - _reject_n_members_column(data) + model_dims = _check_counts(data, include_n_members, model_dims, sample_dims) sample_dims = list(sample_dims) if not sample_dims: @@ -263,6 +273,7 @@ def summarize_samples( f"window {window} on {time_col!r} selects no rows " f"(data spans {data[time_col].min()} to {data[time_col].max()})" ) + _refuse_infinite_values(in_window, value_col) # A constant helper key lets the same groupby code serve inputs whose # every non-value column is a sample or time dimension. @@ -320,9 +331,13 @@ def summarize_samples( ) out = pd.concat(pieces, ignore_index=True) out = out[_output_columns(identity, value_col, include_n_members)] + if include_n_members: + out = _with_model_counts( + out, window_mean, identity, value_col, weight_col, model_dims + ) if identity == ["_all"]: out = out.drop(columns=["_all"]) - _refuse_infinite_statistics(out, value_col, quantile_method, summation) + _refuse_infinite_statistics(out, value_col, quantile_method) return out.reset_index(drop=True) @@ -342,13 +357,15 @@ def _key_codes( ) -> tuple[np.ndarray, int, np.ndarray | None]: """One int64 code per row, equal exactly when the rows agree on ``cols``. - Categorical columns use their stored codes, and each column is folded - into the running code in place, so only one column's codes exist at a - time. That is what keeps memory down at hundreds of millions of rows. - Missing values count as equal. Rows with one in any column come back - as a mask, or None. Passing ``codes`` and ``card`` extends an existing - code without modifying it. + Also returns a bound every code lies below, and a mask of the rows + missing a value in any column, or None. Missing values count as + equal. Passing ``codes`` and ``card`` extends an existing code + without modifying it. """ + # Categorical columns use their stored codes, and each column is + # combined into the running code in place, so only one column's codes + # exist at a time. That keeps memory down at hundreds of millions of + # rows. n = len(frame) owned = codes is None missing = None @@ -391,8 +408,9 @@ def _key_codes( def _identity_groups(frame: pd.DataFrame, identity: list[str]) -> _Groups: """Dense group ids over the identity columns, in order of first appearance, the order ``groupby(sort=False)`` yields groups in. - Rows missing an identity value keep their own groups here; the - grouping drops them (`_grouping_ids`), the duplicate check does not.""" + Rows missing an identity value are grouped like the others, missing + values equal, and are marked in ``missing``. `_grouping_ids` drops + their groups, and the duplicate check keeps them.""" codes, _, missing = _key_codes(frame, identity) ids, uniques = pd.factorize(codes) return _Groups(ids.astype(np.int64, copy=False), len(uniques), missing) @@ -408,9 +426,10 @@ def _has_duplicates( def _grouping_ids(groups: _Groups) -> tuple[np.ndarray, int]: - """Group id per row with the groups ``groupby(dropna=True)`` drops - (any identity value missing) removed: those rows get -1 and the rest - are renumbered, keeping the order of first appearance.""" + """The group id of each row and the number of groups, without the + groups ``groupby(dropna=True)`` drops, those missing an identity + value. Their rows get -1, and the other groups are numbered again in + order of first appearance.""" if groups.missing is None: return groups.ids, groups.n keep = np.zeros(groups.n, dtype=bool) @@ -422,17 +441,18 @@ def _grouping_ids(groups: _Groups) -> tuple[np.ndarray, int]: def _first_rows(gid: np.ndarray) -> np.ndarray: - """Position of each group's first row, in group order. Groups are - numbered by first appearance, so a group starts where the running - maximum of the ids steps up.""" + """Position of each group's first row, in group order, for ids that + number the groups by first appearance. Rows of -1 are passed over.""" + # a group starts where the running maximum of the ids goes up running = np.maximum.accumulate(gid) if len(gid) else gid return np.flatnonzero(np.diff(running, prepend=-1) > 0) def _group_order(gid: np.ndarray, n_groups: int): - """Rows ordered by group, original order within a group (the order a - groupby hands each group over in), without the -1 rows; and each - group's [start, end) in that order.""" + """The rows ordered by group, without the -1 rows, and the start and + the end of each group in that order, the end excluded. Within a + group the rows keep their order, which is the order a groupby hands + them over in.""" n = len(gid) if (n_groups + 1) * n < 2**62: # one key per row, unique, so any sort is the stable order; a @@ -462,13 +482,15 @@ def _statistic_pieces( quantile_method: str, summation: str, ) -> list[pd.DataFrame]: - """One frame per statistic over each identity group's members. - Under "linear" the quantiles come from numpy, and under - "lower_step" from the historical step distribution, with every - member weighted equally if there are no weights. Pass ``groups`` - if the caller already has them. ``count_members`` adds to every - frame the number of members each group's statistics were computed - from.""" + """One frame per statistic, with a row for each identity group of + ``members``. Under "linear" the quantiles come from numpy, under + "inverted_cdf" from the inverse of the empirical distribution and + under "lower_step" from the historical step distribution. Without + weights every member counts equally. Pass ``groups`` if the caller + already has them. ``count_members`` adds to every frame the number + of members each group's statistics were computed from. With weights, + raises if no member of a group has both a value and a weight above + zero.""" if groups is None: groups = _identity_groups(members, identity) gid, n_groups = _grouping_ids(groups) @@ -511,9 +533,6 @@ def by_group(result: np.ndarray) -> pd.Series: table = _equal_weight_quantiles(floats, gid, n_groups, quantiles) else: table = _linear_quantiles(floats, gid, n_groups, quantiles) - _refuse_nan_interpolation( - table, floats, gid, n_groups, keys[identity], quantiles - ) stats += [ (_quantile_label(q), lambda i=i: by_group(table[i])) for i, q in enumerate(quantiles) @@ -612,10 +631,10 @@ def _output_columns( def _weighted_quantile(values: np.ndarray, weights: np.ndarray, q: float) -> float: - """The historical extraction tool's quantile: the left step inverse - of the weighted empirical distribution. A quantile below the first - step returns -inf; with all weights equal the 0.5 quantile is the - ordinary median, both matching that tool.""" + """The quantile of the historical extraction tool, the left step + inverse of the weighted empirical distribution. A quantile at or + below the first member's share is -inf. With all weights equal the + 0.5 quantile is the plain median, as in that tool.""" return _step_quantiles(values, weights, [q], exact=False)[0] @@ -627,11 +646,13 @@ def _step_quantiles( exact: bool, ) -> list[float]: """`_weighted_quantile` at every q, from one sort of the group. - ``exact`` takes the cumulative weight shares from exact sums, so - a share that equals q in exact arithmetic is not moved off it by - the order the weights were added in. It also takes equal values in - order of weight, because within equal values the step depends on - which member comes first, and so on the order of the rows.""" + ``exact`` takes the cumulative weight shares from exact sums and + puts equal values in order of weight, so the result does not depend + on the order of the rows.""" + # Under exact a share that equals q in exact arithmetic is not moved + # off it by the order the weights were added in. Equal values go in + # order of weight because within equal values the step depends on + # which member comes first. if not len(quantiles): return [] equal = bool((weights == weights[0]).all()) @@ -656,10 +677,9 @@ def _step_quantiles( def _exact_shares(weights: np.ndarray) -> np.ndarray: """The share of the total weight that each running sum of - ``weights`` reaches. Every sum is exact and every share is their - ratio rounded once, so the shares do not depend on the order the - weights are added in. The weights are finite and not negative, and - their sum is above zero.""" + ``weights`` reaches, the exact running sum over the exact total, + rounded once. The weights have to be finite and not negative, with + a sum above zero.""" mantissa, exponent = np.frexp(weights) # every weight is an integer times a power of two, and in units of # the smallest such power it is an integer, which Python adds exactly @@ -778,38 +798,8 @@ def _linear_quantiles( return out -def _refuse_nan_interpolation( - table: np.ndarray, - values: np.ndarray, - gid: np.ndarray, - n_groups: int, - keys: pd.DataFrame, - quantiles: Sequence[float], -) -> None: - """Raise where a linear quantile came out NaN for a group that has - values. numpy's interpolation gives NaN when a member next to the - point it interpolates at is infinite, where pandas gave the - neighbour or an infinity, and a NaN would read as a group with no - value.""" - counts = np.bincount(gid[~np.isnan(values)], minlength=n_groups) - bad = np.isnan(table) & (counts > 0) - if not bad.any(): - return - row, group = np.argwhere(bad)[0] - raise GroupError( - f"{int(bad.sum())} linear quantiles interpolate next to an infinite " - f"member and have no value (first: {_quantile_label(quantiles[row])} " - f"of ", - keys.iloc[group].to_dict(), - "). An infinity in impact data means something upstream of the " - "statistics broke.", - ) - - def _fsum(values: list[float]) -> float: - """The exactly rounded sum. An infinity sums to itself and is left - to `_refuse_infinite_statistics`. Infinities of both signs have no - such sum and raise here, and so do finite values whose sum passes + """The exactly rounded sum of finite values. Raises if it passes the largest float.""" try: return math.fsum(values) @@ -817,23 +807,23 @@ def _fsum(values: list[float]) -> float: raise ValueError( "summation='exact': a sum overflows the largest float" ) from None - except ValueError: - raise ValueError( - "summation='exact': a sum holds infinities of both signs, so " - "it has no value; something upstream of the statistics broke" - ) from None def _refuse_infinite_statistics( - out: pd.DataFrame, value_col: str, quantile_method: str, summation: str + out: pd.DataFrame, value_col: str, quantile_method: str ) -> None: - """Raise if a statistic is infinite under "inverted_cdf" or - "exact". NaN is left alone because a group with no value has no - statistic. "linear" and "lower_step" with the fast sum return - what comes out.""" - if quantile_method != "inverted_cdf" and summation == "fast": - return - infinite = np.isinf(_float_values(out[value_col])) + """Raise if a statistic is infinite, other than a "lower_step" + quantile at or below its first step, which is ``-inf`` by its + definition. NaN is left alone, because a group with no value has no + statistic.""" + # The members are finite by then, so any other infinity is the + # arithmetic passing the largest float. + values = _float_values(out[value_col]) + infinite = np.isinf(values) + if quantile_method == "lower_step": + infinite &= ~( + (out[_STATISTIC_COLUMN] != "mean").to_numpy() & (values == -np.inf) + ) if not infinite.any(): return counts = out.loc[infinite, _STATISTIC_COLUMN].value_counts(sort=False) @@ -843,9 +833,22 @@ def _refuse_infinite_statistics( f"({', '.join(f'{label}: {n}' for label, n in counts.items())}; " f"first: ", first, - f"). With quantile_method={quantile_method!r} and " - f"summation={summation!r} an infinite statistic is refused. " - f"'linear' and 'lower_step' with summation='fast' return it.", + "). Every member is finite, so the arithmetic passed the largest float.", + ) + + +def _refuse_infinite_values(data: pd.DataFrame, value_col: str) -> None: + """Raise if a member value is infinite, under every quantile method + and summation, naming the first such row by its other columns.""" + infinite = np.isinf(_float_values(data[value_col])) + if not infinite.any(): + return + first = data.loc[infinite].iloc[0].drop(value_col).to_dict() + raise GroupError( + f"{int(infinite.sum())} values of {value_col!r} are infinite (first: ", + first, + "). An infinity in impact data means something upstream of the " + "statistics broke.", ) @@ -924,12 +927,78 @@ def _quantile_label(q: float) -> str: return f"q{percent:g}" -def _reject_n_members_column(data: pd.DataFrame) -> None: - if _N_MEMBERS_COLUMN in data.columns: +def _check_counts( + data: pd.DataFrame, + include_n_members: bool, + model_dims: Sequence[str] | None, + sample_dims: Sequence[str], +) -> list[str] | None: + """``model_dims`` as a list, checked against the request for counts. + Raises if counts are asked for without it, or it without them, or + it names a column that is not a sample dimension, or ``data`` + already has a column of a count.""" + if not include_n_members: + if model_dims is not None: + raise ValueError( + "model_dims names the columns of the climate model for its " + "count, which only include_n_members writes" + ) + return None + if model_dims is None or not list(model_dims): raise ValueError( - f"data already has a {_N_MEMBERS_COLUMN!r} column; " - f"include_n_members would write a second one. Rename or drop it." + "include_n_members counts the samples and the climate models " + "behind each statistic, so model_dims has to name the sample " + "dimensions of the climate model, such as ['gcm']" ) + model_dims = list(model_dims) + stray = [d for d in model_dims if d not in sample_dims] + if stray: + raise ValueError( + f"model_dims {stray} are not among sample_dims {list(sample_dims)}; " + f"a climate model is counted among the members it pools" + ) + for column in (_N_MEMBERS_COLUMN, _N_MODELS_COLUMN): + if column in data.columns: + raise ValueError( + f"data already has a {column!r} column; include_n_members " + f"would write a second one. Rename or drop it." + ) + return model_dims + + +def _with_model_counts( + out: pd.DataFrame, + members: pd.DataFrame, + identity: list[str], + value_col: str, + weight_col: str | None, + model_dims: list[str], +) -> pd.DataFrame: + """``out`` with 'n_models', the distinct climate models among the + members of each identity group that 'n_members' counts.""" + counted = members[value_col].notna() + if weight_col is not None: + counted &= members[weight_col] > 0 + models = ( + members.loc[counted, identity + model_dims] + .drop_duplicates() + .groupby(identity, sort=False, observed=True) + .size() + .rename(_N_MODELS_COLUMN) + .reset_index() + ) + keys = out[identity].astype(object) + found = keys.merge( + models.astype({c: object for c in identity}), on=identity, how="left" + ) + return out.assign( + **{ + _N_MODELS_COLUMN: found[_N_MODELS_COLUMN] + .fillna(0) + .astype(np.int64) + .to_numpy() + } + ) def _reject_presummarized(data: pd.DataFrame, value_col: str) -> None: @@ -965,27 +1034,24 @@ def window_means( ) -> pd.DataFrame: """Mean over each time window, per combination of the other columns. - The first half of `summarize_samples`, split out so a pipeline can - reduce each leaf before pooling. It never crosses sample members, so - reducing early and pooling later gives the same statistics. + It is the first half of `summarize_samples` and never mixes sample + members, so taking it leaf by leaf and pooling later gives the same + statistics. ``time_col`` is replaced by ``window_col``, labelled like + "2040-2059", or by the year alone for a one-year window. - ``time_col`` is replaced by ``window_col``, labelled like "2040-2059", - or by the year alone for a one-year window. Data that already has - ``window_col`` is refused: its time dimension is gone, so to change - windows rerun from the unreduced data. Rows repeated on every column - but ``value_col`` are refused too, in any year, including years no - window covers. + Raises if ``data`` already has ``window_col``, since its years are + gone and other windows need the unreduced data. Rows repeated on + every column but ``value_col`` raise too, in any year, including + years no window covers, and so does an infinite value in a window. ``summation`` has no default. "exact" takes each mean from an - exactly rounded sum, and "fast" is the pandas mean. An infinite - value gives an infinite mean either way, and it is the statistics - that refuse it. - - The mean is float64 whatever the dtype of ``value_col``. A float32 - column is widened before the mean and not after, because a float32 - mean stored as float64 still holds seven digits. A nullable column - comes back with NaN where it had no value. + exactly rounded sum, and "fast" is the pandas mean. The mean is + float64 whatever the dtype of ``value_col``, and a column of another + dtype is widened before the mean is taken. A nullable column comes + back with NaN where it had no value. """ + # A float32 column is widened before the mean and not after, because + # a float32 mean stored as float64 still holds seven digits. check_summation(summation) windows = [tuple(w) for w in windows] _reject_presummarized(data, value_col) @@ -1009,6 +1075,12 @@ def window_means( if len(set(labels)) != len(labels): raise ValueError(f"duplicate window labels in request: {labels}") + _refuse_infinite_values( + data.loc[ + np.logical_or.reduce([data[time_col].between(lo, hi) for lo, hi in windows]) + ], + value_col, + ) group = [c for c in data.columns if c not in (time_col, value_col)] full_key = group + [time_col] # The group codes are worked out once and serve the duplicate check @@ -1105,6 +1177,7 @@ def pooled_statistics( include_mean: bool = True, weight_col: str | None = None, include_n_members: bool = False, + model_dims: Sequence[str] | None = None, quantile_method: str, summation: str, ) -> pd.DataFrame: @@ -1112,15 +1185,15 @@ def pooled_statistics( The second half of `summarize_samples`. The window column is an ordinary identity column here. ``weight_col``, - ``include_n_members``, ``quantile_method`` and ``summation`` behave - the same, and the same input is refused. Returns identity columns, - 'statistic', ``value_col``, then 'n_members' if asked for. + ``include_n_members``, ``model_dims``, ``quantile_method`` and + ``summation`` behave the same, and the same input is refused. + Returns identity columns, 'statistic', ``value_col``, then + 'n_members' and 'n_models' if asked for. """ check_quantile_method(quantile_method, weighted=weight_col is not None) check_summation(summation) _reject_presummarized(data, value_col) - if include_n_members: - _reject_n_members_column(data) + model_dims = _check_counts(data, include_n_members, model_dims, sample_dims) sample_dims = list(sample_dims) if not sample_dims: @@ -1146,6 +1219,7 @@ def pooled_statistics( if len(set(labels)) != len(labels): raise ValueError(f"duplicate statistic labels in request: {labels}") + _refuse_infinite_values(data, value_col) drop = sample_dims + [value_col] if weight_col is not None: drop = drop + [weight_col] @@ -1181,9 +1255,11 @@ def pooled_statistics( del groups out = pd.concat(pieces, ignore_index=True) out = out[_output_columns(identity, value_col, include_n_members)] + if include_n_members: + out = _with_model_counts(out, work, identity, value_col, weight_col, model_dims) if identity == ["_all"]: out = out.drop(columns=["_all"]) - _refuse_infinite_statistics(out, value_col, quantile_method, summation) + _refuse_infinite_statistics(out, value_col, quantile_method) return out.reset_index(drop=True) @@ -1200,9 +1276,9 @@ def mixture_quantile(weights, means, variances, q): The quantile is the smallest x whose mixture CDF reaches ``q``. ``q`` may be a scalar or an array. The result has the leading shape followed by the shape of ``q``, and is a plain float when both are - scalar. ``q = 0`` and ``q = 1`` return the ends of the support: - infinite when any weighted component has positive variance, - otherwise the smallest or largest point mass. + scalar. ``q = 0`` and ``q = 1`` return the ends of the support, + which are infinite when any weighted component has positive variance + and otherwise the smallest or largest point mass. """ w, m, v = (np.asarray(a, dtype="float64") for a in (weights, means, variances)) if ( diff --git a/cil_regionalization/validate.py b/cil_regionalization/validate.py index ab66da1..33b010b 100644 --- a/cil_regionalization/validate.py +++ b/cil_regionalization/validate.py @@ -1,26 +1,13 @@ -"""Sum-to-1 validation + grid invariants of the output weights frame. - -Both backends produce the same output schema. This module checks that -every (group, weight) pair sums to 1 within the configured tolerance, -where the group follows the schema's normalization direction (regions -under per_destination, source units under per_source), -AND that the cell coordinates respect the declared grid (no indices out -of range, no centroids outside the convention's domain, no duplicate -``(region, cell_ix, cell_iy)`` keys). The s51 antimeridian bug -demonstrated that sum-to-1 alone cannot catch misallocation: the wrap- -unaware SQL produced rows that summed to 1 per region per weight while -silently routing populated cells away from their points. - -These checks return structured reports rather than asserting; the -backends raise on a non-empty failures frame in their `compute()` -methods. - -Beyond the weights frame itself, this module also validates application -runs: `check_polygon_invariants` is the polygon-mode analogue of the grid -invariants, `check_mass_balance` proves an aggregation conserved the -quantity it aggregated, and `check_source_coverage` + -`enforce_source_policies` account for every source unit that could not -flow through a run. +"""Checks on a weights frame and on an application run. + +`check_sum_to_one` checks that every weight sums to 1 within each +normalization group, a region under per_destination and a source unit +under per_source. `check_grid_invariants` and `check_polygon_invariants` +check the keys and cell coordinates, which sum-to-1 cannot see. +`check_mass_balance` checks that an aggregation conserved its quantity, +and `check_source_coverage` with `enforce_source_policies` accounts for +the source units that could not take part in a run. The ``check_`` +functions return their failures in a report rather than raising them. """ from __future__ import annotations @@ -44,9 +31,10 @@ class SumToOneReport: """Result of `check_sum_to_one`. `failures` is empty when everything is OK. - ``n_regions`` counts the groups the weights were summed within: regions - under per_destination normalization, source units under per_source. - ``failures`` carries the group columns plus 'weight', 'sum', 'deviation'. + ``n_regions`` is the number of groups the weights were summed within, + regions under per_destination normalization and source units under + per_source. ``failures`` + carries the group columns plus 'weight', 'sum' and 'deviation'. """ weight_names: tuple[str, ...] @@ -76,19 +64,17 @@ def check_sum_to_one( schema: OutputSchema, tolerance: float = 1e-6, ) -> SumToOneReport: - """Return a SumToOneReport for `weights_frame` against `schema`. - - For each weight in `schema.weight_names`, group by the schema's - normalization group (id fields under per_destination, source-unit key - columns under per_source) and verify the weight column sums to 1 - within `tolerance`. Groups whose weights sum to 0 (the `zero` fallback - policy outcome) are reported as failures, by design. Groups whose - weights are entirely NaN (the `nan` fallback policy outcome) are NOT - flagged: `sum(min_count=1)` returns NaN for such groups and - `NaN > tolerance` is False, so the validator passes them through - silently. Downstream consumers handle NaN explicitly (legacy crop - weights backfill with `areawt` at aggregation time). + """The SumToOneReport of `weights_frame`, each weight in + `schema.weight_names` summed within each normalization group of + `schema` and compared with 1 within `tolerance`. + + A group whose weights sum to 0, as the `zero` fallback leaves them, + fails. A group whose weights are all NaN, as the `nan` fallback + leaves them, passes. Raises if the frame has no column for a weight. """ + # An all-NaN group sums to NaN under min_count=1, and NaN > tolerance + # is False, so it passes. Consumers fill NaN weights themselves, as + # legacy crop weights are filled with `areawt` at aggregation time. group_fields = list(schema.normalization_group) region_count = weights_frame[group_fields].drop_duplicates().shape[0] rows: list[pd.DataFrame] = [] @@ -155,13 +141,11 @@ def check_grid_invariants( schema: OutputSchema, grid: GridSpec, ) -> GridInvariantsReport: - """Enforce cell-coordinate invariants on the output. - - Catches what sum-to-1 cannot: indices out of declared range, - centroids outside the convention's domain, duplicate - ``(region, cell_ix, cell_iy)`` keys (the antimeridian wrap collision - from the legacy SQL). Returns a structured report; the backends call - this in `compute()` and raise on any failure. + """The `GridInvariantsReport` of `weights_frame` on `grid`. Its + ``failures`` hold each row with a cell index out of range, a centroid + outside the grid's domain or a duplicated ``(region, cell_ix, + cell_iy)`` key, labelled in the column ``_invariant``. The backends + raise on any failure. """ id_fields = list(schema.id_fields) rows: list[pd.DataFrame] = [] @@ -219,12 +203,12 @@ def _flag(mask: pd.Series, label: str) -> None: @dataclass(frozen=True) class PolygonInvariantsReport: - """Result of `check_polygon_invariants`. Everything empty means OK. + """Result of `check_polygon_invariants`, ``ok`` when it found nothing. - ``failures`` flags rows (null keys, duplicate keys, unknown source - units); ``missing_source_units`` lists expected source units with no - row at all, which cannot be flagged row-wise; ``sum_report`` is the - direction-aware sum-to-1 result over the same frame. + ``failures`` holds the rows with a null key, a duplicated key or an + unknown source unit. ``missing_source_units`` lists the expected + source units that have no row at all. ``sum_report`` is the sum-to-1 + result over the same frame. """ n_rows: int @@ -271,24 +255,20 @@ def check_polygon_invariants( expected_source_ids: Iterable[tuple] | None = None, tolerance: float = 1e-6, ) -> PolygonInvariantsReport: - """Enforce key and coverage invariants on a polygon-mode weights frame. - - The polygon analogue of `check_grid_invariants`, valid for either - normalization direction: - - - null values in id fields or source key columns (``null_key``), - - duplicate (id fields, source unit) pairs, which would double count - the pair's overlap (``duplicate_key``), - - source units in the frame that are not in ``expected_source_ids`` - (``unknown_source_unit``, e.g. a stale crosswalk row), - - expected source units with no row at all (reported in - ``missing_source_units``; a source unit the weights silently lost), - - sum-to-1 per the schema's normalization group, via - `check_sum_to_one`. - - ``expected_source_ids`` is the source-unit universe as an iterable of - id tuples (matching ``schema.source_units.key_columns`` order). Pass - None to skip the coverage checks when no universe is defined. + """The `PolygonInvariantsReport` of a polygon-mode weights frame, for + either normalization direction. + + Its ``failures`` hold the rows with a null id field or source key, + labelled ``null_key``, the rows of a duplicated (id fields, source + unit) pair, labelled ``duplicate_key``, and the rows of a source unit + not in ``expected_source_ids``, labelled ``unknown_source_unit``. The + expected source units with no row are listed in + ``missing_source_units``, and the weights are checked to sum to 1 + with `check_sum_to_one`. + + ``expected_source_ids`` is the source-unit universe as id tuples in + the order of ``schema.source_units.key_columns``. None skips the two + checks against it. """ id_fields = list(schema.id_fields) source_keys = list(schema.source_units.key_columns) @@ -337,12 +317,14 @@ def _flag(mask: pd.Series, label: str) -> None: @dataclass(frozen=True) class MassBalanceReport: - """Result of `check_mass_balance`. `ok` means totals agree within tolerance. - - ``source_total`` / ``target_total`` are the global sums; - ``failures`` holds one row per group out of tolerance (columns: - group, source_sum, target_sum, abs_error, rel_error), empty when no - grouping was requested or every group balances. + """Result of `check_mass_balance`, ``ok`` when the totals and every + group agree within ``tolerance``. + + ``source_total`` and ``target_total`` are the global sums, and + ``rel_error`` is their relative difference. ``failures`` holds one row + per group out of tolerance, with the columns group, source_sum, + target_sum, abs_error and rel_error. It is empty when no grouping was + requested or every group balances. """ source_total: float @@ -391,32 +373,21 @@ def check_mass_balance( group_col: str | None = None, tolerance: float = 1e-6, ) -> MassBalanceReport: - """Check that aggregation conserved an extensive quantity. - - ``source`` and ``target`` each carry one row per unit with the - quantity in ``value_col`` and, when ``group_col`` is given, a group - label (typically the country). The check compares the global sums and - each group's sums with relative tolerance - ``|source - target| / max(|source|, |target|)``. A group present on - only one side is compared against 0 on the other, so a wholly dropped - group is a full-size failure, not a silent absence. - - What a pass proves: the run moved the entire quantity from source - units to target units, globally and within every group. This is the - conservation property an extensive aggregation (a sum or a - per-source allocation) must have, and it catches dropped units, - zeroed rows, and double counting across groups. - - What a pass does not prove: that the quantity was allocated to the - *right* targets within a group (any reshuffle inside a group - conserves the group sum); anything about intensive variables, whose - weighted means are not conserved quantities and must not be run - through this check; and losses that cancel between units inside one - group at the group level are only caught globally if they do not - cancel there too. NaN values are excluded from the sums (pandas - semantics), so a side that turned values into NaN shows up as a - deficit, but a side that was NaN in the source to begin with is not - counted as mass to conserve. + """The `MassBalanceReport` of an extensive quantity aggregated from + ``source`` to ``target``. + + Each frame has one row per unit with the quantity in ``value_col`` + and, when ``group_col`` is given, a group label such as the country. + The global sums and each group's sums are compared with the relative + error ``|source - target| / max(|source|, |target|)``. A group on + only one side is compared with 0, so a dropped group fails in full. + NaN values are left out of the sums. Raises if a frame lacks + ``value_col`` or ``group_col``. + + A pass says the quantity was conserved globally and within every + group, not that it went to the right targets within a group. An + intensive variable, whose weighted mean is not conserved, must not be + checked this way. """ for name, df in (("source", source), ("target", target)): if value_col not in df.columns: @@ -458,15 +429,14 @@ def check_mass_balance( @dataclass(frozen=True) class SourceCoverageReport: - """Which source units cannot flow through an application run, and why. + """Which source units cannot take part in an application run, and why. Id tuples follow the weight schema's source key column order. - - unmatched : in the data being aggregated, absent from the - weights frame. - zero_weight : in the weights frame, but every weight value is - zero or NaN, so they carry no mass to any target. - absent_from_data : in the weights frame, absent from the data. + ``unmatched`` units are in the data being aggregated and not in the + weights frame. ``zero_weight`` units are in the weights frame with + every weight zero or NaN, so they carry no mass to any target. + ``absent_from_data`` units are in the weights frame and not in the + data. """ unmatched: tuple[tuple, ...] @@ -492,12 +462,14 @@ def check_source_coverage( weight_name: str, data_source_ids: Iterable[tuple], ) -> SourceCoverageReport: - """Partition source units into the three coverage cases. - - ``data_source_ids`` is the set of source-unit id tuples present in the - data being aggregated (tuple order matching - ``schema.source_units.key_columns``). The weight column checked for - zero mass is ``{weight_name}wt``. + """The `SourceCoverageReport` of ``weights_frame`` against the source + units of the data, for the weight ``weight_name``. + + ``data_source_ids`` holds the id tuples of the source units in the + data being aggregated, in the order of + ``schema.source_units.key_columns``. A zero-weight unit that is also + absent from the data is listed under both cases. Raises if the frame + has no column ``{weight_name}wt``. """ source_keys = list(schema.source_units.key_columns) col = weight_column(weight_name) @@ -529,14 +501,12 @@ def enforce_source_policies( policies: SourceUnitPolicies, manifest: Manifest | None = None, ) -> None: - """Apply the configured policy to each coverage case. - - For every case: "error" raises, naming the case, the config key, the - count, and the first offending ids; "skip" logs a warning and - continues. When a manifest is given, all three counts and id lists - are recorded under ``manifest.source_coverage`` before any error is - raised, so even an aborted run documents what it found. Silent - dropping is not an option this function offers. + """Raises if a coverage case that has units is under the policy + "error", naming each such case, its count, its first ids and the + policy that would skip it. A case under "skip" is logged as a + warning. When ``manifest`` is given, the count and ids of every case + are recorded under ``manifest.source_coverage`` before anything is + raised. """ cases: list[tuple[str, str, tuple[tuple, ...], str]] = [ ("unmatched", policies.on_unmatched, coverage.unmatched, "on_unmatched"), @@ -595,7 +565,11 @@ def enforce_source_policies( ) if policy == "error": errors.append(message + "; " + hints[case]) - else: + elif manifest is not None: logger.warning("%s; recorded in the manifest and skipped", message) + else: + logger.warning( + "%s; skipped, and listed in the coverage of the result", message + ) if errors: raise ValueError("; ".join(errors)) diff --git a/cil_regionalization/warming_levels.py b/cil_regionalization/warming_levels.py index 39312ef..9265973 100644 --- a/cil_regionalization/warming_levels.py +++ b/cil_regionalization/warming_levels.py @@ -9,10 +9,14 @@ Nothing here smooths. The series is taken as it is in the table, and the caller has to say how it was smoothed, so the record of a run says -so too. The reference period and the offset have no default, because -the offset is only right for one reference period and one baseline. +so too. The reference period and the offset have no default, and +neither have the members that join. Nothing here reads a member's name +to decide what the member is. """ +# The reference period and the offset have no default because the +# offset is only right for one reference period and one baseline. + from __future__ import annotations import hashlib @@ -20,7 +24,7 @@ import math from dataclasses import dataclass from pathlib import Path -from typing import Iterable, NamedTuple, Optional, Sequence +from typing import Iterable, Mapping, NamedTuple, Optional, Sequence import numpy as np import pandas as pd @@ -29,6 +33,11 @@ _YEAR, _VALUE = "year", "value" _TIE_RULE = "the first level declared whose band holds the mean" +# the value of `join` under which every member declared joins +EVERY_DECLARED = "declared" +# why a member of the table is at no level, as the record says it +IN_RUN_NOT_JOINING = "in the run and not among the members that join" +NOT_IN_RUN = "in the temperature table and not in the run" class LevelWindow(NamedTuple): @@ -46,8 +55,7 @@ class Period: """A calendar period. ``gmst_span`` is the years the temperature is averaged over to pick a member's level, and ``impact_span`` the years of the impacts that go under that level. Both include their - first and last year. They are given apart because a product may - average its impacts over other years than its temperature.""" + first and last year, and the two may differ.""" gmst_span: tuple[int, int] impact_span: tuple[int, int] @@ -181,10 +189,12 @@ def _span(name: str, span) -> tuple[int, int]: @dataclass(frozen=True) class WarmingLevels: - """The level of every member of a temperature table in every - period, and what decided it. ``means`` and ``levels`` hold one - value a period for each member, in the order of ``periods``. A - level is None where the member's mean lies in no band.""" + """The level of each assessed member of a temperature table in + every period, and what decided it. ``means`` and ``levels`` hold + one value a period for each assessed member, in the order of + ``periods``. A level is None where the member's mean lies in no + band. ``excluded`` are the members of the table that do not join, + which are at no level.""" table: GMSTTable reference_period: tuple[int, int] @@ -195,6 +205,7 @@ class WarmingLevels: smoothing: str means: dict[tuple[str, ...], tuple[float, ...]] levels: dict[tuple[str, ...], tuple[Optional[float], ...]] + excluded: tuple[tuple[str, ...], ...] = () @property def member_cols(self) -> tuple[str, ...]: @@ -218,22 +229,24 @@ def assignments(self) -> pd.DataFrame: def _known(self, member: Sequence[str]) -> tuple[str, ...]: member = tuple(member) - if member not in self.levels: - raise ValueError( - f"{dict(zip(self.member_cols, member))} has no row in the " - f"temperature table" - + (f" {self.table.path}" if self.table.path else "") - ) - return member + if member in self.levels or member in self.excluded: + return member + raise ValueError( + f"{dict(zip(self.member_cols, member))} has no row in the " + f"temperature table" + (f" {self.table.path}" if self.table.path else "") + ) def missing(self, members: Iterable[Sequence[str]]) -> list[tuple[str, ...]]: """The members that have no row in the table, sorted.""" - return sorted({tuple(m) for m in members} - set(self.levels)) + return sorted({tuple(m) for m in members} - set(self.table.members)) def windows_of(self, member: Sequence[str]) -> tuple[LevelWindow, ...]: """The periods in which a member has a level, in the order of - ``periods``. Raises if the member has no row in the table.""" + ``periods``, none for a member that does not join. Raises if the + member has no row in the table.""" member = self._known(member) + if member in self.excluded: + return () return tuple( LevelWindow(level, period.label, *period.impact_span) for period, level in zip(self.periods, self.levels[member]) @@ -242,15 +255,22 @@ def windows_of(self, member: Sequence[str]) -> tuple[LevelWindow, ...]: def record(self, members: Optional[Iterable[Sequence[str]]] = None) -> dict: """What a manifest says of a run, as plain values. ``members`` - are those the run used, and every member of the table if it is - left out. The rest of the table is listed under - ``unused_members``. Raises if a member has no row.""" - used = ( - list(self.levels) + are the members of the run, the members that join if it is left + out. Every member of the table that does not join is under + ``excluded`` with the reason. Raises if a member of the run has + no row in the table, or a member that joins is not in the run.""" + run = set( + self.levels if members is None - else list(dict.fromkeys(self._known(m) for m in members)) + else (self._known(member) for member in members) ) - in_run = set(used) + used = list(self.levels) + outside = [member for member in used if member not in run] + if outside: + raise ValueError( + f"{len(outside)} members that join are not in the run " + f"(first: {dict(zip(self.member_cols, outside[0]))})" + ) labels = [period.label for period in self.periods] def named(member: tuple[str, ...]) -> dict: @@ -301,12 +321,87 @@ def named(member: tuple[str, ...]) -> dict: for member in used if all(level is None for level in self.levels[member]) ], - "unused_members": [ - named(member) for member in self.levels if member not in in_run + "excluded": [ + { + "member": named(member), + "reason": IN_RUN_NOT_JOINING if member in run else NOT_IN_RUN, + } + for member in self.excluded ], } +def _listed( + join: str | Mapping[str, Sequence[str]], member_cols: Sequence[str] +) -> Optional[dict[str, set[str]]]: + """The values listed to join by column, None under "declared".""" + member_cols = list(member_cols) + if isinstance(join, str): + if join != EVERY_DECLARED: + raise ValueError( + f"join is {EVERY_DECLARED!r} or a mapping of member columns " + f"to the values that join; got {join!r}" + ) + return None + if not join: + raise ValueError("join names no member column") + unknown = [col for col in join if col not in member_cols] + if unknown: + raise ValueError( + f"join names {unknown}, which are not among the member columns " + f"{member_cols}" + ) + listed: dict[str, set[str]] = {} + for col, values in join.items(): + if isinstance(values, str): + raise ValueError(f"join.{col} has to be a list of values; got {values!r}") + names = [str(value) for value in values] + if not names: + raise ValueError(f"join.{col} lists no value") + twice = sorted({name for name in names if names.count(name) > 1}) + if twice: + raise ValueError(f"join.{col} lists {twice} more than once") + listed[col] = set(names) + return listed + + +def members_that_join( + join: str | Mapping[str, Sequence[str]], + declared: Iterable[Sequence[str]], + member_cols: Sequence[str], +) -> list[tuple[str, ...]]: + """The members of ``declared`` that join a warming level, in their + order. ``join`` is "declared", under which every one of them joins, + or a mapping of member columns to the values that join, under which + a member joins when its value in each column named is listed. + Raises if a column named is not a member column, if a list is empty + or repeats a value, or if a value listed is held by no member of + ``declared``.""" + member_cols = list(member_cols) + declared = list(dict.fromkeys(tuple(str(name) for name in m) for m in declared)) + listed = _listed(join, member_cols) + if listed is None: + return declared + at = {col: member_cols.index(col) for col in join} + held = {col: {member[at[col]] for member in declared} for col in join} + unheld = [ + f"{col} = {name!r}" + for col, values in join.items() + for name in (str(value) for value in values) + if name not in held[col] + ] + if unheld: + raise ValueError( + f"{len(unheld)} values listed to join are held by no member " + f"declared: {unheld}" + ) + return [ + member + for member in declared + if all(member[at[col]] in listed[col] for col in join) + ] + + def assign_warming_levels( table: GMSTTable, *, @@ -316,6 +411,7 @@ def assign_warming_levels( half_width: float, periods: Sequence[Period], smoothing: str, + members: Iterable[Sequence[str]], ) -> WarmingLevels: """The level of every member in every period. @@ -328,8 +424,11 @@ def assign_warming_levels( ``smoothing`` says how the series in the table was smoothed, in words, and goes into the record as it is. Nothing is smoothed - here. Raises if a member lacks a value for a year of the reference - period or of a ``gmst_span``. + here. ``members`` are the members that join, each one value for + each member column, and have no default. A member of the table that + is not among them is at no level, and the record lists it. Raises if a + member that joins has no row, or lacks a value for a year of the + reference period or of a ``gmst_span``. """ reference_period = _span("reference_period", reference_period) offset = float(offset) @@ -382,9 +481,35 @@ def values(member, series: dict[int, float], span, what: str) -> list[float]: ) return [series[y] for y in years] + every = table.series() + if isinstance(members, str): + raise ValueError( + f"members are the members that join, each one value for each of " + f"{list(table.member_cols)}; got the string {members!r}" + ) + asked = list(dict.fromkeys(tuple(str(name) for name in m) for m in members)) + if not asked: + raise ValueError("members must name at least one member that joins") + width = len(table.member_cols) + if any(len(m) != width for m in asked): + bad = next(m for m in asked if len(m) != width) + raise ValueError( + f"a member is one value for each of {list(table.member_cols)}; got " + f"{list(bad)}" + ) + absent = [m for m in asked if m not in every] + if absent: + raise ValueError( + f"{len(absent)} of the members that join have no row in the " + f"temperature table " + f"(first: {dict(zip(table.member_cols, absent[0]))})" + ) + joining = set(asked) + excluded = tuple(m for m in table.members if m not in joining) means: dict[tuple[str, ...], tuple[float, ...]] = {} assigned: dict[tuple[str, ...], tuple[Optional[float], ...]] = {} - for member, series in table.series().items(): + for member in asked: + series = every[member] base = values(member, series, reference_period, "the reference period") reference = math.fsum(base) / len(base) member_means, member_levels = [], [] @@ -416,4 +541,5 @@ def values(member, series: dict[int, float], span, what: str) -> list[float]: smoothing=smoothing, means=means, levels=assigned, + excluded=excluded, ) diff --git a/cil_regionalization/web_json.py b/cil_regionalization/web_json.py index 0574f24..78edd95 100644 --- a/cil_regionalization/web_json.py +++ b/cil_regionalization/web_json.py @@ -1,28 +1,19 @@ -"""The Impact Map web document contract. - -The front end reads one gzipped JSON document per product, admin level -and scenario: a metadata block and a data dict keyed by composite GADM -2.0 unit id. This module owns the envelope -- the rounding rule, the -gzip framing, the lite subsetting, and the two guards that catch a -broken document before it reaches Box -- so that every converter -writing into the published tree agrees on the shape by construction -rather than by copy-paste. - -What is deliberately not here: how a converter builds its composite -ids. That rule follows the source schema, which differs per product -(separate ISO / ID_1 / ID_2 columns in the damage statistics parquets, -a single pipe-joined key in the CMIP6 climate ensemble) and collapses -to a one-line expression in each converter. Only `ID_SEPARATOR` is -shared, because the front end's id grammar is shared. - -Writes are strictly additive. A publication tree accumulates products -across runs and its sibling directories are usually live -- they are -what the next rsync to Box carries -- so nothing here removes, -truncates or prunes anything other than the single file it was asked -to write. There is deliberately no "clean the output directory" helper -in this module, and adding one would be a mistake. +"""The gzipped JSON documents the Impact Map front end reads, one per +product, admin level and scenario. + +A document holds a metadata block and a data dict keyed by composite +GADM 2.0 unit id. This module gives every converter the rounding rule, +the gzip framing, the lite subsetting, and the checks that stop a +broken document before it reaches Box. Each converter builds its own +composite ids, from the columns its source has, joined by +`ID_SEPARATOR`. Writes only add or replace the one file asked for, and +nothing here removes, truncates or prunes anything else. """ +# A publication tree accumulates products across runs, and its sibling +# directories are usually live, since they are what the next rsync to +# Box carries. There is no "clean the output directory" helper here on +# purpose, and adding one would be a mistake. from __future__ import annotations import gzip @@ -71,14 +62,12 @@ def round_significant(value: float) -> float: - """`value` to `SIGNIFICANT_DIGITS`, leaving 0 and non-finite alone. - - Formatted through `%g` rather than `round(value, n)` because the - magnitudes inside one document span many orders -- deaths per year - runs from fractions to hundreds of thousands across units -- so a - fixed number of decimal places would either flatten the small units - to zero or keep meaningless digits on the large ones. - """ + """`value` to `SIGNIFICANT_DIGITS`, leaving 0 and non-finite alone.""" + # `%g` rather than `round(value, n)`, since the magnitudes inside one + # document span many orders, and deaths per year run from fractions + # to hundreds of thousands across units. A fixed number of decimal + # places would flatten the small units to zero or keep meaningless + # digits on the large ones. if value == 0 or not math.isfinite(value): return value return float(f"{value:.{SIGNIFICANT_DIGITS}g}") @@ -87,13 +76,12 @@ def round_significant(value: float) -> float: def check_ids_resolve( ids: Iterable[str], known: Iterable[str], *, context: str ) -> None: - """Raise unless every id in `ids` appears in `known`. - - An id the GADM name table does not carry means the converter's id - rule and the boundary layer have diverged. Published that way the - unit does not error anywhere downstream, it just silently fails to - draw, so this stops the run instead of shipping a map with holes. - """ + """Raises unless every id in `ids` appears in `known`, the ids of the + GADM 2.0 name table. `context` labels the error.""" + # An id the name table does not carry means the converter's id rule + # and the boundary layer have diverged. Published that way the unit + # raises nothing downstream and fails to draw, so this stops the run + # instead of shipping a map with holes. unknown = sorted(set(ids) - set(known)) if unknown: raise ValueError( @@ -106,12 +94,10 @@ def check_ids_resolve( def check_statistics_available( statistics: Iterable[str], available: Iterable[str], *, context: str ) -> None: - """Raise unless every requested statistic is one the product has. - - Asking for a statistic the product never computed is a silent - nothing if it is simply skipped: the lite document comes out short - a series and the front end draws an empty layer. Name the gap here. - """ + """Raises unless every requested statistic is one the product has. + `context` labels the error.""" + # A statistic the product never computed, if skipped, leaves the lite + # document short a series and the front end draws an empty layer. have = set(available) missing = [s for s in statistics if s not in have] if missing: @@ -128,16 +114,15 @@ def lite_document( *, drop_names: bool = False, ) -> tuple[dict, dict]: - """The same document restricted to `statistics`. + """A new (metadata, data) pair of the same document restricted to + `statistics`, with the inputs left unchanged. - Returns a new (metadata, data) pair; the inputs are not mutated, so - a caller can write the full document afterwards from the originals. - - `drop_names` additionally omits the per-unit `name` and - `country_iso` fields. That saves roughly another sixth of the file - but changes the unit shape the front end reads, so it is off by - default and the metadata says where the names went. + `drop_names` also omits the per-unit `name` and `country_iso` + fields, and the metadata's `names` then says where the names went. + Raises if a statistic is not one the metadata lists. """ + # drop_names saves roughly another sixth of the file but changes the + # unit shape the front end reads, so it is off by default. statistics = list(statistics) check_statistics_available( statistics, metadata["statistics"], context="lite document" @@ -170,18 +155,17 @@ def lite_document( def write_document( out_dir: str | Path, filename: str, metadata: Mapping, data: Mapping ) -> Path: - """Write one gzipped web document and return its path. - - Creates `out_dir` if absent and writes exactly one file. Nothing - else in the tree is touched: an existing document of the same name - is replaced, which makes a rerun idempotent, and every sibling -- - including other products staged for the same rsync -- is left - alone. See the module docstring on why that is a contract and not - an accident. + """Writes one gzipped web document as `filename` in `out_dir` and + returns its path. - The separators are compact on purpose. Whitespace is about a tenth - of the uncompressed document and survives gzip badly. + `out_dir` is created if absent. A document of the same name is + replaced, so a rerun gives the same tree, and no other file is + touched. The JSON has compact separators. """ + # Every sibling, including other products staged for the same rsync, + # is left alone, as the comment at the top of the module says. + # Whitespace is about a tenth of the uncompressed document and + # survives gzip badly, hence the compact separators. out = Path(out_dir) out.mkdir(parents=True, exist_ok=True) path = out / filename diff --git a/cil_regionalization/weights.py b/cil_regionalization/weights.py index 87fd78b..3970d6f 100644 --- a/cil_regionalization/weights.py +++ b/cil_regionalization/weights.py @@ -1,9 +1,7 @@ -"""Runtime weight descriptors. +"""Runtime weight descriptors built from `WeightConfig`. -Wraps `WeightConfig` with derived flags so backends can dispatch without -re-checking the config rules. The area weight is special-cased: it has no -external input and is always available, so several places need to short- -circuit on `is_area`. +The area weight needs no raster or table and is always available. +`WeightSpec.is_area` marks it. """ from __future__ import annotations diff --git a/data/external/GMTanom_all_temp_2001_2010_smooth.csv b/data/external/GMTanom_all_temp_2001_2010_smooth.csv new file mode 100755 index 0000000..931ef1b --- /dev/null +++ b/data/external/GMTanom_all_temp_2001_2010_smooth.csv @@ -0,0 +1,7921 @@ +gcm,rcp,year,temp +ACCESS1-0,rcp45,1981,-0.5518316030502319 +ACCESS1-0,rcp45,1982,-0.5364369750022888 +ACCESS1-0,rcp45,1983,-0.5400395393371582 +ACCESS1-0,rcp45,1984,-0.5353688597679138 +ACCESS1-0,rcp45,1985,-0.5218373537063599 +ACCESS1-0,rcp45,1986,-0.5072118043899536 +ACCESS1-0,rcp45,1987,-0.49896442890167236 +ACCESS1-0,rcp45,1988,-0.48966267704963684 +ACCESS1-0,rcp45,1989,-0.47836965322494507 +ACCESS1-0,rcp45,1990,-0.45662587881088257 +ACCESS1-0,rcp45,1991,-0.4335942566394806 +ACCESS1-0,rcp45,1992,-0.41317036747932434 +ACCESS1-0,rcp45,1993,-0.390919953584671 +ACCESS1-0,rcp45,1994,-0.36290329694747925 +ACCESS1-0,rcp45,1995,-0.3280995488166809 +ACCESS1-0,rcp45,1996,-0.2965688109397888 +ACCESS1-0,rcp45,1997,-0.2657262682914734 +ACCESS1-0,rcp45,1998,-0.2398519515991211 +ACCESS1-0,rcp45,1999,-0.21651366353034973 +ACCESS1-0,rcp45,2000,-0.19617214798927307 +ACCESS1-0,rcp45,2001,-0.16833250224590302 +ACCESS1-0,rcp45,2002,-0.1412145495414734 +ACCESS1-0,rcp45,2003,-0.08941556513309479 +ACCESS1-0,rcp45,2004,-0.04888366162776947 +ACCESS1-0,rcp45,2005,-0.011763602495193481 +ACCESS1-0,rcp45,2006,0.02145323157310486 +ACCESS1-0,rcp45,2007,0.06038755178451538 +ACCESS1-0,rcp45,2008,0.09490442276000977 +ACCESS1-0,rcp45,2009,0.12704554200172424 +ACCESS1-0,rcp45,2010,0.15581899881362915 +ACCESS1-0,rcp45,2011,0.18144312500953674 +ACCESS1-0,rcp45,2012,0.20592588186264038 +ACCESS1-0,rcp45,2013,0.23013705015182495 +ACCESS1-0,rcp45,2014,0.26583802700042725 +ACCESS1-0,rcp45,2015,0.28325891494750977 +ACCESS1-0,rcp45,2016,0.30777066946029663 +ACCESS1-0,rcp45,2017,0.3431222438812256 +ACCESS1-0,rcp45,2018,0.368346631526947 +ACCESS1-0,rcp45,2019,0.3966790437698364 +ACCESS1-0,rcp45,2020,0.4165993928909302 +ACCESS1-0,rcp45,2021,0.42928093671798706 +ACCESS1-0,rcp45,2022,0.4569970369338989 +ACCESS1-0,rcp45,2023,0.48007136583328247 +ACCESS1-0,rcp45,2024,0.5079278349876404 +ACCESS1-0,rcp45,2025,0.5330224633216858 +ACCESS1-0,rcp45,2026,0.5601922869682312 +ACCESS1-0,rcp45,2027,0.5808252692222595 +ACCESS1-0,rcp45,2028,0.6025232672691345 +ACCESS1-0,rcp45,2029,0.6230418086051941 +ACCESS1-0,rcp45,2030,0.6402613520622253 +ACCESS1-0,rcp45,2031,0.649212121963501 +ACCESS1-0,rcp45,2032,0.6659494042396545 +ACCESS1-0,rcp45,2033,0.6873957514762878 +ACCESS1-0,rcp45,2034,0.7048669457435608 +ACCESS1-0,rcp45,2035,0.7356241345405579 +ACCESS1-0,rcp45,2036,0.7594689726829529 +ACCESS1-0,rcp45,2037,0.774402916431427 +ACCESS1-0,rcp45,2038,0.7952616810798645 +ACCESS1-0,rcp45,2039,0.8144572377204895 +ACCESS1-0,rcp45,2040,0.8501794934272766 +ACCESS1-0,rcp45,2041,0.8837214112281799 +ACCESS1-0,rcp45,2042,0.9072702527046204 +ACCESS1-0,rcp45,2043,0.9258829951286316 +ACCESS1-0,rcp45,2044,0.9475839734077454 +ACCESS1-0,rcp45,2045,0.963317334651947 +ACCESS1-0,rcp45,2046,0.9866374135017395 +ACCESS1-0,rcp45,2047,1.0147852897644043 +ACCESS1-0,rcp45,2048,1.0446696281433105 +ACCESS1-0,rcp45,2049,1.0685908794403076 +ACCESS1-0,rcp45,2050,1.0945336818695068 +ACCESS1-0,rcp45,2051,1.1314921379089355 +ACCESS1-0,rcp45,2052,1.1650919914245605 +ACCESS1-0,rcp45,2053,1.191697359085083 +ACCESS1-0,rcp45,2054,1.2212977409362793 +ACCESS1-0,rcp45,2055,1.248014211654663 +ACCESS1-0,rcp45,2056,1.279752492904663 +ACCESS1-0,rcp45,2057,1.3069438934326172 +ACCESS1-0,rcp45,2058,1.3331689834594727 +ACCESS1-0,rcp45,2059,1.3623974323272705 +ACCESS1-0,rcp45,2060,1.3774378299713135 +ACCESS1-0,rcp45,2061,1.3969905376434326 +ACCESS1-0,rcp45,2062,1.4214701652526855 +ACCESS1-0,rcp45,2063,1.4465372562408447 +ACCESS1-0,rcp45,2064,1.4607646465301514 +ACCESS1-0,rcp45,2065,1.4879662990570068 +ACCESS1-0,rcp45,2066,1.507775068283081 +ACCESS1-0,rcp45,2067,1.519468069076538 +ACCESS1-0,rcp45,2068,1.5392451286315918 +ACCESS1-0,rcp45,2069,1.5700831413269043 +ACCESS1-0,rcp45,2070,1.5970988273620605 +ACCESS1-0,rcp45,2071,1.620734691619873 +ACCESS1-0,rcp45,2072,1.651383399963379 +ACCESS1-0,rcp45,2073,1.679511547088623 +ACCESS1-0,rcp45,2074,1.695263147354126 +ACCESS1-0,rcp45,2075,1.7147042751312256 +ACCESS1-0,rcp45,2076,1.7357308864593506 +ACCESS1-0,rcp45,2077,1.7642557621002197 +ACCESS1-0,rcp45,2078,1.7831354141235352 +ACCESS1-0,rcp45,2079,1.803020715713501 +ACCESS1-0,rcp45,2080,1.8302927017211914 +ACCESS1-0,rcp45,2081,1.8432016372680664 +ACCESS1-0,rcp45,2082,1.8534770011901855 +ACCESS1-0,rcp45,2083,1.8644113540649414 +ACCESS1-0,rcp45,2084,1.8787026405334473 +ACCESS1-0,rcp45,2085,1.885261058807373 +ACCESS1-0,rcp45,2086,1.9005639553070068 +ACCESS1-0,rcp45,2087,1.9123988151550293 +ACCESS1-0,rcp45,2088,1.919846534729004 +ACCESS1-0,rcp45,2089,1.9280571937561035 +ACCESS1-0,rcp45,2090,1.9344186782836914 +ACCESS1-0,rcp45,2091,1.941251516342163 +ACCESS1-0,rcp45,2092,1.9438872337341309 +ACCESS1-0,rcp45,2093,1.9469449520111084 +ACCESS1-0,rcp45,2094,1.9488880634307861 +ACCESS1-0,rcp45,2095,1.949716329574585 +ACCESS1-0,rcp45,2096,1.9494297504425049 +ACCESS1-0,rcp45,2097,1.948028564453125 +ACCESS1-0,rcp45,2098,1.9455125331878662 +ACCESS1-0,rcp45,2099,1.9418816566467285 +ACCESS1-0,rcp45,2100,1.937136173248291 +ACCESS1-0,rcp85,1981,-0.49014806747436523 +ACCESS1-0,rcp85,1982,-0.4747534394264221 +ACCESS1-0,rcp85,1983,-0.4783560037612915 +ACCESS1-0,rcp85,1984,-0.4736853241920471 +ACCESS1-0,rcp85,1985,-0.46015381813049316 +ACCESS1-0,rcp85,1986,-0.4455282688140869 +ACCESS1-0,rcp85,1987,-0.43728089332580566 +ACCESS1-0,rcp85,1988,-0.42797911167144775 +ACCESS1-0,rcp85,1989,-0.41668611764907837 +ACCESS1-0,rcp85,1990,-0.3949423134326935 +ACCESS1-0,rcp85,1991,-0.3719106912612915 +ACCESS1-0,rcp85,1992,-0.35148680210113525 +ACCESS1-0,rcp85,1993,-0.3292364180088043 +ACCESS1-0,rcp85,1994,-0.30121976137161255 +ACCESS1-0,rcp85,1995,-0.2664160132408142 +ACCESS1-0,rcp85,1996,-0.23488526046276093 +ACCESS1-0,rcp85,1997,-0.20799626410007477 +ACCESS1-0,rcp85,1998,-0.18536290526390076 +ACCESS1-0,rcp85,1999,-0.16337502002716064 +ACCESS1-0,rcp85,2000,-0.14567941427230835 +ACCESS1-0,rcp85,2001,-0.13344036042690277 +ACCESS1-0,rcp85,2002,-0.11053995788097382 +ACCESS1-0,rcp85,2003,-0.07238231599330902 +ACCESS1-0,rcp85,2004,-0.03791120648384094 +ACCESS1-0,rcp85,2005,-0.006829068064689636 +ACCESS1-0,rcp85,2006,0.02171863615512848 +ACCESS1-0,rcp85,2007,0.04715348780155182 +ACCESS1-0,rcp85,2008,0.07766343653202057 +ACCESS1-0,rcp85,2009,0.09802018105983734 +ACCESS1-0,rcp85,2010,0.11654739081859589 +ACCESS1-0,rcp85,2011,0.13943101465702057 +ACCESS1-0,rcp85,2012,0.16658557951450348 +ACCESS1-0,rcp85,2013,0.1947578340768814 +ACCESS1-0,rcp85,2014,0.2337791472673416 +ACCESS1-0,rcp85,2015,0.2589515447616577 +ACCESS1-0,rcp85,2016,0.29098284244537354 +ACCESS1-0,rcp85,2017,0.33451467752456665 +ACCESS1-0,rcp85,2018,0.37508469820022583 +ACCESS1-0,rcp85,2019,0.415094792842865 +ACCESS1-0,rcp85,2020,0.4623253345489502 +ACCESS1-0,rcp85,2021,0.5069725513458252 +ACCESS1-0,rcp85,2022,0.543134331703186 +ACCESS1-0,rcp85,2023,0.5787528157234192 +ACCESS1-0,rcp85,2024,0.6105919480323792 +ACCESS1-0,rcp85,2025,0.6420632004737854 +ACCESS1-0,rcp85,2026,0.6820961236953735 +ACCESS1-0,rcp85,2027,0.7141762375831604 +ACCESS1-0,rcp85,2028,0.7474998831748962 +ACCESS1-0,rcp85,2029,0.7843453288078308 +ACCESS1-0,rcp85,2030,0.8203316330909729 +ACCESS1-0,rcp85,2031,0.8591133952140808 +ACCESS1-0,rcp85,2032,0.9001945853233337 +ACCESS1-0,rcp85,2033,0.9371529221534729 +ACCESS1-0,rcp85,2034,0.9673301577568054 +ACCESS1-0,rcp85,2035,0.9982642531394958 +ACCESS1-0,rcp85,2036,1.0349282026290894 +ACCESS1-0,rcp85,2037,1.0743036270141602 +ACCESS1-0,rcp85,2038,1.1187235116958618 +ACCESS1-0,rcp85,2039,1.1655985116958618 +ACCESS1-0,rcp85,2040,1.1936242580413818 +ACCESS1-0,rcp85,2041,1.2375589609146118 +ACCESS1-0,rcp85,2042,1.281028151512146 +ACCESS1-0,rcp85,2043,1.3332116603851318 +ACCESS1-0,rcp85,2044,1.394315481185913 +ACCESS1-0,rcp85,2045,1.4521417617797852 +ACCESS1-0,rcp85,2046,1.4981988668441772 +ACCESS1-0,rcp85,2047,1.5588678121566772 +ACCESS1-0,rcp85,2048,1.613909125328064 +ACCESS1-0,rcp85,2049,1.669846534729004 +ACCESS1-0,rcp85,2050,1.7208811044692993 +ACCESS1-0,rcp85,2051,1.7675485610961914 +ACCESS1-0,rcp85,2052,1.8204095363616943 +ACCESS1-0,rcp85,2053,1.8715906143188477 +ACCESS1-0,rcp85,2054,1.9150385856628418 +ACCESS1-0,rcp85,2055,1.9675531387329102 +ACCESS1-0,rcp85,2056,2.0174615383148193 +ACCESS1-0,rcp85,2057,2.063506603240967 +ACCESS1-0,rcp85,2058,2.1038155555725098 +ACCESS1-0,rcp85,2059,2.1414284706115723 +ACCESS1-0,rcp85,2060,2.194182872772217 +ACCESS1-0,rcp85,2061,2.236135244369507 +ACCESS1-0,rcp85,2062,2.2858774662017822 +ACCESS1-0,rcp85,2063,2.3300576210021973 +ACCESS1-0,rcp85,2064,2.366227149963379 +ACCESS1-0,rcp85,2065,2.4047083854675293 +ACCESS1-0,rcp85,2066,2.4566874504089355 +ACCESS1-0,rcp85,2067,2.5064172744750977 +ACCESS1-0,rcp85,2068,2.5458505153656006 +ACCESS1-0,rcp85,2069,2.588315725326538 +ACCESS1-0,rcp85,2070,2.650994300842285 +ACCESS1-0,rcp85,2071,2.708860158920288 +ACCESS1-0,rcp85,2072,2.754570960998535 +ACCESS1-0,rcp85,2073,2.8003640174865723 +ACCESS1-0,rcp85,2074,2.8510658740997314 +ACCESS1-0,rcp85,2075,2.9046714305877686 +ACCESS1-0,rcp85,2076,2.961745500564575 +ACCESS1-0,rcp85,2077,3.0162501335144043 +ACCESS1-0,rcp85,2078,3.07236385345459 +ACCESS1-0,rcp85,2079,3.1268839836120605 +ACCESS1-0,rcp85,2080,3.181783437728882 +ACCESS1-0,rcp85,2081,3.2510018348693848 +ACCESS1-0,rcp85,2082,3.314887523651123 +ACCESS1-0,rcp85,2083,3.3741602897644043 +ACCESS1-0,rcp85,2084,3.4331018924713135 +ACCESS1-0,rcp85,2085,3.5024454593658447 +ACCESS1-0,rcp85,2086,3.5592737197875977 +ACCESS1-0,rcp85,2087,3.6180567741394043 +ACCESS1-0,rcp85,2088,3.6884851455688477 +ACCESS1-0,rcp85,2089,3.757688283920288 +ACCESS1-0,rcp85,2090,3.8056697845458984 +ACCESS1-0,rcp85,2091,3.8572349548339844 +ACCESS1-0,rcp85,2092,3.940453052520752 +ACCESS1-0,rcp85,2093,4.0068678855896 +ACCESS1-0,rcp85,2094,4.073912143707275 +ACCESS1-0,rcp85,2095,4.1415863037109375 +ACCESS1-0,rcp85,2096,4.209890365600586 +ACCESS1-0,rcp85,2097,4.2788238525390625 +ACCESS1-0,rcp85,2098,4.348387241363525 +ACCESS1-0,rcp85,2099,4.418580532073975 +ACCESS1-0,rcp85,2100,4.489403247833252 +BNU-ESM,rcp45,1981,-0.7282634973526001 +BNU-ESM,rcp45,1982,-0.7108592987060547 +BNU-ESM,rcp45,1983,-0.7081418037414551 +BNU-ESM,rcp45,1984,-0.6954433917999268 +BNU-ESM,rcp45,1985,-0.6845364570617676 +BNU-ESM,rcp45,1986,-0.6596585512161255 +BNU-ESM,rcp45,1987,-0.6192898750305176 +BNU-ESM,rcp45,1988,-0.5875683426856995 +BNU-ESM,rcp45,1989,-0.5711116790771484 +BNU-ESM,rcp45,1990,-0.5383022427558899 +BNU-ESM,rcp45,1991,-0.4997265040874481 +BNU-ESM,rcp45,1992,-0.4806789457798004 +BNU-ESM,rcp45,1993,-0.4496517479419708 +BNU-ESM,rcp45,1994,-0.40636560320854187 +BNU-ESM,rcp45,1995,-0.3729214072227478 +BNU-ESM,rcp45,1996,-0.3416805565357208 +BNU-ESM,rcp45,1997,-0.29704251885414124 +BNU-ESM,rcp45,1998,-0.2712933123111725 +BNU-ESM,rcp45,1999,-0.23873871564865112 +BNU-ESM,rcp45,2000,-0.2078915685415268 +BNU-ESM,rcp45,2001,-0.17075012624263763 +BNU-ESM,rcp45,2002,-0.13168759644031525 +BNU-ESM,rcp45,2003,-0.09615141153335571 +BNU-ESM,rcp45,2004,-0.044739991426467896 +BNU-ESM,rcp45,2005,0.0060107409954071045 +BNU-ESM,rcp45,2006,0.03487733006477356 +BNU-ESM,rcp45,2007,0.054504722356796265 +BNU-ESM,rcp45,2008,0.07604706287384033 +BNU-ESM,rcp45,2009,0.11770966649055481 +BNU-ESM,rcp45,2010,0.15417969226837158 +BNU-ESM,rcp45,2011,0.17389556765556335 +BNU-ESM,rcp45,2012,0.2052600085735321 +BNU-ESM,rcp45,2013,0.24808081984519958 +BNU-ESM,rcp45,2014,0.2723727524280548 +BNU-ESM,rcp45,2015,0.3057696521282196 +BNU-ESM,rcp45,2016,0.3384082019329071 +BNU-ESM,rcp45,2017,0.35976293683052063 +BNU-ESM,rcp45,2018,0.4029330313205719 +BNU-ESM,rcp45,2019,0.4486713111400604 +BNU-ESM,rcp45,2020,0.4783771336078644 +BNU-ESM,rcp45,2021,0.4990024268627167 +BNU-ESM,rcp45,2022,0.5279850959777832 +BNU-ESM,rcp45,2023,0.5697697401046753 +BNU-ESM,rcp45,2024,0.594516396522522 +BNU-ESM,rcp45,2025,0.6260961294174194 +BNU-ESM,rcp45,2026,0.6579304933547974 +BNU-ESM,rcp45,2027,0.6861958503723145 +BNU-ESM,rcp45,2028,0.7255818843841553 +BNU-ESM,rcp45,2029,0.7550801038742065 +BNU-ESM,rcp45,2030,0.7586033344268799 +BNU-ESM,rcp45,2031,0.782164454460144 +BNU-ESM,rcp45,2032,0.8058979511260986 +BNU-ESM,rcp45,2033,0.8214648962020874 +BNU-ESM,rcp45,2034,0.841525673866272 +BNU-ESM,rcp45,2035,0.8645786046981812 +BNU-ESM,rcp45,2036,0.8937686681747437 +BNU-ESM,rcp45,2037,0.9125978946685791 +BNU-ESM,rcp45,2038,0.9312641620635986 +BNU-ESM,rcp45,2039,0.9477527141571045 +BNU-ESM,rcp45,2040,0.9833027124404907 +BNU-ESM,rcp45,2041,1.0241444110870361 +BNU-ESM,rcp45,2042,1.0547688007354736 +BNU-ESM,rcp45,2043,1.0727360248565674 +BNU-ESM,rcp45,2044,1.0865741968154907 +BNU-ESM,rcp45,2045,1.0913975238800049 +BNU-ESM,rcp45,2046,1.115126371383667 +BNU-ESM,rcp45,2047,1.1388218402862549 +BNU-ESM,rcp45,2048,1.1557223796844482 +BNU-ESM,rcp45,2049,1.1799076795578003 +BNU-ESM,rcp45,2050,1.2287694215774536 +BNU-ESM,rcp45,2051,1.2612597942352295 +BNU-ESM,rcp45,2052,1.2929080724716187 +BNU-ESM,rcp45,2053,1.3256412744522095 +BNU-ESM,rcp45,2054,1.362735390663147 +BNU-ESM,rcp45,2055,1.399057149887085 +BNU-ESM,rcp45,2056,1.4219013452529907 +BNU-ESM,rcp45,2057,1.4499361515045166 +BNU-ESM,rcp45,2058,1.4694383144378662 +BNU-ESM,rcp45,2059,1.4871355295181274 +BNU-ESM,rcp45,2060,1.501341462135315 +BNU-ESM,rcp45,2061,1.5086854696273804 +BNU-ESM,rcp45,2062,1.5210479497909546 +BNU-ESM,rcp45,2063,1.5487489700317383 +BNU-ESM,rcp45,2064,1.5726959705352783 +BNU-ESM,rcp45,2065,1.6143478155136108 +BNU-ESM,rcp45,2066,1.6357345581054688 +BNU-ESM,rcp45,2067,1.6490981578826904 +BNU-ESM,rcp45,2068,1.6604340076446533 +BNU-ESM,rcp45,2069,1.6745803356170654 +BNU-ESM,rcp45,2070,1.6916594505310059 +BNU-ESM,rcp45,2071,1.7008147239685059 +BNU-ESM,rcp45,2072,1.7230606079101562 +BNU-ESM,rcp45,2073,1.7361769676208496 +BNU-ESM,rcp45,2074,1.7467238903045654 +BNU-ESM,rcp45,2075,1.7402145862579346 +BNU-ESM,rcp45,2076,1.748957872390747 +BNU-ESM,rcp45,2077,1.7641098499298096 +BNU-ESM,rcp45,2078,1.7696716785430908 +BNU-ESM,rcp45,2079,1.771897792816162 +BNU-ESM,rcp45,2080,1.77764892578125 +BNU-ESM,rcp45,2081,1.787841796875 +BNU-ESM,rcp45,2082,1.798783779144287 +BNU-ESM,rcp45,2083,1.796827793121338 +BNU-ESM,rcp45,2084,1.7959685325622559 +BNU-ESM,rcp45,2085,1.7837111949920654 +BNU-ESM,rcp45,2086,1.7883391380310059 +BNU-ESM,rcp45,2087,1.8067748546600342 +BNU-ESM,rcp45,2088,1.821446180343628 +BNU-ESM,rcp45,2089,1.825181484222412 +BNU-ESM,rcp45,2090,1.8214690685272217 +BNU-ESM,rcp45,2091,1.8200194835662842 +BNU-ESM,rcp45,2092,1.824845790863037 +BNU-ESM,rcp45,2093,1.827279806137085 +BNU-ESM,rcp45,2094,1.829479455947876 +BNU-ESM,rcp45,2095,1.8314447402954102 +BNU-ESM,rcp45,2096,1.8331756591796875 +BNU-ESM,rcp45,2097,1.834672212600708 +BNU-ESM,rcp45,2098,1.8359344005584717 +BNU-ESM,rcp45,2099,1.8369622230529785 +BNU-ESM,rcp45,2100,1.8377556800842285 +BNU-ESM,rcp85,1981,-0.6940617561340332 +BNU-ESM,rcp85,1982,-0.6766575574874878 +BNU-ESM,rcp85,1983,-0.6739400625228882 +BNU-ESM,rcp85,1984,-0.6612416505813599 +BNU-ESM,rcp85,1985,-0.6503347158432007 +BNU-ESM,rcp85,1986,-0.6254568099975586 +BNU-ESM,rcp85,1987,-0.5850881338119507 +BNU-ESM,rcp85,1988,-0.5533666014671326 +BNU-ESM,rcp85,1989,-0.5369099378585815 +BNU-ESM,rcp85,1990,-0.504100501537323 +BNU-ESM,rcp85,1991,-0.4655247628688812 +BNU-ESM,rcp85,1992,-0.4464772045612335 +BNU-ESM,rcp85,1993,-0.41545000672340393 +BNU-ESM,rcp85,1994,-0.372163861989975 +BNU-ESM,rcp85,1995,-0.3387196660041809 +BNU-ESM,rcp85,1996,-0.30747881531715393 +BNU-ESM,rcp85,1997,-0.2701771557331085 +BNU-ESM,rcp85,1998,-0.24725541472434998 +BNU-ESM,rcp85,1999,-0.2217366099357605 +BNU-ESM,rcp85,2000,-0.1816319227218628 +BNU-ESM,rcp85,2001,-0.14776502549648285 +BNU-ESM,rcp85,2002,-0.12277261912822723 +BNU-ESM,rcp85,2003,-0.07970927655696869 +BNU-ESM,rcp85,2004,-0.029631465673446655 +BNU-ESM,rcp85,2005,-0.0006276071071624756 +BNU-ESM,rcp85,2006,0.013914018869400024 +BNU-ESM,rcp85,2007,0.04367172718048096 +BNU-ESM,rcp85,2008,0.07707780599594116 +BNU-ESM,rcp85,2009,0.10981854796409607 +BNU-ESM,rcp85,2010,0.13602393865585327 +BNU-ESM,rcp85,2011,0.15671643614768982 +BNU-ESM,rcp85,2012,0.1913614571094513 +BNU-ESM,rcp85,2013,0.23018136620521545 +BNU-ESM,rcp85,2014,0.2599543631076813 +BNU-ESM,rcp85,2015,0.3017999827861786 +BNU-ESM,rcp85,2016,0.3455088436603546 +BNU-ESM,rcp85,2017,0.37337443232536316 +BNU-ESM,rcp85,2018,0.4160105884075165 +BNU-ESM,rcp85,2019,0.46594491600990295 +BNU-ESM,rcp85,2020,0.49519750475883484 +BNU-ESM,rcp85,2021,0.5270578861236572 +BNU-ESM,rcp85,2022,0.5841989517211914 +BNU-ESM,rcp85,2023,0.6139765977859497 +BNU-ESM,rcp85,2024,0.6386408805847168 +BNU-ESM,rcp85,2025,0.6976497173309326 +BNU-ESM,rcp85,2026,0.7641932964324951 +BNU-ESM,rcp85,2027,0.7983806133270264 +BNU-ESM,rcp85,2028,0.8319910764694214 +BNU-ESM,rcp85,2029,0.8812679052352905 +BNU-ESM,rcp85,2030,0.9277476072311401 +BNU-ESM,rcp85,2031,0.9809412956237793 +BNU-ESM,rcp85,2032,1.0183970928192139 +BNU-ESM,rcp85,2033,1.0523570775985718 +BNU-ESM,rcp85,2034,1.0925654172897339 +BNU-ESM,rcp85,2035,1.140159249305725 +BNU-ESM,rcp85,2036,1.1682795286178589 +BNU-ESM,rcp85,2037,1.2055217027664185 +BNU-ESM,rcp85,2038,1.2538981437683105 +BNU-ESM,rcp85,2039,1.2894222736358643 +BNU-ESM,rcp85,2040,1.3281657695770264 +BNU-ESM,rcp85,2041,1.3778804540634155 +BNU-ESM,rcp85,2042,1.4238795042037964 +BNU-ESM,rcp85,2043,1.4893230199813843 +BNU-ESM,rcp85,2044,1.5449944734573364 +BNU-ESM,rcp85,2045,1.5880974531173706 +BNU-ESM,rcp85,2046,1.6290735006332397 +BNU-ESM,rcp85,2047,1.680503010749817 +BNU-ESM,rcp85,2048,1.7384010553359985 +BNU-ESM,rcp85,2049,1.796543002128601 +BNU-ESM,rcp85,2050,1.8422080278396606 +BNU-ESM,rcp85,2051,1.8744436502456665 +BNU-ESM,rcp85,2052,1.9338613748550415 +BNU-ESM,rcp85,2053,1.9880331754684448 +BNU-ESM,rcp85,2054,2.0484976768493652 +BNU-ESM,rcp85,2055,2.1007742881774902 +BNU-ESM,rcp85,2056,2.1585958003997803 +BNU-ESM,rcp85,2057,2.2129156589508057 +BNU-ESM,rcp85,2058,2.2613654136657715 +BNU-ESM,rcp85,2059,2.3211112022399902 +BNU-ESM,rcp85,2060,2.3757665157318115 +BNU-ESM,rcp85,2061,2.432497262954712 +BNU-ESM,rcp85,2062,2.4854331016540527 +BNU-ESM,rcp85,2063,2.5309641361236572 +BNU-ESM,rcp85,2064,2.585956335067749 +BNU-ESM,rcp85,2065,2.6354269981384277 +BNU-ESM,rcp85,2066,2.686851978302002 +BNU-ESM,rcp85,2067,2.7478678226470947 +BNU-ESM,rcp85,2068,2.7964437007904053 +BNU-ESM,rcp85,2069,2.8358540534973145 +BNU-ESM,rcp85,2070,2.8940343856811523 +BNU-ESM,rcp85,2071,2.9657721519470215 +BNU-ESM,rcp85,2072,3.0278050899505615 +BNU-ESM,rcp85,2073,3.0938849449157715 +BNU-ESM,rcp85,2074,3.136366844177246 +BNU-ESM,rcp85,2075,3.1806936264038086 +BNU-ESM,rcp85,2076,3.2434072494506836 +BNU-ESM,rcp85,2077,3.3132758140563965 +BNU-ESM,rcp85,2078,3.3662543296813965 +BNU-ESM,rcp85,2079,3.4082891941070557 +BNU-ESM,rcp85,2080,3.467033863067627 +BNU-ESM,rcp85,2081,3.523674488067627 +BNU-ESM,rcp85,2082,3.5728018283843994 +BNU-ESM,rcp85,2083,3.6304755210876465 +BNU-ESM,rcp85,2084,3.686655282974243 +BNU-ESM,rcp85,2085,3.73319149017334 +BNU-ESM,rcp85,2086,3.777799129486084 +BNU-ESM,rcp85,2087,3.8197498321533203 +BNU-ESM,rcp85,2088,3.8711233139038086 +BNU-ESM,rcp85,2089,3.9337449073791504 +BNU-ESM,rcp85,2090,3.981660842895508 +BNU-ESM,rcp85,2091,4.033534526824951 +BNU-ESM,rcp85,2092,4.07767391204834 +BNU-ESM,rcp85,2093,4.12577486038208 +BNU-ESM,rcp85,2094,4.173452854156494 +BNU-ESM,rcp85,2095,4.220707893371582 +BNU-ESM,rcp85,2096,4.267540454864502 +BNU-ESM,rcp85,2097,4.313950538635254 +BNU-ESM,rcp85,2098,4.35993766784668 +BNU-ESM,rcp85,2099,4.4055023193359375 +BNU-ESM,rcp85,2100,4.450644493103027 +CCSM4,rcp45,1981,-0.6242644190788269 +CCSM4,rcp45,1982,-0.5924345254898071 +CCSM4,rcp45,1983,-0.5785627365112305 +CCSM4,rcp45,1984,-0.5543761253356934 +CCSM4,rcp45,1985,-0.5435881614685059 +CCSM4,rcp45,1986,-0.5381941795349121 +CCSM4,rcp45,1987,-0.53926682472229 +CCSM4,rcp45,1988,-0.5247389078140259 +CCSM4,rcp45,1989,-0.4974684417247772 +CCSM4,rcp45,1990,-0.47551867365837097 +CCSM4,rcp45,1991,-0.45435628294944763 +CCSM4,rcp45,1992,-0.4280150234699249 +CCSM4,rcp45,1993,-0.3948744833469391 +CCSM4,rcp45,1994,-0.3642790913581848 +CCSM4,rcp45,1995,-0.33137959241867065 +CCSM4,rcp45,1996,-0.29650408029556274 +CCSM4,rcp45,1997,-0.26369309425354004 +CCSM4,rcp45,1998,-0.22825607657432556 +CCSM4,rcp45,1999,-0.197329580783844 +CCSM4,rcp45,2000,-0.16624893248081207 +CCSM4,rcp45,2001,-0.13757918775081635 +CCSM4,rcp45,2002,-0.11445753276348114 +CCSM4,rcp45,2003,-0.0867948830127716 +CCSM4,rcp45,2004,-0.0638807862997055 +CCSM4,rcp45,2005,-0.019413650035858154 +CCSM4,rcp45,2006,0.023495614528656006 +CCSM4,rcp45,2007,0.06285417079925537 +CCSM4,rcp45,2008,0.09406295418739319 +CCSM4,rcp45,2009,0.1113603413105011 +CCSM4,rcp45,2010,0.13035297393798828 +CCSM4,rcp45,2011,0.14530205726623535 +CCSM4,rcp45,2012,0.15536826848983765 +CCSM4,rcp45,2013,0.16753867268562317 +CCSM4,rcp45,2014,0.18574851751327515 +CCSM4,rcp45,2015,0.20584428310394287 +CCSM4,rcp45,2016,0.2219926118850708 +CCSM4,rcp45,2017,0.2306031584739685 +CCSM4,rcp45,2018,0.24258440732955933 +CCSM4,rcp45,2019,0.26244378089904785 +CCSM4,rcp45,2020,0.2770342230796814 +CCSM4,rcp45,2021,0.2856127619743347 +CCSM4,rcp45,2022,0.3081666827201843 +CCSM4,rcp45,2023,0.341508686542511 +CCSM4,rcp45,2024,0.36711597442626953 +CCSM4,rcp45,2025,0.38384872674942017 +CCSM4,rcp45,2026,0.4013581871986389 +CCSM4,rcp45,2027,0.41956353187561035 +CCSM4,rcp45,2028,0.4370439648628235 +CCSM4,rcp45,2029,0.46174490451812744 +CCSM4,rcp45,2030,0.4919359087944031 +CCSM4,rcp45,2031,0.522122323513031 +CCSM4,rcp45,2032,0.5487672090530396 +CCSM4,rcp45,2033,0.5643418431282043 +CCSM4,rcp45,2034,0.593818724155426 +CCSM4,rcp45,2035,0.6228088736534119 +CCSM4,rcp45,2036,0.6500351428985596 +CCSM4,rcp45,2037,0.6735551357269287 +CCSM4,rcp45,2038,0.6913651823997498 +CCSM4,rcp45,2039,0.7189896702766418 +CCSM4,rcp45,2040,0.7488998770713806 +CCSM4,rcp45,2041,0.774228036403656 +CCSM4,rcp45,2042,0.7868394255638123 +CCSM4,rcp45,2043,0.8006944060325623 +CCSM4,rcp45,2044,0.8221558928489685 +CCSM4,rcp45,2045,0.8365617394447327 +CCSM4,rcp45,2046,0.8530823588371277 +CCSM4,rcp45,2047,0.8649186491966248 +CCSM4,rcp45,2048,0.8727677464485168 +CCSM4,rcp45,2049,0.8855714201927185 +CCSM4,rcp45,2050,0.8979813456535339 +CCSM4,rcp45,2051,0.9156098961830139 +CCSM4,rcp45,2052,0.9359696507453918 +CCSM4,rcp45,2053,0.962246835231781 +CCSM4,rcp45,2054,0.9854783415794373 +CCSM4,rcp45,2055,1.0017075538635254 +CCSM4,rcp45,2056,1.0138673782348633 +CCSM4,rcp45,2057,1.030806064605713 +CCSM4,rcp45,2058,1.046386957168579 +CCSM4,rcp45,2059,1.0568315982818604 +CCSM4,rcp45,2060,1.0666048526763916 +CCSM4,rcp45,2061,1.0913591384887695 +CCSM4,rcp45,2062,1.1195695400238037 +CCSM4,rcp45,2063,1.1335253715515137 +CCSM4,rcp45,2064,1.1411561965942383 +CCSM4,rcp45,2065,1.1555819511413574 +CCSM4,rcp45,2066,1.1764161586761475 +CCSM4,rcp45,2067,1.1955204010009766 +CCSM4,rcp45,2068,1.2196581363677979 +CCSM4,rcp45,2069,1.2334492206573486 +CCSM4,rcp45,2070,1.2410266399383545 +CCSM4,rcp45,2071,1.2470309734344482 +CCSM4,rcp45,2072,1.258432149887085 +CCSM4,rcp45,2073,1.2723300457000732 +CCSM4,rcp45,2074,1.2653429508209229 +CCSM4,rcp45,2075,1.266554355621338 +CCSM4,rcp45,2076,1.2728426456451416 +CCSM4,rcp45,2077,1.281524896621704 +CCSM4,rcp45,2078,1.289992094039917 +CCSM4,rcp45,2079,1.2954378128051758 +CCSM4,rcp45,2080,1.3036015033721924 +CCSM4,rcp45,2081,1.3000049591064453 +CCSM4,rcp45,2082,1.2951006889343262 +CCSM4,rcp45,2083,1.3001620769500732 +CCSM4,rcp45,2084,1.3085527420043945 +CCSM4,rcp45,2085,1.3127930164337158 +CCSM4,rcp45,2086,1.3180315494537354 +CCSM4,rcp45,2087,1.3317277431488037 +CCSM4,rcp45,2088,1.3323824405670166 +CCSM4,rcp45,2089,1.3380646705627441 +CCSM4,rcp45,2090,1.3536546230316162 +CCSM4,rcp45,2091,1.3689594268798828 +CCSM4,rcp45,2092,1.3656175136566162 +CCSM4,rcp45,2093,1.3607409000396729 +CCSM4,rcp45,2094,1.3682236671447754 +CCSM4,rcp45,2095,1.3750627040863037 +CCSM4,rcp45,2096,1.3836076259613037 +CCSM4,rcp45,2097,1.3931336402893066 +CCSM4,rcp45,2098,1.4046235084533691 +CCSM4,rcp45,2099,1.4189684391021729 +CCSM4,rcp45,2100,1.4223952293395996 +CCSM4,rcp85,1981,-0.6061955094337463 +CCSM4,rcp85,1982,-0.5743656158447266 +CCSM4,rcp85,1983,-0.5604938268661499 +CCSM4,rcp85,1984,-0.5363072156906128 +CCSM4,rcp85,1985,-0.5255192518234253 +CCSM4,rcp85,1986,-0.5201252698898315 +CCSM4,rcp85,1987,-0.5211979150772095 +CCSM4,rcp85,1988,-0.5066699981689453 +CCSM4,rcp85,1989,-0.47939953207969666 +CCSM4,rcp85,1990,-0.4574497640132904 +CCSM4,rcp85,1991,-0.43628737330436707 +CCSM4,rcp85,1992,-0.40994611382484436 +CCSM4,rcp85,1993,-0.3768055737018585 +CCSM4,rcp85,1994,-0.34621018171310425 +CCSM4,rcp85,1995,-0.3133106827735901 +CCSM4,rcp85,1996,-0.2784351706504822 +CCSM4,rcp85,1997,-0.250714510679245 +CCSM4,rcp85,1998,-0.2263096272945404 +CCSM4,rcp85,1999,-0.19408917427062988 +CCSM4,rcp85,2000,-0.1624821126461029 +CCSM4,rcp85,2001,-0.1358250081539154 +CCSM4,rcp85,2002,-0.11767926812171936 +CCSM4,rcp85,2003,-0.08964432775974274 +CCSM4,rcp85,2004,-0.06909531354904175 +CCSM4,rcp85,2005,-0.026627063751220703 +CCSM4,rcp85,2006,0.017446428537368774 +CCSM4,rcp85,2007,0.05988115072250366 +CCSM4,rcp85,2008,0.09270274639129639 +CCSM4,rcp85,2009,0.11891892552375793 +CCSM4,rcp85,2010,0.14992180466651917 +CCSM4,rcp85,2011,0.16764488816261292 +CCSM4,rcp85,2012,0.18385425209999084 +CCSM4,rcp85,2013,0.2015971839427948 +CCSM4,rcp85,2014,0.23844408988952637 +CCSM4,rcp85,2015,0.2663600444793701 +CCSM4,rcp85,2016,0.2971080541610718 +CCSM4,rcp85,2017,0.32816576957702637 +CCSM4,rcp85,2018,0.35817521810531616 +CCSM4,rcp85,2019,0.38662832975387573 +CCSM4,rcp85,2020,0.41990625858306885 +CCSM4,rcp85,2021,0.44953882694244385 +CCSM4,rcp85,2022,0.4839351773262024 +CCSM4,rcp85,2023,0.5232143998146057 +CCSM4,rcp85,2024,0.5696406960487366 +CCSM4,rcp85,2025,0.5991162061691284 +CCSM4,rcp85,2026,0.6282054781913757 +CCSM4,rcp85,2027,0.6570080518722534 +CCSM4,rcp85,2028,0.6916531324386597 +CCSM4,rcp85,2029,0.716538667678833 +CCSM4,rcp85,2030,0.7438426613807678 +CCSM4,rcp85,2031,0.7804698348045349 +CCSM4,rcp85,2032,0.8175792098045349 +CCSM4,rcp85,2033,0.8531001210212708 +CCSM4,rcp85,2034,0.8771571516990662 +CCSM4,rcp85,2035,0.9134166836738586 +CCSM4,rcp85,2036,0.946003258228302 +CCSM4,rcp85,2037,0.9757609963417053 +CCSM4,rcp85,2038,1.0046582221984863 +CCSM4,rcp85,2039,1.035111665725708 +CCSM4,rcp85,2040,1.0632319450378418 +CCSM4,rcp85,2041,1.0943920612335205 +CCSM4,rcp85,2042,1.1311047077178955 +CCSM4,rcp85,2043,1.1675503253936768 +CCSM4,rcp85,2044,1.192734956741333 +CCSM4,rcp85,2045,1.2209851741790771 +CCSM4,rcp85,2046,1.2580561637878418 +CCSM4,rcp85,2047,1.2990260124206543 +CCSM4,rcp85,2048,1.3342373371124268 +CCSM4,rcp85,2049,1.3797543048858643 +CCSM4,rcp85,2050,1.423940896987915 +CCSM4,rcp85,2051,1.4690439701080322 +CCSM4,rcp85,2052,1.503622055053711 +CCSM4,rcp85,2053,1.5500833988189697 +CCSM4,rcp85,2054,1.6009211540222168 +CCSM4,rcp85,2055,1.6401424407958984 +CCSM4,rcp85,2056,1.6819393634796143 +CCSM4,rcp85,2057,1.7265679836273193 +CCSM4,rcp85,2058,1.775310754776001 +CCSM4,rcp85,2059,1.8235514163970947 +CCSM4,rcp85,2060,1.8738155364990234 +CCSM4,rcp85,2061,1.9286890029907227 +CCSM4,rcp85,2062,1.9774713516235352 +CCSM4,rcp85,2063,2.0175821781158447 +CCSM4,rcp85,2064,2.0589563846588135 +CCSM4,rcp85,2065,2.114238977432251 +CCSM4,rcp85,2066,2.1681737899780273 +CCSM4,rcp85,2067,2.2160682678222656 +CCSM4,rcp85,2068,2.267017364501953 +CCSM4,rcp85,2069,2.3221399784088135 +CCSM4,rcp85,2070,2.3794898986816406 +CCSM4,rcp85,2071,2.4259390830993652 +CCSM4,rcp85,2072,2.481395721435547 +CCSM4,rcp85,2073,2.526212215423584 +CCSM4,rcp85,2074,2.57102108001709 +CCSM4,rcp85,2075,2.6192634105682373 +CCSM4,rcp85,2076,2.660895347595215 +CCSM4,rcp85,2077,2.7066962718963623 +CCSM4,rcp85,2078,2.7545325756073 +CCSM4,rcp85,2079,2.8101370334625244 +CCSM4,rcp85,2080,2.8626623153686523 +CCSM4,rcp85,2081,2.9138681888580322 +CCSM4,rcp85,2082,2.965928077697754 +CCSM4,rcp85,2083,3.027777671813965 +CCSM4,rcp85,2084,3.0895559787750244 +CCSM4,rcp85,2085,3.1291849613189697 +CCSM4,rcp85,2086,3.1719675064086914 +CCSM4,rcp85,2087,3.2188100814819336 +CCSM4,rcp85,2088,3.2536261081695557 +CCSM4,rcp85,2089,3.2868735790252686 +CCSM4,rcp85,2090,3.3226873874664307 +CCSM4,rcp85,2091,3.3684332370758057 +CCSM4,rcp85,2092,3.4139411449432373 +CCSM4,rcp85,2093,3.454408884048462 +CCSM4,rcp85,2094,3.4991157054901123 +CCSM4,rcp85,2095,3.5499274730682373 +CCSM4,rcp85,2096,3.5885214805603027 +CCSM4,rcp85,2097,3.6220266819000244 +CCSM4,rcp85,2098,3.65396785736084 +CCSM4,rcp85,2099,3.6821372509002686 +CCSM4,rcp85,2100,3.7095389366149902 +CESM1-BGC,rcp45,1981,-0.5738966464996338 +CESM1-BGC,rcp45,1982,-0.5660306811332703 +CESM1-BGC,rcp45,1983,-0.5685057044029236 +CESM1-BGC,rcp45,1984,-0.5650907754898071 +CESM1-BGC,rcp45,1985,-0.5518187284469604 +CESM1-BGC,rcp45,1986,-0.5344679355621338 +CESM1-BGC,rcp45,1987,-0.5064070224761963 +CESM1-BGC,rcp45,1988,-0.4768538475036621 +CESM1-BGC,rcp45,1989,-0.4576384425163269 +CESM1-BGC,rcp45,1990,-0.43128344416618347 +CESM1-BGC,rcp45,1991,-0.40500473976135254 +CESM1-BGC,rcp45,1992,-0.3980330228805542 +CESM1-BGC,rcp45,1993,-0.3891066014766693 +CESM1-BGC,rcp45,1994,-0.357913076877594 +CESM1-BGC,rcp45,1995,-0.32728102803230286 +CESM1-BGC,rcp45,1996,-0.28580763936042786 +CESM1-BGC,rcp45,1997,-0.2517316937446594 +CESM1-BGC,rcp45,1998,-0.22175279259681702 +CESM1-BGC,rcp45,1999,-0.20347735285758972 +CESM1-BGC,rcp45,2000,-0.17887409031391144 +CESM1-BGC,rcp45,2001,-0.15456989407539368 +CESM1-BGC,rcp45,2002,-0.11792135238647461 +CESM1-BGC,rcp45,2003,-0.06999805569648743 +CESM1-BGC,rcp45,2004,-0.03100419044494629 +CESM1-BGC,rcp45,2005,0.0076676905155181885 +CESM1-BGC,rcp45,2006,0.03447279334068298 +CESM1-BGC,rcp45,2007,0.05799272656440735 +CESM1-BGC,rcp45,2008,0.07373672723770142 +CESM1-BGC,rcp45,2009,0.09246847033500671 +CESM1-BGC,rcp45,2010,0.10715499520301819 +CESM1-BGC,rcp45,2011,0.12173324823379517 +CESM1-BGC,rcp45,2012,0.14908921718597412 +CESM1-BGC,rcp45,2013,0.18254715204238892 +CESM1-BGC,rcp45,2014,0.2089860737323761 +CESM1-BGC,rcp45,2015,0.23301103711128235 +CESM1-BGC,rcp45,2016,0.2438783347606659 +CESM1-BGC,rcp45,2017,0.26490798592567444 +CESM1-BGC,rcp45,2018,0.28656938672065735 +CESM1-BGC,rcp45,2019,0.31115278601646423 +CESM1-BGC,rcp45,2020,0.32246413826942444 +CESM1-BGC,rcp45,2021,0.33842024207115173 +CESM1-BGC,rcp45,2022,0.3484620749950409 +CESM1-BGC,rcp45,2023,0.3635729253292084 +CESM1-BGC,rcp45,2024,0.3916490375995636 +CESM1-BGC,rcp45,2025,0.4086976945400238 +CESM1-BGC,rcp45,2026,0.4298768937587738 +CESM1-BGC,rcp45,2027,0.4558473527431488 +CESM1-BGC,rcp45,2028,0.47936108708381653 +CESM1-BGC,rcp45,2029,0.49430713057518005 +CESM1-BGC,rcp45,2030,0.509048581123352 +CESM1-BGC,rcp45,2031,0.531967282295227 +CESM1-BGC,rcp45,2032,0.5553300380706787 +CESM1-BGC,rcp45,2033,0.5715364217758179 +CESM1-BGC,rcp45,2034,0.5925401449203491 +CESM1-BGC,rcp45,2035,0.612878680229187 +CESM1-BGC,rcp45,2036,0.6329119205474854 +CESM1-BGC,rcp45,2037,0.6511827707290649 +CESM1-BGC,rcp45,2038,0.6715090274810791 +CESM1-BGC,rcp45,2039,0.6869387626647949 +CESM1-BGC,rcp45,2040,0.7093232870101929 +CESM1-BGC,rcp45,2041,0.7392809391021729 +CESM1-BGC,rcp45,2042,0.7729295492172241 +CESM1-BGC,rcp45,2043,0.7947436571121216 +CESM1-BGC,rcp45,2044,0.8097413778305054 +CESM1-BGC,rcp45,2045,0.8305926322937012 +CESM1-BGC,rcp45,2046,0.8530381917953491 +CESM1-BGC,rcp45,2047,0.8737719058990479 +CESM1-BGC,rcp45,2048,0.8990113735198975 +CESM1-BGC,rcp45,2049,0.939035177230835 +CESM1-BGC,rcp45,2050,0.9632494449615479 +CESM1-BGC,rcp45,2051,0.9824053049087524 +CESM1-BGC,rcp45,2052,0.9971895217895508 +CESM1-BGC,rcp45,2053,1.0158616304397583 +CESM1-BGC,rcp45,2054,1.0303850173950195 +CESM1-BGC,rcp45,2055,1.0512834787368774 +CESM1-BGC,rcp45,2056,1.0736833810806274 +CESM1-BGC,rcp45,2057,1.0888932943344116 +CESM1-BGC,rcp45,2058,1.110295295715332 +CESM1-BGC,rcp45,2059,1.1321184635162354 +CESM1-BGC,rcp45,2060,1.1452500820159912 +CESM1-BGC,rcp45,2061,1.1490297317504883 +CESM1-BGC,rcp45,2062,1.1559083461761475 +CESM1-BGC,rcp45,2063,1.16861891746521 +CESM1-BGC,rcp45,2064,1.1746019124984741 +CESM1-BGC,rcp45,2065,1.1880648136138916 +CESM1-BGC,rcp45,2066,1.2001664638519287 +CESM1-BGC,rcp45,2067,1.2079881429672241 +CESM1-BGC,rcp45,2068,1.2125215530395508 +CESM1-BGC,rcp45,2069,1.2095811367034912 +CESM1-BGC,rcp45,2070,1.2254594564437866 +CESM1-BGC,rcp45,2071,1.2455155849456787 +CESM1-BGC,rcp45,2072,1.254394769668579 +CESM1-BGC,rcp45,2073,1.257969856262207 +CESM1-BGC,rcp45,2074,1.2661561965942383 +CESM1-BGC,rcp45,2075,1.2666444778442383 +CESM1-BGC,rcp45,2076,1.267465353012085 +CESM1-BGC,rcp45,2077,1.2736680507659912 +CESM1-BGC,rcp45,2078,1.2714784145355225 +CESM1-BGC,rcp45,2079,1.2662400007247925 +CESM1-BGC,rcp45,2080,1.2720993757247925 +CESM1-BGC,rcp45,2081,1.280928134918213 +CESM1-BGC,rcp45,2082,1.2843995094299316 +CESM1-BGC,rcp45,2083,1.2897919416427612 +CESM1-BGC,rcp45,2084,1.295607089996338 +CESM1-BGC,rcp45,2085,1.293211579322815 +CESM1-BGC,rcp45,2086,1.2960084676742554 +CESM1-BGC,rcp45,2087,1.2978761196136475 +CESM1-BGC,rcp45,2088,1.2977585792541504 +CESM1-BGC,rcp45,2089,1.2980331182479858 +CESM1-BGC,rcp45,2090,1.2959306240081787 +CESM1-BGC,rcp45,2091,1.2915681600570679 +CESM1-BGC,rcp45,2092,1.2992782592773438 +CESM1-BGC,rcp45,2093,1.2998403310775757 +CESM1-BGC,rcp45,2094,1.30023992061615 +CESM1-BGC,rcp45,2095,1.3004770278930664 +CESM1-BGC,rcp45,2096,1.3005516529083252 +CESM1-BGC,rcp45,2097,1.3004636764526367 +CESM1-BGC,rcp45,2098,1.3002132177352905 +CESM1-BGC,rcp45,2099,1.299800157546997 +CESM1-BGC,rcp45,2100,1.299224615097046 +CESM1-BGC,rcp85,1981,-0.5846698880195618 +CESM1-BGC,rcp85,1982,-0.5768039226531982 +CESM1-BGC,rcp85,1983,-0.5792789459228516 +CESM1-BGC,rcp85,1984,-0.5758640766143799 +CESM1-BGC,rcp85,1985,-0.5625919699668884 +CESM1-BGC,rcp85,1986,-0.5452412366867065 +CESM1-BGC,rcp85,1987,-0.517180323600769 +CESM1-BGC,rcp85,1988,-0.4876271188259125 +CESM1-BGC,rcp85,1989,-0.46841171383857727 +CESM1-BGC,rcp85,1990,-0.44205671548843384 +CESM1-BGC,rcp85,1991,-0.4157780110836029 +CESM1-BGC,rcp85,1992,-0.4088062644004822 +CESM1-BGC,rcp85,1993,-0.3998798727989197 +CESM1-BGC,rcp85,1994,-0.36868637800216675 +CESM1-BGC,rcp85,1995,-0.3380542993545532 +CESM1-BGC,rcp85,1996,-0.2965809106826782 +CESM1-BGC,rcp85,1997,-0.2656437158584595 +CESM1-BGC,rcp85,1998,-0.23751415312290192 +CESM1-BGC,rcp85,1999,-0.21383556723594666 +CESM1-BGC,rcp85,2000,-0.1835758537054062 +CESM1-BGC,rcp85,2001,-0.1561848223209381 +CESM1-BGC,rcp85,2002,-0.12000009417533875 +CESM1-BGC,rcp85,2003,-0.07529187202453613 +CESM1-BGC,rcp85,2004,-0.03948867321014404 +CESM1-BGC,rcp85,2005,-0.004199683666229248 +CESM1-BGC,rcp85,2006,0.027410387992858887 +CESM1-BGC,rcp85,2007,0.05564683675765991 +CESM1-BGC,rcp85,2008,0.07573196291923523 +CESM1-BGC,rcp85,2009,0.10473287105560303 +CESM1-BGC,rcp85,2010,0.13164323568344116 +CESM1-BGC,rcp85,2011,0.1520976424217224 +CESM1-BGC,rcp85,2012,0.1847575306892395 +CESM1-BGC,rcp85,2013,0.21513473987579346 +CESM1-BGC,rcp85,2014,0.2354258894920349 +CESM1-BGC,rcp85,2015,0.25653791427612305 +CESM1-BGC,rcp85,2016,0.2665187120437622 +CESM1-BGC,rcp85,2017,0.28821367025375366 +CESM1-BGC,rcp85,2018,0.3231242299079895 +CESM1-BGC,rcp85,2019,0.3546198606491089 +CESM1-BGC,rcp85,2020,0.3695521354675293 +CESM1-BGC,rcp85,2021,0.39542490243911743 +CESM1-BGC,rcp85,2022,0.4229106307029724 +CESM1-BGC,rcp85,2023,0.4494776725769043 +CESM1-BGC,rcp85,2024,0.4874095320701599 +CESM1-BGC,rcp85,2025,0.5278880596160889 +CESM1-BGC,rcp85,2026,0.5556987524032593 +CESM1-BGC,rcp85,2027,0.5858638286590576 +CESM1-BGC,rcp85,2028,0.6164302825927734 +CESM1-BGC,rcp85,2029,0.6431713104248047 +CESM1-BGC,rcp85,2030,0.6764064431190491 +CESM1-BGC,rcp85,2031,0.7170497179031372 +CESM1-BGC,rcp85,2032,0.7463115453720093 +CESM1-BGC,rcp85,2033,0.7788783311843872 +CESM1-BGC,rcp85,2034,0.8189494609832764 +CESM1-BGC,rcp85,2035,0.8596218824386597 +CESM1-BGC,rcp85,2036,0.9057155847549438 +CESM1-BGC,rcp85,2037,0.942776083946228 +CESM1-BGC,rcp85,2038,0.9645000696182251 +CESM1-BGC,rcp85,2039,0.9870617389678955 +CESM1-BGC,rcp85,2040,1.0301815271377563 +CESM1-BGC,rcp85,2041,1.0680018663406372 +CESM1-BGC,rcp85,2042,1.0965771675109863 +CESM1-BGC,rcp85,2043,1.1328197717666626 +CESM1-BGC,rcp85,2044,1.1703335046768188 +CESM1-BGC,rcp85,2045,1.2013667821884155 +CESM1-BGC,rcp85,2046,1.241451621055603 +CESM1-BGC,rcp85,2047,1.2796077728271484 +CESM1-BGC,rcp85,2048,1.3247935771942139 +CESM1-BGC,rcp85,2049,1.3714748620986938 +CESM1-BGC,rcp85,2050,1.4047127962112427 +CESM1-BGC,rcp85,2051,1.4413233995437622 +CESM1-BGC,rcp85,2052,1.481476902961731 +CESM1-BGC,rcp85,2053,1.5238763093948364 +CESM1-BGC,rcp85,2054,1.566549301147461 +CESM1-BGC,rcp85,2055,1.6062206029891968 +CESM1-BGC,rcp85,2056,1.6492305994033813 +CESM1-BGC,rcp85,2057,1.6998683214187622 +CESM1-BGC,rcp85,2058,1.7494105100631714 +CESM1-BGC,rcp85,2059,1.7944148778915405 +CESM1-BGC,rcp85,2060,1.834299921989441 +CESM1-BGC,rcp85,2061,1.8792492151260376 +CESM1-BGC,rcp85,2062,1.932648777961731 +CESM1-BGC,rcp85,2063,1.9820445775985718 +CESM1-BGC,rcp85,2064,2.0262722969055176 +CESM1-BGC,rcp85,2065,2.0688977241516113 +CESM1-BGC,rcp85,2066,2.115471839904785 +CESM1-BGC,rcp85,2067,2.1586790084838867 +CESM1-BGC,rcp85,2068,2.195920944213867 +CESM1-BGC,rcp85,2069,2.235629081726074 +CESM1-BGC,rcp85,2070,2.2801694869995117 +CESM1-BGC,rcp85,2071,2.3315839767456055 +CESM1-BGC,rcp85,2072,2.3852992057800293 +CESM1-BGC,rcp85,2073,2.438265800476074 +CESM1-BGC,rcp85,2074,2.486321449279785 +CESM1-BGC,rcp85,2075,2.5297436714172363 +CESM1-BGC,rcp85,2076,2.5688929557800293 +CESM1-BGC,rcp85,2077,2.6086878776550293 +CESM1-BGC,rcp85,2078,2.660024642944336 +CESM1-BGC,rcp85,2079,2.715763568878174 +CESM1-BGC,rcp85,2080,2.763883590698242 +CESM1-BGC,rcp85,2081,2.8060526847839355 +CESM1-BGC,rcp85,2082,2.8530454635620117 +CESM1-BGC,rcp85,2083,2.904940605163574 +CESM1-BGC,rcp85,2084,2.9492764472961426 +CESM1-BGC,rcp85,2085,2.9931135177612305 +CESM1-BGC,rcp85,2086,3.037343978881836 +CESM1-BGC,rcp85,2087,3.0890512466430664 +CESM1-BGC,rcp85,2088,3.134974479675293 +CESM1-BGC,rcp85,2089,3.1780362129211426 +CESM1-BGC,rcp85,2090,3.223911762237549 +CESM1-BGC,rcp85,2091,3.262759208679199 +CESM1-BGC,rcp85,2092,3.3153276443481445 +CESM1-BGC,rcp85,2093,3.3611812591552734 +CESM1-BGC,rcp85,2094,3.406978130340576 +CESM1-BGC,rcp85,2095,3.4527173042297363 +CESM1-BGC,rcp85,2096,3.4983997344970703 +CESM1-BGC,rcp85,2097,3.54402494430542 +CESM1-BGC,rcp85,2098,3.5895934104919434 +CESM1-BGC,rcp85,2099,3.635104179382324 +CESM1-BGC,rcp85,2100,3.680558204650879 +CNRM-CM5,rcp45,1981,-0.5503152012825012 +CNRM-CM5,rcp45,1982,-0.5418435335159302 +CNRM-CM5,rcp45,1983,-0.5477762222290039 +CNRM-CM5,rcp45,1984,-0.5352609157562256 +CNRM-CM5,rcp45,1985,-0.5173287987709045 +CNRM-CM5,rcp45,1986,-0.49769988656044006 +CNRM-CM5,rcp45,1987,-0.4766870439052582 +CNRM-CM5,rcp45,1988,-0.4490167796611786 +CNRM-CM5,rcp45,1989,-0.42238712310791016 +CNRM-CM5,rcp45,1990,-0.4073144793510437 +CNRM-CM5,rcp45,1991,-0.3841317892074585 +CNRM-CM5,rcp45,1992,-0.3703027367591858 +CNRM-CM5,rcp45,1993,-0.34756410121917725 +CNRM-CM5,rcp45,1994,-0.3089059591293335 +CNRM-CM5,rcp45,1995,-0.2743264436721802 +CNRM-CM5,rcp45,1996,-0.23724758625030518 +CNRM-CM5,rcp45,1997,-0.21434873342514038 +CNRM-CM5,rcp45,1998,-0.1943322867155075 +CNRM-CM5,rcp45,1999,-0.16336148977279663 +CNRM-CM5,rcp45,2000,-0.13485044240951538 +CNRM-CM5,rcp45,2001,-0.12256713956594467 +CNRM-CM5,rcp45,2002,-0.10307559370994568 +CNRM-CM5,rcp45,2003,-0.06334474682807922 +CNRM-CM5,rcp45,2004,-0.031673580408096313 +CNRM-CM5,rcp45,2005,-0.007138997316360474 +CNRM-CM5,rcp45,2006,0.0163152813911438 +CNRM-CM5,rcp45,2007,0.046480387449264526 +CNRM-CM5,rcp45,2008,0.06963568925857544 +CNRM-CM5,rcp45,2009,0.08635318279266357 +CNRM-CM5,rcp45,2010,0.109015554189682 +CNRM-CM5,rcp45,2011,0.11956396698951721 +CNRM-CM5,rcp45,2012,0.13582369685173035 +CNRM-CM5,rcp45,2013,0.14841526746749878 +CNRM-CM5,rcp45,2014,0.16097629070281982 +CNRM-CM5,rcp45,2015,0.16988590359687805 +CNRM-CM5,rcp45,2016,0.17984378337860107 +CNRM-CM5,rcp45,2017,0.1960623562335968 +CNRM-CM5,rcp45,2018,0.22144228219985962 +CNRM-CM5,rcp45,2019,0.22380894422531128 +CNRM-CM5,rcp45,2020,0.24160224199295044 +CNRM-CM5,rcp45,2021,0.25886911153793335 +CNRM-CM5,rcp45,2022,0.2797400951385498 +CNRM-CM5,rcp45,2023,0.3011084794998169 +CNRM-CM5,rcp45,2024,0.32018500566482544 +CNRM-CM5,rcp45,2025,0.3334769606590271 +CNRM-CM5,rcp45,2026,0.363858699798584 +CNRM-CM5,rcp45,2027,0.37640905380249023 +CNRM-CM5,rcp45,2028,0.3893820643424988 +CNRM-CM5,rcp45,2029,0.4177359342575073 +CNRM-CM5,rcp45,2030,0.44500643014907837 +CNRM-CM5,rcp45,2031,0.47445136308670044 +CNRM-CM5,rcp45,2032,0.50681072473526 +CNRM-CM5,rcp45,2033,0.5338096618652344 +CNRM-CM5,rcp45,2034,0.5581015944480896 +CNRM-CM5,rcp45,2035,0.5823432803153992 +CNRM-CM5,rcp45,2036,0.6022818088531494 +CNRM-CM5,rcp45,2037,0.6257957220077515 +CNRM-CM5,rcp45,2038,0.6525946259498596 +CNRM-CM5,rcp45,2039,0.6845480799674988 +CNRM-CM5,rcp45,2040,0.7060537934303284 +CNRM-CM5,rcp45,2041,0.7263021469116211 +CNRM-CM5,rcp45,2042,0.7497000694274902 +CNRM-CM5,rcp45,2043,0.7705420255661011 +CNRM-CM5,rcp45,2044,0.7962470054626465 +CNRM-CM5,rcp45,2045,0.8256676197052002 +CNRM-CM5,rcp45,2046,0.8511006832122803 +CNRM-CM5,rcp45,2047,0.8788093328475952 +CNRM-CM5,rcp45,2048,0.9018576145172119 +CNRM-CM5,rcp45,2049,0.9227591753005981 +CNRM-CM5,rcp45,2050,0.9417778253555298 +CNRM-CM5,rcp45,2051,0.9672598838806152 +CNRM-CM5,rcp45,2052,0.9903310537338257 +CNRM-CM5,rcp45,2053,1.013731837272644 +CNRM-CM5,rcp45,2054,1.0409824848175049 +CNRM-CM5,rcp45,2055,1.067528247833252 +CNRM-CM5,rcp45,2056,1.0937612056732178 +CNRM-CM5,rcp45,2057,1.1086996793746948 +CNRM-CM5,rcp45,2058,1.1224325895309448 +CNRM-CM5,rcp45,2059,1.1337348222732544 +CNRM-CM5,rcp45,2060,1.1531896591186523 +CNRM-CM5,rcp45,2061,1.180122971534729 +CNRM-CM5,rcp45,2062,1.2023504972457886 +CNRM-CM5,rcp45,2063,1.2334539890289307 +CNRM-CM5,rcp45,2064,1.2547354698181152 +CNRM-CM5,rcp45,2065,1.270438313484192 +CNRM-CM5,rcp45,2066,1.2850242853164673 +CNRM-CM5,rcp45,2067,1.3074547052383423 +CNRM-CM5,rcp45,2068,1.3347266912460327 +CNRM-CM5,rcp45,2069,1.3532692193984985 +CNRM-CM5,rcp45,2070,1.3753775358200073 +CNRM-CM5,rcp45,2071,1.388301968574524 +CNRM-CM5,rcp45,2072,1.4051048755645752 +CNRM-CM5,rcp45,2073,1.420131802558899 +CNRM-CM5,rcp45,2074,1.4377844333648682 +CNRM-CM5,rcp45,2075,1.4574148654937744 +CNRM-CM5,rcp45,2076,1.4749077558517456 +CNRM-CM5,rcp45,2077,1.4931862354278564 +CNRM-CM5,rcp45,2078,1.5143606662750244 +CNRM-CM5,rcp45,2079,1.5382882356643677 +CNRM-CM5,rcp45,2080,1.5542519092559814 +CNRM-CM5,rcp45,2081,1.5661324262619019 +CNRM-CM5,rcp45,2082,1.5755318403244019 +CNRM-CM5,rcp45,2083,1.5787636041641235 +CNRM-CM5,rcp45,2084,1.5926445722579956 +CNRM-CM5,rcp45,2085,1.6041252613067627 +CNRM-CM5,rcp45,2086,1.6187142133712769 +CNRM-CM5,rcp45,2087,1.6356209516525269 +CNRM-CM5,rcp45,2088,1.6433418989181519 +CNRM-CM5,rcp45,2089,1.6540414094924927 +CNRM-CM5,rcp45,2090,1.659371256828308 +CNRM-CM5,rcp45,2091,1.6702187061309814 +CNRM-CM5,rcp45,2092,1.6774773597717285 +CNRM-CM5,rcp45,2093,1.6841347217559814 +CNRM-CM5,rcp45,2094,1.681301236152649 +CNRM-CM5,rcp45,2095,1.682935357093811 +CNRM-CM5,rcp45,2096,1.6870903968811035 +CNRM-CM5,rcp45,2097,1.6965187788009644 +CNRM-CM5,rcp45,2098,1.7016472816467285 +CNRM-CM5,rcp45,2099,1.704531192779541 +CNRM-CM5,rcp45,2100,1.711347222328186 +CNRM-CM5,rcp85,1981,-0.540665328502655 +CNRM-CM5,rcp85,1982,-0.532193660736084 +CNRM-CM5,rcp85,1983,-0.5381263494491577 +CNRM-CM5,rcp85,1984,-0.5256110429763794 +CNRM-CM5,rcp85,1985,-0.5076789259910583 +CNRM-CM5,rcp85,1986,-0.48805001378059387 +CNRM-CM5,rcp85,1987,-0.467037171125412 +CNRM-CM5,rcp85,1988,-0.4393669068813324 +CNRM-CM5,rcp85,1989,-0.41273725032806396 +CNRM-CM5,rcp85,1990,-0.3976646065711975 +CNRM-CM5,rcp85,1991,-0.3744819164276123 +CNRM-CM5,rcp85,1992,-0.3606528639793396 +CNRM-CM5,rcp85,1993,-0.33791422843933105 +CNRM-CM5,rcp85,1994,-0.2992560863494873 +CNRM-CM5,rcp85,1995,-0.264676570892334 +CNRM-CM5,rcp85,1996,-0.22759771347045898 +CNRM-CM5,rcp85,1997,-0.20699836313724518 +CNRM-CM5,rcp85,1998,-0.1891501545906067 +CNRM-CM5,rcp85,1999,-0.16482152044773102 +CNRM-CM5,rcp85,2000,-0.13860231637954712 +CNRM-CM5,rcp85,2001,-0.12100281566381454 +CNRM-CM5,rcp85,2002,-0.10098330676555634 +CNRM-CM5,rcp85,2003,-0.05754610896110535 +CNRM-CM5,rcp85,2004,-0.031114816665649414 +CNRM-CM5,rcp85,2005,-0.004480600357055664 +CNRM-CM5,rcp85,2006,0.020050957798957825 +CNRM-CM5,rcp85,2007,0.043653249740600586 +CNRM-CM5,rcp85,2008,0.0624658465385437 +CNRM-CM5,rcp85,2009,0.08142334222793579 +CNRM-CM5,rcp85,2010,0.10753419995307922 +CNRM-CM5,rcp85,2011,0.11975342035293579 +CNRM-CM5,rcp85,2012,0.14446502923965454 +CNRM-CM5,rcp85,2013,0.1675989031791687 +CNRM-CM5,rcp85,2014,0.18226712942123413 +CNRM-CM5,rcp85,2015,0.20294731855392456 +CNRM-CM5,rcp85,2016,0.21480798721313477 +CNRM-CM5,rcp85,2017,0.236107736825943 +CNRM-CM5,rcp85,2018,0.26253899931907654 +CNRM-CM5,rcp85,2019,0.28170710802078247 +CNRM-CM5,rcp85,2020,0.31155169010162354 +CNRM-CM5,rcp85,2021,0.3377876281738281 +CNRM-CM5,rcp85,2022,0.3668525815010071 +CNRM-CM5,rcp85,2023,0.39644545316696167 +CNRM-CM5,rcp85,2024,0.43228375911712646 +CNRM-CM5,rcp85,2025,0.44438856840133667 +CNRM-CM5,rcp85,2026,0.4706672430038452 +CNRM-CM5,rcp85,2027,0.5095664858818054 +CNRM-CM5,rcp85,2028,0.538617730140686 +CNRM-CM5,rcp85,2029,0.5703346133232117 +CNRM-CM5,rcp85,2030,0.6050637364387512 +CNRM-CM5,rcp85,2031,0.6434820890426636 +CNRM-CM5,rcp85,2032,0.6782479286193848 +CNRM-CM5,rcp85,2033,0.7115563154220581 +CNRM-CM5,rcp85,2034,0.7467659115791321 +CNRM-CM5,rcp85,2035,0.7768363952636719 +CNRM-CM5,rcp85,2036,0.8140404224395752 +CNRM-CM5,rcp85,2037,0.8485757112503052 +CNRM-CM5,rcp85,2038,0.8902535438537598 +CNRM-CM5,rcp85,2039,0.9269601106643677 +CNRM-CM5,rcp85,2040,0.9526193141937256 +CNRM-CM5,rcp85,2041,0.9867714643478394 +CNRM-CM5,rcp85,2042,1.0131112337112427 +CNRM-CM5,rcp85,2043,1.0421382188796997 +CNRM-CM5,rcp85,2044,1.0795954465866089 +CNRM-CM5,rcp85,2045,1.1293284893035889 +CNRM-CM5,rcp85,2046,1.1770457029342651 +CNRM-CM5,rcp85,2047,1.2112252712249756 +CNRM-CM5,rcp85,2048,1.2610405683517456 +CNRM-CM5,rcp85,2049,1.303006887435913 +CNRM-CM5,rcp85,2050,1.3405251502990723 +CNRM-CM5,rcp85,2051,1.3789286613464355 +CNRM-CM5,rcp85,2052,1.4160670042037964 +CNRM-CM5,rcp85,2053,1.4531702995300293 +CNRM-CM5,rcp85,2054,1.5020136833190918 +CNRM-CM5,rcp85,2055,1.5457561016082764 +CNRM-CM5,rcp85,2056,1.5905344486236572 +CNRM-CM5,rcp85,2057,1.6343410015106201 +CNRM-CM5,rcp85,2058,1.6813089847564697 +CNRM-CM5,rcp85,2059,1.7299784421920776 +CNRM-CM5,rcp85,2060,1.7835230827331543 +CNRM-CM5,rcp85,2061,1.821605920791626 +CNRM-CM5,rcp85,2062,1.8713359832763672 +CNRM-CM5,rcp85,2063,1.9237089157104492 +CNRM-CM5,rcp85,2064,1.9603404998779297 +CNRM-CM5,rcp85,2065,2.006463050842285 +CNRM-CM5,rcp85,2066,2.055662155151367 +CNRM-CM5,rcp85,2067,2.1017696857452393 +CNRM-CM5,rcp85,2068,2.145188570022583 +CNRM-CM5,rcp85,2069,2.19578218460083 +CNRM-CM5,rcp85,2070,2.250434637069702 +CNRM-CM5,rcp85,2071,2.308391809463501 +CNRM-CM5,rcp85,2072,2.3608436584472656 +CNRM-CM5,rcp85,2073,2.4115915298461914 +CNRM-CM5,rcp85,2074,2.4556071758270264 +CNRM-CM5,rcp85,2075,2.508338212966919 +CNRM-CM5,rcp85,2076,2.5543479919433594 +CNRM-CM5,rcp85,2077,2.6043360233306885 +CNRM-CM5,rcp85,2078,2.647669553756714 +CNRM-CM5,rcp85,2079,2.695143938064575 +CNRM-CM5,rcp85,2080,2.7405617237091064 +CNRM-CM5,rcp85,2081,2.7908823490142822 +CNRM-CM5,rcp85,2082,2.8472604751586914 +CNRM-CM5,rcp85,2083,2.897963762283325 +CNRM-CM5,rcp85,2084,2.959527015686035 +CNRM-CM5,rcp85,2085,3.0106117725372314 +CNRM-CM5,rcp85,2086,3.054436683654785 +CNRM-CM5,rcp85,2087,3.106417179107666 +CNRM-CM5,rcp85,2088,3.1555917263031006 +CNRM-CM5,rcp85,2089,3.2044789791107178 +CNRM-CM5,rcp85,2090,3.2442784309387207 +CNRM-CM5,rcp85,2091,3.2839741706848145 +CNRM-CM5,rcp85,2092,3.331303834915161 +CNRM-CM5,rcp85,2093,3.3747670650482178 +CNRM-CM5,rcp85,2094,3.4207570552825928 +CNRM-CM5,rcp85,2095,3.4667255878448486 +CNRM-CM5,rcp85,2096,3.515814781188965 +CNRM-CM5,rcp85,2097,3.564279556274414 +CNRM-CM5,rcp85,2098,3.610623359680176 +CNRM-CM5,rcp85,2099,3.65640926361084 +CNRM-CM5,rcp85,2100,3.7059450149536133 +CSIRO-Mk3-6-0,rcp45,1981,-0.4369955062866211 +CSIRO-Mk3-6-0,rcp45,1982,-0.4168890118598938 +CSIRO-Mk3-6-0,rcp45,1983,-0.41557830572128296 +CSIRO-Mk3-6-0,rcp45,1984,-0.4087958037853241 +CSIRO-Mk3-6-0,rcp45,1985,-0.4033728539943695 +CSIRO-Mk3-6-0,rcp45,1986,-0.3942740559577942 +CSIRO-Mk3-6-0,rcp45,1987,-0.39816349744796753 +CSIRO-Mk3-6-0,rcp45,1988,-0.3848807215690613 +CSIRO-Mk3-6-0,rcp45,1989,-0.3622305393218994 +CSIRO-Mk3-6-0,rcp45,1990,-0.3371206521987915 +CSIRO-Mk3-6-0,rcp45,1991,-0.3233541250228882 +CSIRO-Mk3-6-0,rcp45,1992,-0.30268460512161255 +CSIRO-Mk3-6-0,rcp45,1993,-0.27748170495033264 +CSIRO-Mk3-6-0,rcp45,1994,-0.2508368194103241 +CSIRO-Mk3-6-0,rcp45,1995,-0.2288092076778412 +CSIRO-Mk3-6-0,rcp45,1996,-0.19262605905532837 +CSIRO-Mk3-6-0,rcp45,1997,-0.1734045445919037 +CSIRO-Mk3-6-0,rcp45,1998,-0.16566678881645203 +CSIRO-Mk3-6-0,rcp45,1999,-0.15156309306621552 +CSIRO-Mk3-6-0,rcp45,2000,-0.1405310034751892 +CSIRO-Mk3-6-0,rcp45,2001,-0.12184813618659973 +CSIRO-Mk3-6-0,rcp45,2002,-0.10664430260658264 +CSIRO-Mk3-6-0,rcp45,2003,-0.0713537409901619 +CSIRO-Mk3-6-0,rcp45,2004,-0.035646647214889526 +CSIRO-Mk3-6-0,rcp45,2005,-0.002223789691925049 +CSIRO-Mk3-6-0,rcp45,2006,0.018117696046829224 +CSIRO-Mk3-6-0,rcp45,2007,0.04699800908565521 +CSIRO-Mk3-6-0,rcp45,2008,0.07513822615146637 +CSIRO-Mk3-6-0,rcp45,2009,0.09211061894893646 +CSIRO-Mk3-6-0,rcp45,2010,0.10535217821598053 +CSIRO-Mk3-6-0,rcp45,2011,0.12253348529338837 +CSIRO-Mk3-6-0,rcp45,2012,0.1438988596200943 +CSIRO-Mk3-6-0,rcp45,2013,0.16310666501522064 +CSIRO-Mk3-6-0,rcp45,2014,0.1754388064146042 +CSIRO-Mk3-6-0,rcp45,2015,0.19999630749225616 +CSIRO-Mk3-6-0,rcp45,2016,0.22509704530239105 +CSIRO-Mk3-6-0,rcp45,2017,0.2508218288421631 +CSIRO-Mk3-6-0,rcp45,2018,0.27982109785079956 +CSIRO-Mk3-6-0,rcp45,2019,0.30488526821136475 +CSIRO-Mk3-6-0,rcp45,2020,0.33210235834121704 +CSIRO-Mk3-6-0,rcp45,2021,0.3520439863204956 +CSIRO-Mk3-6-0,rcp45,2022,0.3731164336204529 +CSIRO-Mk3-6-0,rcp45,2023,0.3910561800003052 +CSIRO-Mk3-6-0,rcp45,2024,0.41603028774261475 +CSIRO-Mk3-6-0,rcp45,2025,0.44169867038726807 +CSIRO-Mk3-6-0,rcp45,2026,0.48124033212661743 +CSIRO-Mk3-6-0,rcp45,2027,0.5170786380767822 +CSIRO-Mk3-6-0,rcp45,2028,0.5482767224311829 +CSIRO-Mk3-6-0,rcp45,2029,0.5860528945922852 +CSIRO-Mk3-6-0,rcp45,2030,0.6231150031089783 +CSIRO-Mk3-6-0,rcp45,2031,0.6551737189292908 +CSIRO-Mk3-6-0,rcp45,2032,0.6911372542381287 +CSIRO-Mk3-6-0,rcp45,2033,0.728466272354126 +CSIRO-Mk3-6-0,rcp45,2034,0.7747600078582764 +CSIRO-Mk3-6-0,rcp45,2035,0.8075968623161316 +CSIRO-Mk3-6-0,rcp45,2036,0.8350765109062195 +CSIRO-Mk3-6-0,rcp45,2037,0.8678141236305237 +CSIRO-Mk3-6-0,rcp45,2038,0.8982447981834412 +CSIRO-Mk3-6-0,rcp45,2039,0.9402949213981628 +CSIRO-Mk3-6-0,rcp45,2040,0.9869639277458191 +CSIRO-Mk3-6-0,rcp45,2041,1.0287609100341797 +CSIRO-Mk3-6-0,rcp45,2042,1.0746181011199951 +CSIRO-Mk3-6-0,rcp45,2043,1.1224299669265747 +CSIRO-Mk3-6-0,rcp45,2044,1.1637247800827026 +CSIRO-Mk3-6-0,rcp45,2045,1.2161616086959839 +CSIRO-Mk3-6-0,rcp45,2046,1.259206771850586 +CSIRO-Mk3-6-0,rcp45,2047,1.282996654510498 +CSIRO-Mk3-6-0,rcp45,2048,1.3068721294403076 +CSIRO-Mk3-6-0,rcp45,2049,1.339539647102356 +CSIRO-Mk3-6-0,rcp45,2050,1.3736873865127563 +CSIRO-Mk3-6-0,rcp45,2051,1.4104106426239014 +CSIRO-Mk3-6-0,rcp45,2052,1.4336742162704468 +CSIRO-Mk3-6-0,rcp45,2053,1.4608287811279297 +CSIRO-Mk3-6-0,rcp45,2054,1.4820125102996826 +CSIRO-Mk3-6-0,rcp45,2055,1.4997965097427368 +CSIRO-Mk3-6-0,rcp45,2056,1.5198800563812256 +CSIRO-Mk3-6-0,rcp45,2057,1.5558102130889893 +CSIRO-Mk3-6-0,rcp45,2058,1.5941280126571655 +CSIRO-Mk3-6-0,rcp45,2059,1.6224877834320068 +CSIRO-Mk3-6-0,rcp45,2060,1.6500635147094727 +CSIRO-Mk3-6-0,rcp45,2061,1.6735894680023193 +CSIRO-Mk3-6-0,rcp45,2062,1.688504934310913 +CSIRO-Mk3-6-0,rcp45,2063,1.709922432899475 +CSIRO-Mk3-6-0,rcp45,2064,1.7227380275726318 +CSIRO-Mk3-6-0,rcp45,2065,1.723986268043518 +CSIRO-Mk3-6-0,rcp45,2066,1.7284952402114868 +CSIRO-Mk3-6-0,rcp45,2067,1.7541252374649048 +CSIRO-Mk3-6-0,rcp45,2068,1.7700265645980835 +CSIRO-Mk3-6-0,rcp45,2069,1.7844674587249756 +CSIRO-Mk3-6-0,rcp45,2070,1.8016992807388306 +CSIRO-Mk3-6-0,rcp45,2071,1.8162941932678223 +CSIRO-Mk3-6-0,rcp45,2072,1.8341209888458252 +CSIRO-Mk3-6-0,rcp45,2073,1.8506934642791748 +CSIRO-Mk3-6-0,rcp45,2074,1.867459774017334 +CSIRO-Mk3-6-0,rcp45,2075,1.8827567100524902 +CSIRO-Mk3-6-0,rcp45,2076,1.9032340049743652 +CSIRO-Mk3-6-0,rcp45,2077,1.9125311374664307 +CSIRO-Mk3-6-0,rcp45,2078,1.9198994636535645 +CSIRO-Mk3-6-0,rcp45,2079,1.9320030212402344 +CSIRO-Mk3-6-0,rcp45,2080,1.9367425441741943 +CSIRO-Mk3-6-0,rcp45,2081,1.9476161003112793 +CSIRO-Mk3-6-0,rcp45,2082,1.966477394104004 +CSIRO-Mk3-6-0,rcp45,2083,1.972531795501709 +CSIRO-Mk3-6-0,rcp45,2084,1.9869985580444336 +CSIRO-Mk3-6-0,rcp45,2085,1.9985082149505615 +CSIRO-Mk3-6-0,rcp45,2086,2.0077779293060303 +CSIRO-Mk3-6-0,rcp45,2087,2.009209156036377 +CSIRO-Mk3-6-0,rcp45,2088,2.022977352142334 +CSIRO-Mk3-6-0,rcp45,2089,2.0308828353881836 +CSIRO-Mk3-6-0,rcp45,2090,2.0328450202941895 +CSIRO-Mk3-6-0,rcp45,2091,2.0322346687316895 +CSIRO-Mk3-6-0,rcp45,2092,2.0334372520446777 +CSIRO-Mk3-6-0,rcp45,2093,2.0312445163726807 +CSIRO-Mk3-6-0,rcp45,2094,2.042060375213623 +CSIRO-Mk3-6-0,rcp45,2095,2.0606236457824707 +CSIRO-Mk3-6-0,rcp45,2096,2.0711328983306885 +CSIRO-Mk3-6-0,rcp45,2097,2.081491708755493 +CSIRO-Mk3-6-0,rcp45,2098,2.0883491039276123 +CSIRO-Mk3-6-0,rcp45,2099,2.0965933799743652 +CSIRO-Mk3-6-0,rcp45,2100,2.109062671661377 +CSIRO-Mk3-6-0,rcp85,1981,-0.4609532356262207 +CSIRO-Mk3-6-0,rcp85,1982,-0.4408467411994934 +CSIRO-Mk3-6-0,rcp85,1983,-0.43953603506088257 +CSIRO-Mk3-6-0,rcp85,1984,-0.4327535033226013 +CSIRO-Mk3-6-0,rcp85,1985,-0.42733055353164673 +CSIRO-Mk3-6-0,rcp85,1986,-0.4182317554950714 +CSIRO-Mk3-6-0,rcp85,1987,-0.42212122678756714 +CSIRO-Mk3-6-0,rcp85,1988,-0.4088384211063385 +CSIRO-Mk3-6-0,rcp85,1989,-0.386188268661499 +CSIRO-Mk3-6-0,rcp85,1990,-0.3610783815383911 +CSIRO-Mk3-6-0,rcp85,1991,-0.3473118543624878 +CSIRO-Mk3-6-0,rcp85,1992,-0.32664230465888977 +CSIRO-Mk3-6-0,rcp85,1993,-0.30143940448760986 +CSIRO-Mk3-6-0,rcp85,1994,-0.2747945189476013 +CSIRO-Mk3-6-0,rcp85,1995,-0.2527669072151184 +CSIRO-Mk3-6-0,rcp85,1996,-0.21658377349376678 +CSIRO-Mk3-6-0,rcp85,1997,-0.19359485805034637 +CSIRO-Mk3-6-0,rcp85,1998,-0.1752828061580658 +CSIRO-Mk3-6-0,rcp85,1999,-0.14794516563415527 +CSIRO-Mk3-6-0,rcp85,2000,-0.12568865716457367 +CSIRO-Mk3-6-0,rcp85,2001,-0.10928545892238617 +CSIRO-Mk3-6-0,rcp85,2002,-0.09835709631443024 +CSIRO-Mk3-6-0,rcp85,2003,-0.06619460880756378 +CSIRO-Mk3-6-0,rcp85,2004,-0.03685806691646576 +CSIRO-Mk3-6-0,rcp85,2005,0.0014125555753707886 +CSIRO-Mk3-6-0,rcp85,2006,0.01912952959537506 +CSIRO-Mk3-6-0,rcp85,2007,0.0377330482006073 +CSIRO-Mk3-6-0,rcp85,2008,0.06070968508720398 +CSIRO-Mk3-6-0,rcp85,2009,0.08816173672676086 +CSIRO-Mk3-6-0,rcp85,2010,0.10354867577552795 +CSIRO-Mk3-6-0,rcp85,2011,0.12459203600883484 +CSIRO-Mk3-6-0,rcp85,2012,0.1479487121105194 +CSIRO-Mk3-6-0,rcp85,2013,0.1615855097770691 +CSIRO-Mk3-6-0,rcp85,2014,0.17227426171302795 +CSIRO-Mk3-6-0,rcp85,2015,0.19493210315704346 +CSIRO-Mk3-6-0,rcp85,2016,0.21317699551582336 +CSIRO-Mk3-6-0,rcp85,2017,0.23923292756080627 +CSIRO-Mk3-6-0,rcp85,2018,0.26423755288124084 +CSIRO-Mk3-6-0,rcp85,2019,0.28458818793296814 +CSIRO-Mk3-6-0,rcp85,2020,0.31219133734703064 +CSIRO-Mk3-6-0,rcp85,2021,0.3374110162258148 +CSIRO-Mk3-6-0,rcp85,2022,0.3658502995967865 +CSIRO-Mk3-6-0,rcp85,2023,0.38263043761253357 +CSIRO-Mk3-6-0,rcp85,2024,0.41442522406578064 +CSIRO-Mk3-6-0,rcp85,2025,0.4415064752101898 +CSIRO-Mk3-6-0,rcp85,2026,0.4813975393772125 +CSIRO-Mk3-6-0,rcp85,2027,0.5288997888565063 +CSIRO-Mk3-6-0,rcp85,2028,0.5626354217529297 +CSIRO-Mk3-6-0,rcp85,2029,0.5840175151824951 +CSIRO-Mk3-6-0,rcp85,2030,0.6231318712234497 +CSIRO-Mk3-6-0,rcp85,2031,0.6560696363449097 +CSIRO-Mk3-6-0,rcp85,2032,0.6933040618896484 +CSIRO-Mk3-6-0,rcp85,2033,0.7391811609268188 +CSIRO-Mk3-6-0,rcp85,2034,0.7789944410324097 +CSIRO-Mk3-6-0,rcp85,2035,0.8168224096298218 +CSIRO-Mk3-6-0,rcp85,2036,0.8645657300949097 +CSIRO-Mk3-6-0,rcp85,2037,0.9192807674407959 +CSIRO-Mk3-6-0,rcp85,2038,0.9758648872375488 +CSIRO-Mk3-6-0,rcp85,2039,1.0156567096710205 +CSIRO-Mk3-6-0,rcp85,2040,1.0485928058624268 +CSIRO-Mk3-6-0,rcp85,2041,1.0931683778762817 +CSIRO-Mk3-6-0,rcp85,2042,1.1418302059173584 +CSIRO-Mk3-6-0,rcp85,2043,1.2029553651809692 +CSIRO-Mk3-6-0,rcp85,2044,1.254349946975708 +CSIRO-Mk3-6-0,rcp85,2045,1.3037655353546143 +CSIRO-Mk3-6-0,rcp85,2046,1.3551647663116455 +CSIRO-Mk3-6-0,rcp85,2047,1.4011012315750122 +CSIRO-Mk3-6-0,rcp85,2048,1.4483517408370972 +CSIRO-Mk3-6-0,rcp85,2049,1.4920710325241089 +CSIRO-Mk3-6-0,rcp85,2050,1.5311976671218872 +CSIRO-Mk3-6-0,rcp85,2051,1.57352876663208 +CSIRO-Mk3-6-0,rcp85,2052,1.6130582094192505 +CSIRO-Mk3-6-0,rcp85,2053,1.6628886461257935 +CSIRO-Mk3-6-0,rcp85,2054,1.721656084060669 +CSIRO-Mk3-6-0,rcp85,2055,1.7667152881622314 +CSIRO-Mk3-6-0,rcp85,2056,1.8138282299041748 +CSIRO-Mk3-6-0,rcp85,2057,1.8595435619354248 +CSIRO-Mk3-6-0,rcp85,2058,1.896383285522461 +CSIRO-Mk3-6-0,rcp85,2059,1.9495856761932373 +CSIRO-Mk3-6-0,rcp85,2060,2.009291648864746 +CSIRO-Mk3-6-0,rcp85,2061,2.0669760704040527 +CSIRO-Mk3-6-0,rcp85,2062,2.128990888595581 +CSIRO-Mk3-6-0,rcp85,2063,2.1830008029937744 +CSIRO-Mk3-6-0,rcp85,2064,2.230306386947632 +CSIRO-Mk3-6-0,rcp85,2065,2.280393123626709 +CSIRO-Mk3-6-0,rcp85,2066,2.325018882751465 +CSIRO-Mk3-6-0,rcp85,2067,2.364307403564453 +CSIRO-Mk3-6-0,rcp85,2068,2.415567636489868 +CSIRO-Mk3-6-0,rcp85,2069,2.4762563705444336 +CSIRO-Mk3-6-0,rcp85,2070,2.5417640209198 +CSIRO-Mk3-6-0,rcp85,2071,2.6034095287323 +CSIRO-Mk3-6-0,rcp85,2072,2.6649374961853027 +CSIRO-Mk3-6-0,rcp85,2073,2.716564178466797 +CSIRO-Mk3-6-0,rcp85,2074,2.7716422080993652 +CSIRO-Mk3-6-0,rcp85,2075,2.836200714111328 +CSIRO-Mk3-6-0,rcp85,2076,2.89182186126709 +CSIRO-Mk3-6-0,rcp85,2077,2.9422645568847656 +CSIRO-Mk3-6-0,rcp85,2078,3.0047874450683594 +CSIRO-Mk3-6-0,rcp85,2079,3.0606040954589844 +CSIRO-Mk3-6-0,rcp85,2080,3.120476484298706 +CSIRO-Mk3-6-0,rcp85,2081,3.1770620346069336 +CSIRO-Mk3-6-0,rcp85,2082,3.231243133544922 +CSIRO-Mk3-6-0,rcp85,2083,3.2875113487243652 +CSIRO-Mk3-6-0,rcp85,2084,3.357611656188965 +CSIRO-Mk3-6-0,rcp85,2085,3.42746639251709 +CSIRO-Mk3-6-0,rcp85,2086,3.498523712158203 +CSIRO-Mk3-6-0,rcp85,2087,3.581284284591675 +CSIRO-Mk3-6-0,rcp85,2088,3.6488444805145264 +CSIRO-Mk3-6-0,rcp85,2089,3.703540802001953 +CSIRO-Mk3-6-0,rcp85,2090,3.762615442276001 +CSIRO-Mk3-6-0,rcp85,2091,3.8297739028930664 +CSIRO-Mk3-6-0,rcp85,2092,3.8878917694091797 +CSIRO-Mk3-6-0,rcp85,2093,3.9536538124084473 +CSIRO-Mk3-6-0,rcp85,2094,4.01680850982666 +CSIRO-Mk3-6-0,rcp85,2095,4.075689315795898 +CSIRO-Mk3-6-0,rcp85,2096,4.1421074867248535 +CSIRO-Mk3-6-0,rcp85,2097,4.211872577667236 +CSIRO-Mk3-6-0,rcp85,2098,4.268020153045654 +CSIRO-Mk3-6-0,rcp85,2099,4.336750507354736 +CSIRO-Mk3-6-0,rcp85,2100,4.405883312225342 +CanESM2,rcp45,1981,-0.710574209690094 +CanESM2,rcp45,1982,-0.67806077003479 +CanESM2,rcp45,1983,-0.6594327688217163 +CanESM2,rcp45,1984,-0.6571470499038696 +CanESM2,rcp45,1985,-0.6425763964653015 +CanESM2,rcp45,1986,-0.6189344525337219 +CanESM2,rcp45,1987,-0.5851545333862305 +CanESM2,rcp45,1988,-0.5551023483276367 +CanESM2,rcp45,1989,-0.5395505428314209 +CanESM2,rcp45,1990,-0.5114637017250061 +CanESM2,rcp45,1991,-0.48822301626205444 +CanESM2,rcp45,1992,-0.46633434295654297 +CanESM2,rcp45,1993,-0.44823890924453735 +CanESM2,rcp45,1994,-0.4124326705932617 +CanESM2,rcp45,1995,-0.3730955421924591 +CanESM2,rcp45,1996,-0.33022138476371765 +CanESM2,rcp45,1997,-0.27796003222465515 +CanESM2,rcp45,1998,-0.2382490336894989 +CanESM2,rcp45,1999,-0.2088865339756012 +CanESM2,rcp45,2000,-0.18011613190174103 +CanESM2,rcp45,2001,-0.16109907627105713 +CanESM2,rcp45,2002,-0.12570632994174957 +CanESM2,rcp45,2003,-0.0802793949842453 +CanESM2,rcp45,2004,-0.04323258996009827 +CanESM2,rcp45,2005,-0.007760435342788696 +CanESM2,rcp45,2006,0.03105178475379944 +CanESM2,rcp45,2007,0.05642256140708923 +CanESM2,rcp45,2008,0.07917186617851257 +CanESM2,rcp45,2009,0.1107926070690155 +CanESM2,rcp45,2010,0.1406387984752655 +CanESM2,rcp45,2011,0.17466285824775696 +CanESM2,rcp45,2012,0.2070237100124359 +CanESM2,rcp45,2013,0.24410715699195862 +CanESM2,rcp45,2014,0.27115336060523987 +CanESM2,rcp45,2015,0.2991715967655182 +CanESM2,rcp45,2016,0.3191803991794586 +CanESM2,rcp45,2017,0.337553471326828 +CanESM2,rcp45,2018,0.3793366253376007 +CanESM2,rcp45,2019,0.4173981845378876 +CanESM2,rcp45,2020,0.4536987841129303 +CanESM2,rcp45,2021,0.4963899552822113 +CanESM2,rcp45,2022,0.5281327962875366 +CanESM2,rcp45,2023,0.5552705526351929 +CanESM2,rcp45,2024,0.5967775583267212 +CanESM2,rcp45,2025,0.6267839670181274 +CanESM2,rcp45,2026,0.6589113473892212 +CanESM2,rcp45,2027,0.6953920125961304 +CanESM2,rcp45,2028,0.7393265962600708 +CanESM2,rcp45,2029,0.7879730463027954 +CanESM2,rcp45,2030,0.8248887062072754 +CanESM2,rcp45,2031,0.8620897531509399 +CanESM2,rcp45,2032,0.9021822214126587 +CanESM2,rcp45,2033,0.9365755319595337 +CanESM2,rcp45,2034,0.9625262022018433 +CanESM2,rcp45,2035,0.9913530349731445 +CanESM2,rcp45,2036,1.0185747146606445 +CanESM2,rcp45,2037,1.0504121780395508 +CanESM2,rcp45,2038,1.0798311233520508 +CanESM2,rcp45,2039,1.1130893230438232 +CanESM2,rcp45,2040,1.137542963027954 +CanESM2,rcp45,2041,1.1573549509048462 +CanESM2,rcp45,2042,1.1876497268676758 +CanESM2,rcp45,2043,1.2131943702697754 +CanESM2,rcp45,2044,1.2410982847213745 +CanESM2,rcp45,2045,1.2626681327819824 +CanESM2,rcp45,2046,1.288063406944275 +CanESM2,rcp45,2047,1.3093323707580566 +CanESM2,rcp45,2048,1.3237428665161133 +CanESM2,rcp45,2049,1.340591549873352 +CanESM2,rcp45,2050,1.3776445388793945 +CanESM2,rcp45,2051,1.4077562093734741 +CanESM2,rcp45,2052,1.4279801845550537 +CanESM2,rcp45,2053,1.4571337699890137 +CanESM2,rcp45,2054,1.4922733306884766 +CanESM2,rcp45,2055,1.5222644805908203 +CanESM2,rcp45,2056,1.5409960746765137 +CanESM2,rcp45,2057,1.5538607835769653 +CanESM2,rcp45,2058,1.568552017211914 +CanESM2,rcp45,2059,1.586008071899414 +CanESM2,rcp45,2060,1.6088899374008179 +CanESM2,rcp45,2061,1.6284106969833374 +CanESM2,rcp45,2062,1.6476428508758545 +CanESM2,rcp45,2063,1.6747164726257324 +CanESM2,rcp45,2064,1.6860430240631104 +CanESM2,rcp45,2065,1.7134907245635986 +CanESM2,rcp45,2066,1.7342469692230225 +CanESM2,rcp45,2067,1.7517502307891846 +CanESM2,rcp45,2068,1.7752747535705566 +CanESM2,rcp45,2069,1.7921466827392578 +CanESM2,rcp45,2070,1.7994434833526611 +CanESM2,rcp45,2071,1.818120002746582 +CanESM2,rcp45,2072,1.8379778861999512 +CanESM2,rcp45,2073,1.839735507965088 +CanESM2,rcp45,2074,1.8443620204925537 +CanESM2,rcp45,2075,1.854405403137207 +CanESM2,rcp45,2076,1.8787448406219482 +CanESM2,rcp45,2077,1.9056763648986816 +CanESM2,rcp45,2078,1.922816514968872 +CanESM2,rcp45,2079,1.9399340152740479 +CanESM2,rcp45,2080,1.9529192447662354 +CanESM2,rcp45,2081,1.959040880203247 +CanESM2,rcp45,2082,1.953831672668457 +CanESM2,rcp45,2083,1.9516053199768066 +CanESM2,rcp45,2084,1.9631626605987549 +CanESM2,rcp45,2085,1.9715502262115479 +CanESM2,rcp45,2086,1.9769213199615479 +CanESM2,rcp45,2087,1.9765703678131104 +CanESM2,rcp45,2088,1.9711763858795166 +CanESM2,rcp45,2089,1.9837970733642578 +CanESM2,rcp45,2090,1.9939563274383545 +CanESM2,rcp45,2091,1.99033522605896 +CanESM2,rcp45,2092,1.9916794300079346 +CanESM2,rcp45,2093,2.001793146133423 +CanESM2,rcp45,2094,2.011035442352295 +CanESM2,rcp45,2095,2.0166447162628174 +CanESM2,rcp45,2096,2.020784616470337 +CanESM2,rcp45,2097,2.0181524753570557 +CanESM2,rcp45,2098,2.024541139602661 +CanESM2,rcp45,2099,2.0302951335906982 +CanESM2,rcp45,2100,2.0379672050476074 +CanESM2,rcp85,1981,-0.7836794853210449 +CanESM2,rcp85,1982,-0.7511661052703857 +CanESM2,rcp85,1983,-0.732538104057312 +CanESM2,rcp85,1984,-0.7302523851394653 +CanESM2,rcp85,1985,-0.7156816720962524 +CanESM2,rcp85,1986,-0.6920397281646729 +CanESM2,rcp85,1987,-0.6582598686218262 +CanESM2,rcp85,1988,-0.6282076835632324 +CanESM2,rcp85,1989,-0.6126558780670166 +CanESM2,rcp85,1990,-0.584568977355957 +CanESM2,rcp85,1991,-0.5613282918930054 +CanESM2,rcp85,1992,-0.5394396185874939 +CanESM2,rcp85,1993,-0.5213442444801331 +CanESM2,rcp85,1994,-0.4855380058288574 +CanESM2,rcp85,1995,-0.4462008476257324 +CanESM2,rcp85,1996,-0.40332669019699097 +CanESM2,rcp85,1997,-0.3499224781990051 +CanESM2,rcp85,1998,-0.29870638251304626 +CanESM2,rcp85,1999,-0.26125824451446533 +CanESM2,rcp85,2000,-0.21781189739704132 +CanESM2,rcp85,2001,-0.18038812279701233 +CanESM2,rcp85,2002,-0.13643214106559753 +CanESM2,rcp85,2003,-0.09484431147575378 +CanESM2,rcp85,2004,-0.05425745248794556 +CanESM2,rcp85,2005,-0.024226635694503784 +CanESM2,rcp85,2006,0.021204859018325806 +CanESM2,rcp85,2007,0.05839353799819946 +CanESM2,rcp85,2008,0.09031188488006592 +CanESM2,rcp85,2009,0.142441987991333 +CanESM2,rcp85,2010,0.17779654264450073 +CanESM2,rcp85,2011,0.21696585416793823 +CanESM2,rcp85,2012,0.25421565771102905 +CanESM2,rcp85,2013,0.29851198196411133 +CanESM2,rcp85,2014,0.33223235607147217 +CanESM2,rcp85,2015,0.37091952562332153 +CanESM2,rcp85,2016,0.3994961977005005 +CanESM2,rcp85,2017,0.42312443256378174 +CanESM2,rcp85,2018,0.4637753367424011 +CanESM2,rcp85,2019,0.49989140033721924 +CanESM2,rcp85,2020,0.5148815512657166 +CanESM2,rcp85,2021,0.5448665022850037 +CanESM2,rcp85,2022,0.5853145718574524 +CanESM2,rcp85,2023,0.650715172290802 +CanESM2,rcp85,2024,0.6989879012107849 +CanESM2,rcp85,2025,0.7440639138221741 +CanESM2,rcp85,2026,0.7800989747047424 +CanESM2,rcp85,2027,0.8088496327400208 +CanESM2,rcp85,2028,0.8461757302284241 +CanESM2,rcp85,2029,0.8747981190681458 +CanESM2,rcp85,2030,0.9203532338142395 +CanESM2,rcp85,2031,0.9590879082679749 +CanESM2,rcp85,2032,1.0085628032684326 +CanESM2,rcp85,2033,1.0587201118469238 +CanESM2,rcp85,2034,1.0958399772644043 +CanESM2,rcp85,2035,1.1320827007293701 +CanESM2,rcp85,2036,1.1705195903778076 +CanESM2,rcp85,2037,1.2113885879516602 +CanESM2,rcp85,2038,1.2490932941436768 +CanESM2,rcp85,2039,1.3053998947143555 +CanESM2,rcp85,2040,1.3642163276672363 +CanESM2,rcp85,2041,1.4079785346984863 +CanESM2,rcp85,2042,1.4453840255737305 +CanESM2,rcp85,2043,1.4763469696044922 +CanESM2,rcp85,2044,1.5242233276367188 +CanESM2,rcp85,2045,1.572199821472168 +CanESM2,rcp85,2046,1.6238067150115967 +CanESM2,rcp85,2047,1.6695189476013184 +CanESM2,rcp85,2048,1.7161545753479004 +CanESM2,rcp85,2049,1.773442029953003 +CanESM2,rcp85,2050,1.8270447254180908 +CanESM2,rcp85,2051,1.8806564807891846 +CanESM2,rcp85,2052,1.9286301136016846 +CanESM2,rcp85,2053,1.9775497913360596 +CanESM2,rcp85,2054,2.040539503097534 +CanESM2,rcp85,2055,2.100895643234253 +CanESM2,rcp85,2056,2.150738477706909 +CanESM2,rcp85,2057,2.1959152221679688 +CanESM2,rcp85,2058,2.2525832653045654 +CanESM2,rcp85,2059,2.307386875152588 +CanESM2,rcp85,2060,2.3518080711364746 +CanESM2,rcp85,2061,2.3913605213165283 +CanESM2,rcp85,2062,2.447578191757202 +CanESM2,rcp85,2063,2.5134992599487305 +CanESM2,rcp85,2064,2.5615830421447754 +CanESM2,rcp85,2065,2.6104795932769775 +CanESM2,rcp85,2066,2.661512851715088 +CanESM2,rcp85,2067,2.7233030796051025 +CanESM2,rcp85,2068,2.7788331508636475 +CanESM2,rcp85,2069,2.830160140991211 +CanESM2,rcp85,2070,2.893348455429077 +CanESM2,rcp85,2071,2.9612088203430176 +CanESM2,rcp85,2072,3.0162410736083984 +CanESM2,rcp85,2073,3.061508893966675 +CanESM2,rcp85,2074,3.1182429790496826 +CanESM2,rcp85,2075,3.175074338912964 +CanESM2,rcp85,2076,3.2449471950531006 +CanESM2,rcp85,2077,3.3151211738586426 +CanESM2,rcp85,2078,3.3723227977752686 +CanESM2,rcp85,2079,3.4221274852752686 +CanESM2,rcp85,2080,3.496532440185547 +CanESM2,rcp85,2081,3.572843313217163 +CanESM2,rcp85,2082,3.6272799968719482 +CanESM2,rcp85,2083,3.674687623977661 +CanESM2,rcp85,2084,3.7447421550750732 +CanESM2,rcp85,2085,3.815012216567993 +CanESM2,rcp85,2086,3.8762881755828857 +CanESM2,rcp85,2087,3.9208943843841553 +CanESM2,rcp85,2088,3.9657857418060303 +CanESM2,rcp85,2089,4.019011497497559 +CanESM2,rcp85,2090,4.073061466217041 +CanESM2,rcp85,2091,4.128798484802246 +CanESM2,rcp85,2092,4.189242362976074 +CanESM2,rcp85,2093,4.242563724517822 +CanESM2,rcp85,2094,4.295269966125488 +CanESM2,rcp85,2095,4.3473615646362305 +CanESM2,rcp85,2096,4.398838043212891 +CanESM2,rcp85,2097,4.449699878692627 +CanESM2,rcp85,2098,4.499946594238281 +CanESM2,rcp85,2099,4.549578666687012 +CanESM2,rcp85,2100,4.598596096038818 +GFDL-CM3,rcp45,1981,-0.6920555233955383 +GFDL-CM3,rcp45,1982,-0.6676689386367798 +GFDL-CM3,rcp45,1983,-0.6548011302947998 +GFDL-CM3,rcp45,1984,-0.6481651067733765 +GFDL-CM3,rcp45,1985,-0.6438819766044617 +GFDL-CM3,rcp45,1986,-0.635327935218811 +GFDL-CM3,rcp45,1987,-0.6078575253486633 +GFDL-CM3,rcp45,1988,-0.5747764706611633 +GFDL-CM3,rcp45,1989,-0.5597252249717712 +GFDL-CM3,rcp45,1990,-0.5492363572120667 +GFDL-CM3,rcp45,1991,-0.535108208656311 +GFDL-CM3,rcp45,1992,-0.510419487953186 +GFDL-CM3,rcp45,1993,-0.4827888309955597 +GFDL-CM3,rcp45,1994,-0.43896254897117615 +GFDL-CM3,rcp45,1995,-0.4112143814563751 +GFDL-CM3,rcp45,1996,-0.37918463349342346 +GFDL-CM3,rcp45,1997,-0.33479684591293335 +GFDL-CM3,rcp45,1998,-0.31141120195388794 +GFDL-CM3,rcp45,1999,-0.28432685136795044 +GFDL-CM3,rcp45,2000,-0.2506643831729889 +GFDL-CM3,rcp45,2001,-0.21566987037658691 +GFDL-CM3,rcp45,2002,-0.17563998699188232 +GFDL-CM3,rcp45,2003,-0.12510743737220764 +GFDL-CM3,rcp45,2004,-0.06425687670707703 +GFDL-CM3,rcp45,2005,-0.007123440504074097 +GFDL-CM3,rcp45,2006,0.040677815675735474 +GFDL-CM3,rcp45,2007,0.08088168501853943 +GFDL-CM3,rcp45,2008,0.1091623306274414 +GFDL-CM3,rcp45,2009,0.1575646698474884 +GFDL-CM3,rcp45,2010,0.1995110809803009 +GFDL-CM3,rcp45,2011,0.23994991183280945 +GFDL-CM3,rcp45,2012,0.2777886688709259 +GFDL-CM3,rcp45,2013,0.3175790011882782 +GFDL-CM3,rcp45,2014,0.3580651581287384 +GFDL-CM3,rcp45,2015,0.40470823645591736 +GFDL-CM3,rcp45,2016,0.4526880085468292 +GFDL-CM3,rcp45,2017,0.48985692858695984 +GFDL-CM3,rcp45,2018,0.5439752340316772 +GFDL-CM3,rcp45,2019,0.5908410549163818 +GFDL-CM3,rcp45,2020,0.6200281381607056 +GFDL-CM3,rcp45,2021,0.6496591567993164 +GFDL-CM3,rcp45,2022,0.686866283416748 +GFDL-CM3,rcp45,2023,0.7117258310317993 +GFDL-CM3,rcp45,2024,0.7473536729812622 +GFDL-CM3,rcp45,2025,0.7808253765106201 +GFDL-CM3,rcp45,2026,0.8109630346298218 +GFDL-CM3,rcp45,2027,0.8509867191314697 +GFDL-CM3,rcp45,2028,0.9027446508407593 +GFDL-CM3,rcp45,2029,0.9322841167449951 +GFDL-CM3,rcp45,2030,0.9590572118759155 +GFDL-CM3,rcp45,2031,1.0030421018600464 +GFDL-CM3,rcp45,2032,1.044440746307373 +GFDL-CM3,rcp45,2033,1.0768259763717651 +GFDL-CM3,rcp45,2034,1.112885594367981 +GFDL-CM3,rcp45,2035,1.1479716300964355 +GFDL-CM3,rcp45,2036,1.1841959953308105 +GFDL-CM3,rcp45,2037,1.2249232530593872 +GFDL-CM3,rcp45,2038,1.242438793182373 +GFDL-CM3,rcp45,2039,1.2669047117233276 +GFDL-CM3,rcp45,2040,1.3069911003112793 +GFDL-CM3,rcp45,2041,1.3435357809066772 +GFDL-CM3,rcp45,2042,1.3773902654647827 +GFDL-CM3,rcp45,2043,1.419655680656433 +GFDL-CM3,rcp45,2044,1.452675700187683 +GFDL-CM3,rcp45,2045,1.4931206703186035 +GFDL-CM3,rcp45,2046,1.5331412553787231 +GFDL-CM3,rcp45,2047,1.5675711631774902 +GFDL-CM3,rcp45,2048,1.5973683595657349 +GFDL-CM3,rcp45,2049,1.626574158668518 +GFDL-CM3,rcp45,2050,1.6611286401748657 +GFDL-CM3,rcp45,2051,1.687132716178894 +GFDL-CM3,rcp45,2052,1.7059179544448853 +GFDL-CM3,rcp45,2053,1.7369252443313599 +GFDL-CM3,rcp45,2054,1.7623234987258911 +GFDL-CM3,rcp45,2055,1.778506875038147 +GFDL-CM3,rcp45,2056,1.787929654121399 +GFDL-CM3,rcp45,2057,1.802437424659729 +GFDL-CM3,rcp45,2058,1.8377445936203003 +GFDL-CM3,rcp45,2059,1.8700155019760132 +GFDL-CM3,rcp45,2060,1.895917534828186 +GFDL-CM3,rcp45,2061,1.9302235841751099 +GFDL-CM3,rcp45,2062,1.9452396631240845 +GFDL-CM3,rcp45,2063,1.969373106956482 +GFDL-CM3,rcp45,2064,1.991315245628357 +GFDL-CM3,rcp45,2065,2.0079638957977295 +GFDL-CM3,rcp45,2066,2.0176212787628174 +GFDL-CM3,rcp45,2067,2.0332446098327637 +GFDL-CM3,rcp45,2068,2.0511691570281982 +GFDL-CM3,rcp45,2069,2.06538724899292 +GFDL-CM3,rcp45,2070,2.080507278442383 +GFDL-CM3,rcp45,2071,2.099161148071289 +GFDL-CM3,rcp45,2072,2.110779285430908 +GFDL-CM3,rcp45,2073,2.119075298309326 +GFDL-CM3,rcp45,2074,2.1390323638916016 +GFDL-CM3,rcp45,2075,2.158064603805542 +GFDL-CM3,rcp45,2076,2.1807315349578857 +GFDL-CM3,rcp45,2077,2.2009830474853516 +GFDL-CM3,rcp45,2078,2.217665433883667 +GFDL-CM3,rcp45,2079,2.2228991985321045 +GFDL-CM3,rcp45,2080,2.2312259674072266 +GFDL-CM3,rcp45,2081,2.2341601848602295 +GFDL-CM3,rcp45,2082,2.2496554851531982 +GFDL-CM3,rcp45,2083,2.2628161907196045 +GFDL-CM3,rcp45,2084,2.266475200653076 +GFDL-CM3,rcp45,2085,2.278963088989258 +GFDL-CM3,rcp45,2086,2.306558609008789 +GFDL-CM3,rcp45,2087,2.3180973529815674 +GFDL-CM3,rcp45,2088,2.320091724395752 +GFDL-CM3,rcp45,2089,2.3473498821258545 +GFDL-CM3,rcp45,2090,2.369258403778076 +GFDL-CM3,rcp45,2091,2.377286195755005 +GFDL-CM3,rcp45,2092,2.4003939628601074 +GFDL-CM3,rcp45,2093,2.407719850540161 +GFDL-CM3,rcp45,2094,2.4111530780792236 +GFDL-CM3,rcp45,2095,2.428459644317627 +GFDL-CM3,rcp45,2096,2.440805435180664 +GFDL-CM3,rcp45,2097,2.443159818649292 +GFDL-CM3,rcp45,2098,2.4492359161376953 +GFDL-CM3,rcp45,2099,2.467653274536133 +GFDL-CM3,rcp45,2100,2.4818577766418457 +GFDL-CM3,rcp85,1981,-0.7059427499771118 +GFDL-CM3,rcp85,1982,-0.6815561056137085 +GFDL-CM3,rcp85,1983,-0.6686883568763733 +GFDL-CM3,rcp85,1984,-0.6620522737503052 +GFDL-CM3,rcp85,1985,-0.6577692031860352 +GFDL-CM3,rcp85,1986,-0.6492151021957397 +GFDL-CM3,rcp85,1987,-0.6217447519302368 +GFDL-CM3,rcp85,1988,-0.5886636972427368 +GFDL-CM3,rcp85,1989,-0.5736124515533447 +GFDL-CM3,rcp85,1990,-0.5631235837936401 +GFDL-CM3,rcp85,1991,-0.5489953756332397 +GFDL-CM3,rcp85,1992,-0.5243066549301147 +GFDL-CM3,rcp85,1993,-0.4966760277748108 +GFDL-CM3,rcp85,1994,-0.45284974575042725 +GFDL-CM3,rcp85,1995,-0.4251015782356262 +GFDL-CM3,rcp85,1996,-0.39307183027267456 +GFDL-CM3,rcp85,1997,-0.34309473633766174 +GFDL-CM3,rcp85,1998,-0.3117409348487854 +GFDL-CM3,rcp85,1999,-0.27468952536582947 +GFDL-CM3,rcp85,2000,-0.23799821734428406 +GFDL-CM3,rcp85,2001,-0.2087150663137436 +GFDL-CM3,rcp85,2002,-0.1770729422569275 +GFDL-CM3,rcp85,2003,-0.12315294146537781 +GFDL-CM3,rcp85,2004,-0.05862504243850708 +GFDL-CM3,rcp85,2005,-0.010980993509292603 +GFDL-CM3,rcp85,2006,0.031006693840026855 +GFDL-CM3,rcp85,2007,0.07565385103225708 +GFDL-CM3,rcp85,2008,0.11421436071395874 +GFDL-CM3,rcp85,2009,0.15904313325881958 +GFDL-CM3,rcp85,2010,0.19862908124923706 +GFDL-CM3,rcp85,2011,0.24088060855865479 +GFDL-CM3,rcp85,2012,0.27418142557144165 +GFDL-CM3,rcp85,2013,0.31005632877349854 +GFDL-CM3,rcp85,2014,0.3477638363838196 +GFDL-CM3,rcp85,2015,0.38360363245010376 +GFDL-CM3,rcp85,2016,0.42331916093826294 +GFDL-CM3,rcp85,2017,0.45704716444015503 +GFDL-CM3,rcp85,2018,0.49728918075561523 +GFDL-CM3,rcp85,2019,0.5259069800376892 +GFDL-CM3,rcp85,2020,0.5674002766609192 +GFDL-CM3,rcp85,2021,0.6242347359657288 +GFDL-CM3,rcp85,2022,0.6726416945457458 +GFDL-CM3,rcp85,2023,0.7157904505729675 +GFDL-CM3,rcp85,2024,0.7462134957313538 +GFDL-CM3,rcp85,2025,0.7886191010475159 +GFDL-CM3,rcp85,2026,0.8457174897193909 +GFDL-CM3,rcp85,2027,0.8844504952430725 +GFDL-CM3,rcp85,2028,0.9227119088172913 +GFDL-CM3,rcp85,2029,0.9636375308036804 +GFDL-CM3,rcp85,2030,1.0015006065368652 +GFDL-CM3,rcp85,2031,1.0391106605529785 +GFDL-CM3,rcp85,2032,1.0873298645019531 +GFDL-CM3,rcp85,2033,1.1216802597045898 +GFDL-CM3,rcp85,2034,1.167909860610962 +GFDL-CM3,rcp85,2035,1.2228279113769531 +GFDL-CM3,rcp85,2036,1.2655768394470215 +GFDL-CM3,rcp85,2037,1.3037834167480469 +GFDL-CM3,rcp85,2038,1.3441410064697266 +GFDL-CM3,rcp85,2039,1.399075984954834 +GFDL-CM3,rcp85,2040,1.425865888595581 +GFDL-CM3,rcp85,2041,1.457028865814209 +GFDL-CM3,rcp85,2042,1.5062642097473145 +GFDL-CM3,rcp85,2043,1.546828269958496 +GFDL-CM3,rcp85,2044,1.5999565124511719 +GFDL-CM3,rcp85,2045,1.6475088596343994 +GFDL-CM3,rcp85,2046,1.7027819156646729 +GFDL-CM3,rcp85,2047,1.7611467838287354 +GFDL-CM3,rcp85,2048,1.8154666423797607 +GFDL-CM3,rcp85,2049,1.8739793300628662 +GFDL-CM3,rcp85,2050,1.928598165512085 +GFDL-CM3,rcp85,2051,1.982208490371704 +GFDL-CM3,rcp85,2052,2.0413196086883545 +GFDL-CM3,rcp85,2053,2.1101138591766357 +GFDL-CM3,rcp85,2054,2.166653633117676 +GFDL-CM3,rcp85,2055,2.2181413173675537 +GFDL-CM3,rcp85,2056,2.2842347621917725 +GFDL-CM3,rcp85,2057,2.343332052230835 +GFDL-CM3,rcp85,2058,2.4165055751800537 +GFDL-CM3,rcp85,2059,2.479823589324951 +GFDL-CM3,rcp85,2060,2.5491015911102295 +GFDL-CM3,rcp85,2061,2.616481304168701 +GFDL-CM3,rcp85,2062,2.683825969696045 +GFDL-CM3,rcp85,2063,2.7427186965942383 +GFDL-CM3,rcp85,2064,2.7998874187469482 +GFDL-CM3,rcp85,2065,2.86983060836792 +GFDL-CM3,rcp85,2066,2.9158341884613037 +GFDL-CM3,rcp85,2067,2.9729082584381104 +GFDL-CM3,rcp85,2068,3.0386202335357666 +GFDL-CM3,rcp85,2069,3.0876970291137695 +GFDL-CM3,rcp85,2070,3.1514177322387695 +GFDL-CM3,rcp85,2071,3.2171237468719482 +GFDL-CM3,rcp85,2072,3.2634036540985107 +GFDL-CM3,rcp85,2073,3.321359872817993 +GFDL-CM3,rcp85,2074,3.3821704387664795 +GFDL-CM3,rcp85,2075,3.4436042308807373 +GFDL-CM3,rcp85,2076,3.5036394596099854 +GFDL-CM3,rcp85,2077,3.568112850189209 +GFDL-CM3,rcp85,2078,3.6092641353607178 +GFDL-CM3,rcp85,2079,3.6587393283843994 +GFDL-CM3,rcp85,2080,3.7245442867279053 +GFDL-CM3,rcp85,2081,3.7728798389434814 +GFDL-CM3,rcp85,2082,3.817934274673462 +GFDL-CM3,rcp85,2083,3.8741981983184814 +GFDL-CM3,rcp85,2084,3.929023027420044 +GFDL-CM3,rcp85,2085,3.9807684421539307 +GFDL-CM3,rcp85,2086,4.044605255126953 +GFDL-CM3,rcp85,2087,4.097168922424316 +GFDL-CM3,rcp85,2088,4.144837379455566 +GFDL-CM3,rcp85,2089,4.212230682373047 +GFDL-CM3,rcp85,2090,4.268268585205078 +GFDL-CM3,rcp85,2091,4.322535037994385 +GFDL-CM3,rcp85,2092,4.370504856109619 +GFDL-CM3,rcp85,2093,4.424522399902344 +GFDL-CM3,rcp85,2094,4.478457450866699 +GFDL-CM3,rcp85,2095,4.532309532165527 +GFDL-CM3,rcp85,2096,4.5860795974731445 +GFDL-CM3,rcp85,2097,4.639766693115234 +GFDL-CM3,rcp85,2098,4.693371295928955 +GFDL-CM3,rcp85,2099,4.746893405914307 +GFDL-CM3,rcp85,2100,4.800333023071289 +GFDL-ESM2G,rcp45,1981,-0.594741702079773 +GFDL-ESM2G,rcp45,1982,-0.5688353776931763 +GFDL-ESM2G,rcp45,1983,-0.5689314603805542 +GFDL-ESM2G,rcp45,1984,-0.5694472789764404 +GFDL-ESM2G,rcp45,1985,-0.5535963773727417 +GFDL-ESM2G,rcp45,1986,-0.5395872592926025 +GFDL-ESM2G,rcp45,1987,-0.5227965116500854 +GFDL-ESM2G,rcp45,1988,-0.48778218030929565 +GFDL-ESM2G,rcp45,1989,-0.4540557265281677 +GFDL-ESM2G,rcp45,1990,-0.425089955329895 +GFDL-ESM2G,rcp45,1991,-0.395631343126297 +GFDL-ESM2G,rcp45,1992,-0.36530911922454834 +GFDL-ESM2G,rcp45,1993,-0.3221434950828552 +GFDL-ESM2G,rcp45,1994,-0.27337029576301575 +GFDL-ESM2G,rcp45,1995,-0.23776699602603912 +GFDL-ESM2G,rcp45,1996,-0.2146712988615036 +GFDL-ESM2G,rcp45,1997,-0.19574274122714996 +GFDL-ESM2G,rcp45,1998,-0.1701521873474121 +GFDL-ESM2G,rcp45,1999,-0.14227744936943054 +GFDL-ESM2G,rcp45,2000,-0.1120421513915062 +GFDL-ESM2G,rcp45,2001,-0.09400629997253418 +GFDL-ESM2G,rcp45,2002,-0.08148494362831116 +GFDL-ESM2G,rcp45,2003,-0.04789270460605621 +GFDL-ESM2G,rcp45,2004,-0.017137110233306885 +GFDL-ESM2G,rcp45,2005,0.006071493029594421 +GFDL-ESM2G,rcp45,2006,0.01972965896129608 +GFDL-ESM2G,rcp45,2007,0.03509064018726349 +GFDL-ESM2G,rcp45,2008,0.049551382660865784 +GFDL-ESM2G,rcp45,2009,0.06142570078372955 +GFDL-ESM2G,rcp45,2010,0.06865228712558746 +GFDL-ESM2G,rcp45,2011,0.07899166643619537 +GFDL-ESM2G,rcp45,2012,0.07964475452899933 +GFDL-ESM2G,rcp45,2013,0.07040707767009735 +GFDL-ESM2G,rcp45,2014,0.08207090198993683 +GFDL-ESM2G,rcp45,2015,0.09897615015506744 +GFDL-ESM2G,rcp45,2016,0.10439454019069672 +GFDL-ESM2G,rcp45,2017,0.11501766741275787 +GFDL-ESM2G,rcp45,2018,0.13133849203586578 +GFDL-ESM2G,rcp45,2019,0.1356659084558487 +GFDL-ESM2G,rcp45,2020,0.1499573141336441 +GFDL-ESM2G,rcp45,2021,0.16275642812252045 +GFDL-ESM2G,rcp45,2022,0.1850220412015915 +GFDL-ESM2G,rcp45,2023,0.20354007184505463 +GFDL-ESM2G,rcp45,2024,0.21748973429203033 +GFDL-ESM2G,rcp45,2025,0.2348221093416214 +GFDL-ESM2G,rcp45,2026,0.2560760974884033 +GFDL-ESM2G,rcp45,2027,0.27002567052841187 +GFDL-ESM2G,rcp45,2028,0.27373820543289185 +GFDL-ESM2G,rcp45,2029,0.27932441234588623 +GFDL-ESM2G,rcp45,2030,0.29634398221969604 +GFDL-ESM2G,rcp45,2031,0.30525368452072144 +GFDL-ESM2G,rcp45,2032,0.3230438232421875 +GFDL-ESM2G,rcp45,2033,0.3406967520713806 +GFDL-ESM2G,rcp45,2034,0.34369510412216187 +GFDL-ESM2G,rcp45,2035,0.3410125970840454 +GFDL-ESM2G,rcp45,2036,0.347572386264801 +GFDL-ESM2G,rcp45,2037,0.36534738540649414 +GFDL-ESM2G,rcp45,2038,0.3843216896057129 +GFDL-ESM2G,rcp45,2039,0.40371257066726685 +GFDL-ESM2G,rcp45,2040,0.4052308201789856 +GFDL-ESM2G,rcp45,2041,0.41874247789382935 +GFDL-ESM2G,rcp45,2042,0.4325287342071533 +GFDL-ESM2G,rcp45,2043,0.4611603617668152 +GFDL-ESM2G,rcp45,2044,0.48488467931747437 +GFDL-ESM2G,rcp45,2045,0.5021271109580994 +GFDL-ESM2G,rcp45,2046,0.5266510844230652 +GFDL-ESM2G,rcp45,2047,0.543225109577179 +GFDL-ESM2G,rcp45,2048,0.5601441264152527 +GFDL-ESM2G,rcp45,2049,0.5845550894737244 +GFDL-ESM2G,rcp45,2050,0.6062348484992981 +GFDL-ESM2G,rcp45,2051,0.6291122436523438 +GFDL-ESM2G,rcp45,2052,0.640026867389679 +GFDL-ESM2G,rcp45,2053,0.6457428932189941 +GFDL-ESM2G,rcp45,2054,0.6528626680374146 +GFDL-ESM2G,rcp45,2055,0.6754242777824402 +GFDL-ESM2G,rcp45,2056,0.6925126314163208 +GFDL-ESM2G,rcp45,2057,0.7033387422561646 +GFDL-ESM2G,rcp45,2058,0.7072052955627441 +GFDL-ESM2G,rcp45,2059,0.710800290107727 +GFDL-ESM2G,rcp45,2060,0.7221619486808777 +GFDL-ESM2G,rcp45,2061,0.7246735692024231 +GFDL-ESM2G,rcp45,2062,0.7247605323791504 +GFDL-ESM2G,rcp45,2063,0.7238022685050964 +GFDL-ESM2G,rcp45,2064,0.7283280491828918 +GFDL-ESM2G,rcp45,2065,0.7277879118919373 +GFDL-ESM2G,rcp45,2066,0.7206757664680481 +GFDL-ESM2G,rcp45,2067,0.7216430902481079 +GFDL-ESM2G,rcp45,2068,0.7301194071769714 +GFDL-ESM2G,rcp45,2069,0.7340974807739258 +GFDL-ESM2G,rcp45,2070,0.7332932353019714 +GFDL-ESM2G,rcp45,2071,0.7379746437072754 +GFDL-ESM2G,rcp45,2072,0.7351029515266418 +GFDL-ESM2G,rcp45,2073,0.7430939674377441 +GFDL-ESM2G,rcp45,2074,0.7483094334602356 +GFDL-ESM2G,rcp45,2075,0.746426522731781 +GFDL-ESM2G,rcp45,2076,0.7441743016242981 +GFDL-ESM2G,rcp45,2077,0.7456315159797668 +GFDL-ESM2G,rcp45,2078,0.7527756690979004 +GFDL-ESM2G,rcp45,2079,0.7554262280464172 +GFDL-ESM2G,rcp45,2080,0.7595125436782837 +GFDL-ESM2G,rcp45,2081,0.7686647772789001 +GFDL-ESM2G,rcp45,2082,0.7662079930305481 +GFDL-ESM2G,rcp45,2083,0.7551804780960083 +GFDL-ESM2G,rcp45,2084,0.7527573704719543 +GFDL-ESM2G,rcp45,2085,0.7610535621643066 +GFDL-ESM2G,rcp45,2086,0.757840096950531 +GFDL-ESM2G,rcp45,2087,0.7567765116691589 +GFDL-ESM2G,rcp45,2088,0.7599167823791504 +GFDL-ESM2G,rcp45,2089,0.7604096531867981 +GFDL-ESM2G,rcp45,2090,0.7600693702697754 +GFDL-ESM2G,rcp45,2091,0.7557633519172668 +GFDL-ESM2G,rcp45,2092,0.7545306086540222 +GFDL-ESM2G,rcp45,2093,0.7526310086250305 +GFDL-ESM2G,rcp45,2094,0.7504688501358032 +GFDL-ESM2G,rcp45,2095,0.7480440139770508 +GFDL-ESM2G,rcp45,2096,0.745356559753418 +GFDL-ESM2G,rcp45,2097,0.7424064874649048 +GFDL-ESM2G,rcp45,2098,0.739193856716156 +GFDL-ESM2G,rcp45,2099,0.7357185482978821 +GFDL-ESM2G,rcp45,2100,0.7319806218147278 +GFDL-ESM2G,rcp85,1981,-0.5811949968338013 +GFDL-ESM2G,rcp85,1982,-0.5552886724472046 +GFDL-ESM2G,rcp85,1983,-0.5553847551345825 +GFDL-ESM2G,rcp85,1984,-0.5559005737304688 +GFDL-ESM2G,rcp85,1985,-0.54004967212677 +GFDL-ESM2G,rcp85,1986,-0.5260405540466309 +GFDL-ESM2G,rcp85,1987,-0.5092498064041138 +GFDL-ESM2G,rcp85,1988,-0.474235475063324 +GFDL-ESM2G,rcp85,1989,-0.44050899147987366 +GFDL-ESM2G,rcp85,1990,-0.41154325008392334 +GFDL-ESM2G,rcp85,1991,-0.38208460807800293 +GFDL-ESM2G,rcp85,1992,-0.35176241397857666 +GFDL-ESM2G,rcp85,1993,-0.30859678983688354 +GFDL-ESM2G,rcp85,1994,-0.25982359051704407 +GFDL-ESM2G,rcp85,1995,-0.22422027587890625 +GFDL-ESM2G,rcp85,1996,-0.20112457871437073 +GFDL-ESM2G,rcp85,1997,-0.1855621188879013 +GFDL-ESM2G,rcp85,1998,-0.16604457795619965 +GFDL-ESM2G,rcp85,1999,-0.14605407416820526 +GFDL-ESM2G,rcp85,2000,-0.12210232019424438 +GFDL-ESM2G,rcp85,2001,-0.10700226575136185 +GFDL-ESM2G,rcp85,2002,-0.09579162299633026 +GFDL-ESM2G,rcp85,2003,-0.06050261855125427 +GFDL-ESM2G,rcp85,2004,-0.02345888316631317 +GFDL-ESM2G,rcp85,2005,0.0028503388166427612 +GFDL-ESM2G,rcp85,2006,0.031108081340789795 +GFDL-ESM2G,rcp85,2007,0.05144497752189636 +GFDL-ESM2G,rcp85,2008,0.05848076939582825 +GFDL-ESM2G,rcp85,2009,0.06584009528160095 +GFDL-ESM2G,rcp85,2010,0.07703092694282532 +GFDL-ESM2G,rcp85,2011,0.08126524090766907 +GFDL-ESM2G,rcp85,2012,0.08060455322265625 +GFDL-ESM2G,rcp85,2013,0.08145290613174438 +GFDL-ESM2G,rcp85,2014,0.08367916941642761 +GFDL-ESM2G,rcp85,2015,0.0913345217704773 +GFDL-ESM2G,rcp85,2016,0.10495606064796448 +GFDL-ESM2G,rcp85,2017,0.1205383837223053 +GFDL-ESM2G,rcp85,2018,0.1484466791152954 +GFDL-ESM2G,rcp85,2019,0.1803589165210724 +GFDL-ESM2G,rcp85,2020,0.19938358664512634 +GFDL-ESM2G,rcp85,2021,0.20717623829841614 +GFDL-ESM2G,rcp85,2022,0.23306125402450562 +GFDL-ESM2G,rcp85,2023,0.2598542273044586 +GFDL-ESM2G,rcp85,2024,0.2800278961658478 +GFDL-ESM2G,rcp85,2025,0.3031693398952484 +GFDL-ESM2G,rcp85,2026,0.3145172894001007 +GFDL-ESM2G,rcp85,2027,0.339231938123703 +GFDL-ESM2G,rcp85,2028,0.3740861117839813 +GFDL-ESM2G,rcp85,2029,0.40342411398887634 +GFDL-ESM2G,rcp85,2030,0.4308701455593109 +GFDL-ESM2G,rcp85,2031,0.4691910445690155 +GFDL-ESM2G,rcp85,2032,0.48977670073509216 +GFDL-ESM2G,rcp85,2033,0.5064225196838379 +GFDL-ESM2G,rcp85,2034,0.5380479097366333 +GFDL-ESM2G,rcp85,2035,0.5714646577835083 +GFDL-ESM2G,rcp85,2036,0.5939514636993408 +GFDL-ESM2G,rcp85,2037,0.6220734119415283 +GFDL-ESM2G,rcp85,2038,0.6423585414886475 +GFDL-ESM2G,rcp85,2039,0.6552354097366333 +GFDL-ESM2G,rcp85,2040,0.6854065656661987 +GFDL-ESM2G,rcp85,2041,0.7291276454925537 +GFDL-ESM2G,rcp85,2042,0.7529511451721191 +GFDL-ESM2G,rcp85,2043,0.7794983386993408 +GFDL-ESM2G,rcp85,2044,0.8087693452835083 +GFDL-ESM2G,rcp85,2045,0.8300400972366333 +GFDL-ESM2G,rcp85,2046,0.8612595796585083 +GFDL-ESM2G,rcp85,2047,0.8925371170043945 +GFDL-ESM2G,rcp85,2048,0.9202288389205933 +GFDL-ESM2G,rcp85,2049,0.9459154605865479 +GFDL-ESM2G,rcp85,2050,0.9741929769515991 +GFDL-ESM2G,rcp85,2051,1.004181146621704 +GFDL-ESM2G,rcp85,2052,1.0530366897583008 +GFDL-ESM2G,rcp85,2053,1.0818254947662354 +GFDL-ESM2G,rcp85,2054,1.1118181943893433 +GFDL-ESM2G,rcp85,2055,1.1408203840255737 +GFDL-ESM2G,rcp85,2056,1.1687029600143433 +GFDL-ESM2G,rcp85,2057,1.2028734683990479 +GFDL-ESM2G,rcp85,2058,1.242035150527954 +GFDL-ESM2G,rcp85,2059,1.285669207572937 +GFDL-ESM2G,rcp85,2060,1.3264178037643433 +GFDL-ESM2G,rcp85,2061,1.3474534749984741 +GFDL-ESM2G,rcp85,2062,1.3833528757095337 +GFDL-ESM2G,rcp85,2063,1.4212877750396729 +GFDL-ESM2G,rcp85,2064,1.4625033140182495 +GFDL-ESM2G,rcp85,2065,1.5086196660995483 +GFDL-ESM2G,rcp85,2066,1.5463074445724487 +GFDL-ESM2G,rcp85,2067,1.5810043811798096 +GFDL-ESM2G,rcp85,2068,1.614233374595642 +GFDL-ESM2G,rcp85,2069,1.6588013172149658 +GFDL-ESM2G,rcp85,2070,1.7115967273712158 +GFDL-ESM2G,rcp85,2071,1.7564163208007812 +GFDL-ESM2G,rcp85,2072,1.7848522663116455 +GFDL-ESM2G,rcp85,2073,1.8304153680801392 +GFDL-ESM2G,rcp85,2074,1.8716214895248413 +GFDL-ESM2G,rcp85,2075,1.9056271314620972 +GFDL-ESM2G,rcp85,2076,1.9465099573135376 +GFDL-ESM2G,rcp85,2077,1.992193341255188 +GFDL-ESM2G,rcp85,2078,2.036315441131592 +GFDL-ESM2G,rcp85,2079,2.0756113529205322 +GFDL-ESM2G,rcp85,2080,2.111814498901367 +GFDL-ESM2G,rcp85,2081,2.1675806045532227 +GFDL-ESM2G,rcp85,2082,2.2120981216430664 +GFDL-ESM2G,rcp85,2083,2.251917600631714 +GFDL-ESM2G,rcp85,2084,2.288491725921631 +GFDL-ESM2G,rcp85,2085,2.3323984146118164 +GFDL-ESM2G,rcp85,2086,2.3799922466278076 +GFDL-ESM2G,rcp85,2087,2.4282679557800293 +GFDL-ESM2G,rcp85,2088,2.4716598987579346 +GFDL-ESM2G,rcp85,2089,2.509432792663574 +GFDL-ESM2G,rcp85,2090,2.5436689853668213 +GFDL-ESM2G,rcp85,2091,2.5718886852264404 +GFDL-ESM2G,rcp85,2092,2.629716157913208 +GFDL-ESM2G,rcp85,2093,2.671795606613159 +GFDL-ESM2G,rcp85,2094,2.7138454914093018 +GFDL-ESM2G,rcp85,2095,2.755866050720215 +GFDL-ESM2G,rcp85,2096,2.7978570461273193 +GFDL-ESM2G,rcp85,2097,2.8398187160491943 +GFDL-ESM2G,rcp85,2098,2.8817508220672607 +GFDL-ESM2G,rcp85,2099,2.9236536026000977 +GFDL-ESM2G,rcp85,2100,2.965527057647705 +GFDL-ESM2M,rcp45,1981,-0.4828665554523468 +GFDL-ESM2M,rcp45,1982,-0.4592916965484619 +GFDL-ESM2M,rcp45,1983,-0.4487372040748596 +GFDL-ESM2M,rcp45,1984,-0.4583471715450287 +GFDL-ESM2M,rcp45,1985,-0.45297306776046753 +GFDL-ESM2M,rcp45,1986,-0.4342626929283142 +GFDL-ESM2M,rcp45,1987,-0.4005362093448639 +GFDL-ESM2M,rcp45,1988,-0.3782278299331665 +GFDL-ESM2M,rcp45,1989,-0.36872464418411255 +GFDL-ESM2M,rcp45,1990,-0.3561437726020813 +GFDL-ESM2M,rcp45,1991,-0.3328481614589691 +GFDL-ESM2M,rcp45,1992,-0.30111443996429443 +GFDL-ESM2M,rcp45,1993,-0.27662259340286255 +GFDL-ESM2M,rcp45,1994,-0.26313385367393494 +GFDL-ESM2M,rcp45,1995,-0.2444189488887787 +GFDL-ESM2M,rcp45,1996,-0.2150762975215912 +GFDL-ESM2M,rcp45,1997,-0.19179289042949677 +GFDL-ESM2M,rcp45,1998,-0.17286589741706848 +GFDL-ESM2M,rcp45,1999,-0.17321684956550598 +GFDL-ESM2M,rcp45,2000,-0.14084988832473755 +GFDL-ESM2M,rcp45,2001,-0.11527465283870697 +GFDL-ESM2M,rcp45,2002,-0.09697020798921585 +GFDL-ESM2M,rcp45,2003,-0.07166959345340729 +GFDL-ESM2M,rcp45,2004,-0.034975260496139526 +GFDL-ESM2M,rcp45,2005,-0.00011961162090301514 +GFDL-ESM2M,rcp45,2006,0.025742515921592712 +GFDL-ESM2M,rcp45,2007,0.0408899188041687 +GFDL-ESM2M,rcp45,2008,0.060575276613235474 +GFDL-ESM2M,rcp45,2009,0.08492371439933777 +GFDL-ESM2M,rcp45,2010,0.10687807202339172 +GFDL-ESM2M,rcp45,2011,0.12314543128013611 +GFDL-ESM2M,rcp45,2012,0.13416534662246704 +GFDL-ESM2M,rcp45,2013,0.14005830883979797 +GFDL-ESM2M,rcp45,2014,0.15770968794822693 +GFDL-ESM2M,rcp45,2015,0.17762240767478943 +GFDL-ESM2M,rcp45,2016,0.19885650277137756 +GFDL-ESM2M,rcp45,2017,0.21693968772888184 +GFDL-ESM2M,rcp45,2018,0.21597686409950256 +GFDL-ESM2M,rcp45,2019,0.2480188012123108 +GFDL-ESM2M,rcp45,2020,0.26364538073539734 +GFDL-ESM2M,rcp45,2021,0.287519246339798 +GFDL-ESM2M,rcp45,2022,0.30736783146858215 +GFDL-ESM2M,rcp45,2023,0.3248375952243805 +GFDL-ESM2M,rcp45,2024,0.34107592701911926 +GFDL-ESM2M,rcp45,2025,0.3543114960193634 +GFDL-ESM2M,rcp45,2026,0.3694436848163605 +GFDL-ESM2M,rcp45,2027,0.36928650736808777 +GFDL-ESM2M,rcp45,2028,0.3792703449726105 +GFDL-ESM2M,rcp45,2029,0.398542195558548 +GFDL-ESM2M,rcp45,2030,0.4109063446521759 +GFDL-ESM2M,rcp45,2031,0.41934600472450256 +GFDL-ESM2M,rcp45,2032,0.434266060590744 +GFDL-ESM2M,rcp45,2033,0.462293416261673 +GFDL-ESM2M,rcp45,2034,0.4778832495212555 +GFDL-ESM2M,rcp45,2035,0.4912331998348236 +GFDL-ESM2M,rcp45,2036,0.5065438747406006 +GFDL-ESM2M,rcp45,2037,0.5125421285629272 +GFDL-ESM2M,rcp45,2038,0.533815860748291 +GFDL-ESM2M,rcp45,2039,0.5404061079025269 +GFDL-ESM2M,rcp45,2040,0.5566017627716064 +GFDL-ESM2M,rcp45,2041,0.5571877956390381 +GFDL-ESM2M,rcp45,2042,0.5622857809066772 +GFDL-ESM2M,rcp45,2043,0.5783135890960693 +GFDL-ESM2M,rcp45,2044,0.5971261262893677 +GFDL-ESM2M,rcp45,2045,0.6041727066040039 +GFDL-ESM2M,rcp45,2046,0.6172112226486206 +GFDL-ESM2M,rcp45,2047,0.6398124694824219 +GFDL-ESM2M,rcp45,2048,0.6534126996994019 +GFDL-ESM2M,rcp45,2049,0.6535806655883789 +GFDL-ESM2M,rcp45,2050,0.6672264337539673 +GFDL-ESM2M,rcp45,2051,0.6822929382324219 +GFDL-ESM2M,rcp45,2052,0.6955848932266235 +GFDL-ESM2M,rcp45,2053,0.7003761529922485 +GFDL-ESM2M,rcp45,2054,0.7193808555603027 +GFDL-ESM2M,rcp45,2055,0.7361259460449219 +GFDL-ESM2M,rcp45,2056,0.7472953796386719 +GFDL-ESM2M,rcp45,2057,0.7686424255371094 +GFDL-ESM2M,rcp45,2058,0.7862051725387573 +GFDL-ESM2M,rcp45,2059,0.7961554527282715 +GFDL-ESM2M,rcp45,2060,0.805489182472229 +GFDL-ESM2M,rcp45,2061,0.8257573843002319 +GFDL-ESM2M,rcp45,2062,0.8379936218261719 +GFDL-ESM2M,rcp45,2063,0.8420723676681519 +GFDL-ESM2M,rcp45,2064,0.8600137233734131 +GFDL-ESM2M,rcp45,2065,0.880037784576416 +GFDL-ESM2M,rcp45,2066,0.8911827802658081 +GFDL-ESM2M,rcp45,2067,0.9099677801132202 +GFDL-ESM2M,rcp45,2068,0.914385199546814 +GFDL-ESM2M,rcp45,2069,0.9372704029083252 +GFDL-ESM2M,rcp45,2070,0.9551366567611694 +GFDL-ESM2M,rcp45,2071,0.9700829982757568 +GFDL-ESM2M,rcp45,2072,0.9727851152420044 +GFDL-ESM2M,rcp45,2073,0.9740197658538818 +GFDL-ESM2M,rcp45,2074,0.9819375276565552 +GFDL-ESM2M,rcp45,2075,0.977836012840271 +GFDL-ESM2M,rcp45,2076,0.9714882373809814 +GFDL-ESM2M,rcp45,2077,0.9768775701522827 +GFDL-ESM2M,rcp45,2078,0.9699790477752686 +GFDL-ESM2M,rcp45,2079,0.9775642156600952 +GFDL-ESM2M,rcp45,2080,0.9843360185623169 +GFDL-ESM2M,rcp45,2081,0.9807106256484985 +GFDL-ESM2M,rcp45,2082,0.9807730913162231 +GFDL-ESM2M,rcp45,2083,0.9967688322067261 +GFDL-ESM2M,rcp45,2084,0.9818352460861206 +GFDL-ESM2M,rcp45,2085,0.9748772382736206 +GFDL-ESM2M,rcp45,2086,0.9731483459472656 +GFDL-ESM2M,rcp45,2087,0.9723351001739502 +GFDL-ESM2M,rcp45,2088,0.9638068675994873 +GFDL-ESM2M,rcp45,2089,0.9534567594528198 +GFDL-ESM2M,rcp45,2090,0.949104905128479 +GFDL-ESM2M,rcp45,2091,0.9336584806442261 +GFDL-ESM2M,rcp45,2092,0.9291220903396606 +GFDL-ESM2M,rcp45,2093,0.9294058084487915 +GFDL-ESM2M,rcp45,2094,0.9275350570678711 +GFDL-ESM2M,rcp45,2095,0.943205714225769 +GFDL-ESM2M,rcp45,2096,0.9566808938980103 +GFDL-ESM2M,rcp45,2097,0.9556708335876465 +GFDL-ESM2M,rcp45,2098,0.9732627868652344 +GFDL-ESM2M,rcp45,2099,0.9828912019729614 +GFDL-ESM2M,rcp45,2100,0.9821404218673706 +GFDL-ESM2M,rcp85,1981,-0.45960569381713867 +GFDL-ESM2M,rcp85,1982,-0.4360308349132538 +GFDL-ESM2M,rcp85,1983,-0.4254763126373291 +GFDL-ESM2M,rcp85,1984,-0.43508630990982056 +GFDL-ESM2M,rcp85,1985,-0.429712176322937 +GFDL-ESM2M,rcp85,1986,-0.4110018014907837 +GFDL-ESM2M,rcp85,1987,-0.37727534770965576 +GFDL-ESM2M,rcp85,1988,-0.3549669682979584 +GFDL-ESM2M,rcp85,1989,-0.34546375274658203 +GFDL-ESM2M,rcp85,1990,-0.3328828811645508 +GFDL-ESM2M,rcp85,1991,-0.309587299823761 +GFDL-ESM2M,rcp85,1992,-0.2778535783290863 +GFDL-ESM2M,rcp85,1993,-0.25336170196533203 +GFDL-ESM2M,rcp85,1994,-0.23987296223640442 +GFDL-ESM2M,rcp85,1995,-0.22115807235240936 +GFDL-ESM2M,rcp85,1996,-0.19181542098522186 +GFDL-ESM2M,rcp85,1997,-0.1678926646709442 +GFDL-ESM2M,rcp85,1998,-0.14987966418266296 +GFDL-ESM2M,rcp85,1999,-0.15273457765579224 +GFDL-ESM2M,rcp85,2000,-0.1309678554534912 +GFDL-ESM2M,rcp85,2001,-0.09992081671953201 +GFDL-ESM2M,rcp85,2002,-0.08719956874847412 +GFDL-ESM2M,rcp85,2003,-0.0703798159956932 +GFDL-ESM2M,rcp85,2004,-0.03651292622089386 +GFDL-ESM2M,rcp85,2005,-0.005218669772148132 +GFDL-ESM2M,rcp85,2006,0.03565351665019989 +GFDL-ESM2M,rcp85,2007,0.04018847644329071 +GFDL-ESM2M,rcp85,2008,0.055886730551719666 +GFDL-ESM2M,rcp85,2009,0.07805316150188446 +GFDL-ESM2M,rcp85,2010,0.08944989740848541 +GFDL-ESM2M,rcp85,2011,0.09548170864582062 +GFDL-ESM2M,rcp85,2012,0.11117540299892426 +GFDL-ESM2M,rcp85,2013,0.13027022778987885 +GFDL-ESM2M,rcp85,2014,0.15407545864582062 +GFDL-ESM2M,rcp85,2015,0.1708555370569229 +GFDL-ESM2M,rcp85,2016,0.19948862493038177 +GFDL-ESM2M,rcp85,2017,0.22219063341617584 +GFDL-ESM2M,rcp85,2018,0.2230115383863449 +GFDL-ESM2M,rcp85,2019,0.25023162364959717 +GFDL-ESM2M,rcp85,2020,0.2809551954269409 +GFDL-ESM2M,rcp85,2021,0.29211854934692383 +GFDL-ESM2M,rcp85,2022,0.3100917935371399 +GFDL-ESM2M,rcp85,2023,0.3394421339035034 +GFDL-ESM2M,rcp85,2024,0.35328036546707153 +GFDL-ESM2M,rcp85,2025,0.3705623745918274 +GFDL-ESM2M,rcp85,2026,0.3780849575996399 +GFDL-ESM2M,rcp85,2027,0.41334182024002075 +GFDL-ESM2M,rcp85,2028,0.42588913440704346 +GFDL-ESM2M,rcp85,2029,0.4492793679237366 +GFDL-ESM2M,rcp85,2030,0.48985546827316284 +GFDL-ESM2M,rcp85,2031,0.5121333599090576 +GFDL-ESM2M,rcp85,2032,0.5316707491874695 +GFDL-ESM2M,rcp85,2033,0.5507000088691711 +GFDL-ESM2M,rcp85,2034,0.5795269012451172 +GFDL-ESM2M,rcp85,2035,0.6160503625869751 +GFDL-ESM2M,rcp85,2036,0.644773542881012 +GFDL-ESM2M,rcp85,2037,0.6678721904754639 +GFDL-ESM2M,rcp85,2038,0.7034695148468018 +GFDL-ESM2M,rcp85,2039,0.738187849521637 +GFDL-ESM2M,rcp85,2040,0.7615764737129211 +GFDL-ESM2M,rcp85,2041,0.7954113483428955 +GFDL-ESM2M,rcp85,2042,0.8378047347068787 +GFDL-ESM2M,rcp85,2043,0.8622846007347107 +GFDL-ESM2M,rcp85,2044,0.9041867852210999 +GFDL-ESM2M,rcp85,2045,0.9511534571647644 +GFDL-ESM2M,rcp85,2046,0.9795194268226624 +GFDL-ESM2M,rcp85,2047,0.9972988963127136 +GFDL-ESM2M,rcp85,2048,1.0337246656417847 +GFDL-ESM2M,rcp85,2049,1.0740153789520264 +GFDL-ESM2M,rcp85,2050,1.0944774150848389 +GFDL-ESM2M,rcp85,2051,1.1299679279327393 +GFDL-ESM2M,rcp85,2052,1.1604154109954834 +GFDL-ESM2M,rcp85,2053,1.1889996528625488 +GFDL-ESM2M,rcp85,2054,1.2259382009506226 +GFDL-ESM2M,rcp85,2055,1.256255865097046 +GFDL-ESM2M,rcp85,2056,1.2729170322418213 +GFDL-ESM2M,rcp85,2057,1.299455165863037 +GFDL-ESM2M,rcp85,2058,1.33870530128479 +GFDL-ESM2M,rcp85,2059,1.3668118715286255 +GFDL-ESM2M,rcp85,2060,1.414393424987793 +GFDL-ESM2M,rcp85,2061,1.454835295677185 +GFDL-ESM2M,rcp85,2062,1.4742294549942017 +GFDL-ESM2M,rcp85,2063,1.5140424966812134 +GFDL-ESM2M,rcp85,2064,1.5476881265640259 +GFDL-ESM2M,rcp85,2065,1.5674024820327759 +GFDL-ESM2M,rcp85,2066,1.6029691696166992 +GFDL-ESM2M,rcp85,2067,1.6402066946029663 +GFDL-ESM2M,rcp85,2068,1.6729809045791626 +GFDL-ESM2M,rcp85,2069,1.709161400794983 +GFDL-ESM2M,rcp85,2070,1.7496488094329834 +GFDL-ESM2M,rcp85,2071,1.7927442789077759 +GFDL-ESM2M,rcp85,2072,1.8345961570739746 +GFDL-ESM2M,rcp85,2073,1.8731169700622559 +GFDL-ESM2M,rcp85,2074,1.897282361984253 +GFDL-ESM2M,rcp85,2075,1.9252729415893555 +GFDL-ESM2M,rcp85,2076,1.9633300304412842 +GFDL-ESM2M,rcp85,2077,2.004328727722168 +GFDL-ESM2M,rcp85,2078,2.0336456298828125 +GFDL-ESM2M,rcp85,2079,2.0654401779174805 +GFDL-ESM2M,rcp85,2080,2.089608669281006 +GFDL-ESM2M,rcp85,2081,2.111607074737549 +GFDL-ESM2M,rcp85,2082,2.14732027053833 +GFDL-ESM2M,rcp85,2083,2.182201862335205 +GFDL-ESM2M,rcp85,2084,2.223280429840088 +GFDL-ESM2M,rcp85,2085,2.2619872093200684 +GFDL-ESM2M,rcp85,2086,2.302603244781494 +GFDL-ESM2M,rcp85,2087,2.347170829772949 +GFDL-ESM2M,rcp85,2088,2.3909850120544434 +GFDL-ESM2M,rcp85,2089,2.4223740100860596 +GFDL-ESM2M,rcp85,2090,2.460379123687744 +GFDL-ESM2M,rcp85,2091,2.488394260406494 +GFDL-ESM2M,rcp85,2092,2.5123183727264404 +GFDL-ESM2M,rcp85,2093,2.545257568359375 +GFDL-ESM2M,rcp85,2094,2.5862762928009033 +GFDL-ESM2M,rcp85,2095,2.625737190246582 +GFDL-ESM2M,rcp85,2096,2.661735773086548 +GFDL-ESM2M,rcp85,2097,2.698626756668091 +GFDL-ESM2M,rcp85,2098,2.737368583679199 +GFDL-ESM2M,rcp85,2099,2.780064105987549 +GFDL-ESM2M,rcp85,2100,2.8151700496673584 +IPSL-CM5A-LR,rcp45,1981,-0.7005476355552673 +IPSL-CM5A-LR,rcp45,1982,-0.6837644577026367 +IPSL-CM5A-LR,rcp45,1983,-0.6693861484527588 +IPSL-CM5A-LR,rcp45,1984,-0.6473463773727417 +IPSL-CM5A-LR,rcp45,1985,-0.6296827793121338 +IPSL-CM5A-LR,rcp45,1986,-0.6124510765075684 +IPSL-CM5A-LR,rcp45,1987,-0.5947707295417786 +IPSL-CM5A-LR,rcp45,1988,-0.5692641735076904 +IPSL-CM5A-LR,rcp45,1989,-0.5311827659606934 +IPSL-CM5A-LR,rcp45,1990,-0.48889458179473877 +IPSL-CM5A-LR,rcp45,1991,-0.44443655014038086 +IPSL-CM5A-LR,rcp45,1992,-0.4082290530204773 +IPSL-CM5A-LR,rcp45,1993,-0.3754073977470398 +IPSL-CM5A-LR,rcp45,1994,-0.33940428495407104 +IPSL-CM5A-LR,rcp45,1995,-0.3043563663959503 +IPSL-CM5A-LR,rcp45,1996,-0.2580230236053467 +IPSL-CM5A-LR,rcp45,1997,-0.22734832763671875 +IPSL-CM5A-LR,rcp45,1998,-0.20607297122478485 +IPSL-CM5A-LR,rcp45,1999,-0.18045341968536377 +IPSL-CM5A-LR,rcp45,2000,-0.16052237153053284 +IPSL-CM5A-LR,rcp45,2001,-0.13982531428337097 +IPSL-CM5A-LR,rcp45,2002,-0.10927417874336243 +IPSL-CM5A-LR,rcp45,2003,-0.07434526085853577 +IPSL-CM5A-LR,rcp45,2004,-0.04205460846424103 +IPSL-CM5A-LR,rcp45,2005,-0.004414230585098267 +IPSL-CM5A-LR,rcp45,2006,0.02815568447113037 +IPSL-CM5A-LR,rcp45,2007,0.05832234025001526 +IPSL-CM5A-LR,rcp45,2008,0.07357501983642578 +IPSL-CM5A-LR,rcp45,2009,0.09444445371627808 +IPSL-CM5A-LR,rcp45,2010,0.11541613936424255 +IPSL-CM5A-LR,rcp45,2011,0.1337403953075409 +IPSL-CM5A-LR,rcp45,2012,0.152391254901886 +IPSL-CM5A-LR,rcp45,2013,0.17041951417922974 +IPSL-CM5A-LR,rcp45,2014,0.19132250547409058 +IPSL-CM5A-LR,rcp45,2015,0.2120988965034485 +IPSL-CM5A-LR,rcp45,2016,0.23424243927001953 +IPSL-CM5A-LR,rcp45,2017,0.2671831250190735 +IPSL-CM5A-LR,rcp45,2018,0.29618704319000244 +IPSL-CM5A-LR,rcp45,2019,0.320431649684906 +IPSL-CM5A-LR,rcp45,2020,0.3525239825248718 +IPSL-CM5A-LR,rcp45,2021,0.37924206256866455 +IPSL-CM5A-LR,rcp45,2022,0.4137635827064514 +IPSL-CM5A-LR,rcp45,2023,0.4501495957374573 +IPSL-CM5A-LR,rcp45,2024,0.47820597887039185 +IPSL-CM5A-LR,rcp45,2025,0.5076661705970764 +IPSL-CM5A-LR,rcp45,2026,0.5410141944885254 +IPSL-CM5A-LR,rcp45,2027,0.5761476159095764 +IPSL-CM5A-LR,rcp45,2028,0.6180405020713806 +IPSL-CM5A-LR,rcp45,2029,0.6443787217140198 +IPSL-CM5A-LR,rcp45,2030,0.6745973229408264 +IPSL-CM5A-LR,rcp45,2031,0.7070206999778748 +IPSL-CM5A-LR,rcp45,2032,0.7290666103363037 +IPSL-CM5A-LR,rcp45,2033,0.7567276954650879 +IPSL-CM5A-LR,rcp45,2034,0.7903794050216675 +IPSL-CM5A-LR,rcp45,2035,0.8292099237442017 +IPSL-CM5A-LR,rcp45,2036,0.8606293201446533 +IPSL-CM5A-LR,rcp45,2037,0.8839219808578491 +IPSL-CM5A-LR,rcp45,2038,0.934961199760437 +IPSL-CM5A-LR,rcp45,2039,0.97428297996521 +IPSL-CM5A-LR,rcp45,2040,1.0038102865219116 +IPSL-CM5A-LR,rcp45,2041,1.0394577980041504 +IPSL-CM5A-LR,rcp45,2042,1.0673309564590454 +IPSL-CM5A-LR,rcp45,2043,1.0950440168380737 +IPSL-CM5A-LR,rcp45,2044,1.1273012161254883 +IPSL-CM5A-LR,rcp45,2045,1.1495041847229004 +IPSL-CM5A-LR,rcp45,2046,1.1833604574203491 +IPSL-CM5A-LR,rcp45,2047,1.2070330381393433 +IPSL-CM5A-LR,rcp45,2048,1.2308915853500366 +IPSL-CM5A-LR,rcp45,2049,1.2577823400497437 +IPSL-CM5A-LR,rcp45,2050,1.2817628383636475 +IPSL-CM5A-LR,rcp45,2051,1.3015732765197754 +IPSL-CM5A-LR,rcp45,2052,1.3385331630706787 +IPSL-CM5A-LR,rcp45,2053,1.3772766590118408 +IPSL-CM5A-LR,rcp45,2054,1.4122238159179688 +IPSL-CM5A-LR,rcp45,2055,1.4336457252502441 +IPSL-CM5A-LR,rcp45,2056,1.45561683177948 +IPSL-CM5A-LR,rcp45,2057,1.485711693763733 +IPSL-CM5A-LR,rcp45,2058,1.4881515502929688 +IPSL-CM5A-LR,rcp45,2059,1.5043442249298096 +IPSL-CM5A-LR,rcp45,2060,1.5243042707443237 +IPSL-CM5A-LR,rcp45,2061,1.5517640113830566 +IPSL-CM5A-LR,rcp45,2062,1.5725418329238892 +IPSL-CM5A-LR,rcp45,2063,1.58260977268219 +IPSL-CM5A-LR,rcp45,2064,1.5932053327560425 +IPSL-CM5A-LR,rcp45,2065,1.608300805091858 +IPSL-CM5A-LR,rcp45,2066,1.619134545326233 +IPSL-CM5A-LR,rcp45,2067,1.638850450515747 +IPSL-CM5A-LR,rcp45,2068,1.6559829711914062 +IPSL-CM5A-LR,rcp45,2069,1.6700819730758667 +IPSL-CM5A-LR,rcp45,2070,1.684709072113037 +IPSL-CM5A-LR,rcp45,2071,1.707565188407898 +IPSL-CM5A-LR,rcp45,2072,1.7271757125854492 +IPSL-CM5A-LR,rcp45,2073,1.7373319864273071 +IPSL-CM5A-LR,rcp45,2074,1.7380356788635254 +IPSL-CM5A-LR,rcp45,2075,1.7368637323379517 +IPSL-CM5A-LR,rcp45,2076,1.7425215244293213 +IPSL-CM5A-LR,rcp45,2077,1.7504987716674805 +IPSL-CM5A-LR,rcp45,2078,1.762019395828247 +IPSL-CM5A-LR,rcp45,2079,1.76717209815979 +IPSL-CM5A-LR,rcp45,2080,1.771989345550537 +IPSL-CM5A-LR,rcp45,2081,1.7663633823394775 +IPSL-CM5A-LR,rcp45,2082,1.7776334285736084 +IPSL-CM5A-LR,rcp45,2083,1.8029203414916992 +IPSL-CM5A-LR,rcp45,2084,1.815608024597168 +IPSL-CM5A-LR,rcp45,2085,1.8256409168243408 +IPSL-CM5A-LR,rcp45,2086,1.8261215686798096 +IPSL-CM5A-LR,rcp45,2087,1.8339295387268066 +IPSL-CM5A-LR,rcp45,2088,1.8463151454925537 +IPSL-CM5A-LR,rcp45,2089,1.8562226295471191 +IPSL-CM5A-LR,rcp45,2090,1.8789794445037842 +IPSL-CM5A-LR,rcp45,2091,1.8862793445587158 +IPSL-CM5A-LR,rcp45,2092,1.8986129760742188 +IPSL-CM5A-LR,rcp45,2093,1.9124176502227783 +IPSL-CM5A-LR,rcp45,2094,1.928297519683838 +IPSL-CM5A-LR,rcp45,2095,1.9477403163909912 +IPSL-CM5A-LR,rcp45,2096,1.9671204090118408 +IPSL-CM5A-LR,rcp45,2097,1.9758758544921875 +IPSL-CM5A-LR,rcp45,2098,1.985055685043335 +IPSL-CM5A-LR,rcp45,2099,1.99725341796875 +IPSL-CM5A-LR,rcp45,2100,2.010157823562622 +IPSL-CM5A-LR,rcp85,1981,-0.734584391117096 +IPSL-CM5A-LR,rcp85,1982,-0.7178012132644653 +IPSL-CM5A-LR,rcp85,1983,-0.7034229040145874 +IPSL-CM5A-LR,rcp85,1984,-0.6813831329345703 +IPSL-CM5A-LR,rcp85,1985,-0.6637195348739624 +IPSL-CM5A-LR,rcp85,1986,-0.646487832069397 +IPSL-CM5A-LR,rcp85,1987,-0.6288074851036072 +IPSL-CM5A-LR,rcp85,1988,-0.603300929069519 +IPSL-CM5A-LR,rcp85,1989,-0.565219521522522 +IPSL-CM5A-LR,rcp85,1990,-0.5229313373565674 +IPSL-CM5A-LR,rcp85,1991,-0.4784733057022095 +IPSL-CM5A-LR,rcp85,1992,-0.4422658085823059 +IPSL-CM5A-LR,rcp85,1993,-0.4094441533088684 +IPSL-CM5A-LR,rcp85,1994,-0.37344104051589966 +IPSL-CM5A-LR,rcp85,1995,-0.33839312195777893 +IPSL-CM5A-LR,rcp85,1996,-0.2920597791671753 +IPSL-CM5A-LR,rcp85,1997,-0.2630772888660431 +IPSL-CM5A-LR,rcp85,1998,-0.23968248069286346 +IPSL-CM5A-LR,rcp85,1999,-0.20864301919937134 +IPSL-CM5A-LR,rcp85,2000,-0.17892497777938843 +IPSL-CM5A-LR,rcp85,2001,-0.1487949788570404 +IPSL-CM5A-LR,rcp85,2002,-0.11362043023109436 +IPSL-CM5A-LR,rcp85,2003,-0.07598462700843811 +IPSL-CM5A-LR,rcp85,2004,-0.050328537821769714 +IPSL-CM5A-LR,rcp85,2005,-0.029889404773712158 +IPSL-CM5A-LR,rcp85,2006,0.009791076183319092 +IPSL-CM5A-LR,rcp85,2007,0.0554545521736145 +IPSL-CM5A-LR,rcp85,2008,0.09430190920829773 +IPSL-CM5A-LR,rcp85,2009,0.11568558216094971 +IPSL-CM5A-LR,rcp85,2010,0.1433848738670349 +IPSL-CM5A-LR,rcp85,2011,0.16384536027908325 +IPSL-CM5A-LR,rcp85,2012,0.18163716793060303 +IPSL-CM5A-LR,rcp85,2013,0.20343434810638428 +IPSL-CM5A-LR,rcp85,2014,0.23214834928512573 +IPSL-CM5A-LR,rcp85,2015,0.25584834814071655 +IPSL-CM5A-LR,rcp85,2016,0.28272509574890137 +IPSL-CM5A-LR,rcp85,2017,0.3202327489852905 +IPSL-CM5A-LR,rcp85,2018,0.35526543855667114 +IPSL-CM5A-LR,rcp85,2019,0.381600558757782 +IPSL-CM5A-LR,rcp85,2020,0.405445396900177 +IPSL-CM5A-LR,rcp85,2021,0.43040114641189575 +IPSL-CM5A-LR,rcp85,2022,0.4678890109062195 +IPSL-CM5A-LR,rcp85,2023,0.5144115686416626 +IPSL-CM5A-LR,rcp85,2024,0.5509760975837708 +IPSL-CM5A-LR,rcp85,2025,0.6001734733581543 +IPSL-CM5A-LR,rcp85,2026,0.6438320279121399 +IPSL-CM5A-LR,rcp85,2027,0.6779003143310547 +IPSL-CM5A-LR,rcp85,2028,0.7060055732727051 +IPSL-CM5A-LR,rcp85,2029,0.7435451745986938 +IPSL-CM5A-LR,rcp85,2030,0.7738050222396851 +IPSL-CM5A-LR,rcp85,2031,0.8073177337646484 +IPSL-CM5A-LR,rcp85,2032,0.8521101474761963 +IPSL-CM5A-LR,rcp85,2033,0.8985974788665771 +IPSL-CM5A-LR,rcp85,2034,0.9512084722518921 +IPSL-CM5A-LR,rcp85,2035,1.0168501138687134 +IPSL-CM5A-LR,rcp85,2036,1.0747908353805542 +IPSL-CM5A-LR,rcp85,2037,1.119508147239685 +IPSL-CM5A-LR,rcp85,2038,1.1675611734390259 +IPSL-CM5A-LR,rcp85,2039,1.2233012914657593 +IPSL-CM5A-LR,rcp85,2040,1.2823452949523926 +IPSL-CM5A-LR,rcp85,2041,1.333923101425171 +IPSL-CM5A-LR,rcp85,2042,1.374182105064392 +IPSL-CM5A-LR,rcp85,2043,1.4147076606750488 +IPSL-CM5A-LR,rcp85,2044,1.472448468208313 +IPSL-CM5A-LR,rcp85,2045,1.528088092803955 +IPSL-CM5A-LR,rcp85,2046,1.575074553489685 +IPSL-CM5A-LR,rcp85,2047,1.6285351514816284 +IPSL-CM5A-LR,rcp85,2048,1.6811200380325317 +IPSL-CM5A-LR,rcp85,2049,1.7417141199111938 +IPSL-CM5A-LR,rcp85,2050,1.7980252504348755 +IPSL-CM5A-LR,rcp85,2051,1.8549007177352905 +IPSL-CM5A-LR,rcp85,2052,1.9029475450515747 +IPSL-CM5A-LR,rcp85,2053,1.9571284055709839 +IPSL-CM5A-LR,rcp85,2054,2.0080318450927734 +IPSL-CM5A-LR,rcp85,2055,2.0463757514953613 +IPSL-CM5A-LR,rcp85,2056,2.092808246612549 +IPSL-CM5A-LR,rcp85,2057,2.1541409492492676 +IPSL-CM5A-LR,rcp85,2058,2.2093148231506348 +IPSL-CM5A-LR,rcp85,2059,2.2592720985412598 +IPSL-CM5A-LR,rcp85,2060,2.3162317276000977 +IPSL-CM5A-LR,rcp85,2061,2.377678871154785 +IPSL-CM5A-LR,rcp85,2062,2.440361976623535 +IPSL-CM5A-LR,rcp85,2063,2.4966044425964355 +IPSL-CM5A-LR,rcp85,2064,2.558593273162842 +IPSL-CM5A-LR,rcp85,2065,2.6202893257141113 +IPSL-CM5A-LR,rcp85,2066,2.671560287475586 +IPSL-CM5A-LR,rcp85,2067,2.723026752471924 +IPSL-CM5A-LR,rcp85,2068,2.788285255432129 +IPSL-CM5A-LR,rcp85,2069,2.8463358879089355 +IPSL-CM5A-LR,rcp85,2070,2.9122982025146484 +IPSL-CM5A-LR,rcp85,2071,2.973836898803711 +IPSL-CM5A-LR,rcp85,2072,3.0367183685302734 +IPSL-CM5A-LR,rcp85,2073,3.0935559272766113 +IPSL-CM5A-LR,rcp85,2074,3.1554017066955566 +IPSL-CM5A-LR,rcp85,2075,3.2315778732299805 +IPSL-CM5A-LR,rcp85,2076,3.29508638381958 +IPSL-CM5A-LR,rcp85,2077,3.348278522491455 +IPSL-CM5A-LR,rcp85,2078,3.4139904975891113 +IPSL-CM5A-LR,rcp85,2079,3.4728927612304688 +IPSL-CM5A-LR,rcp85,2080,3.522587299346924 +IPSL-CM5A-LR,rcp85,2081,3.5771775245666504 +IPSL-CM5A-LR,rcp85,2082,3.636746406555176 +IPSL-CM5A-LR,rcp85,2083,3.7002367973327637 +IPSL-CM5A-LR,rcp85,2084,3.7467989921569824 +IPSL-CM5A-LR,rcp85,2085,3.7975234985351562 +IPSL-CM5A-LR,rcp85,2086,3.867161750793457 +IPSL-CM5A-LR,rcp85,2087,3.9411683082580566 +IPSL-CM5A-LR,rcp85,2088,4.005609512329102 +IPSL-CM5A-LR,rcp85,2089,4.065892219543457 +IPSL-CM5A-LR,rcp85,2090,4.128828525543213 +IPSL-CM5A-LR,rcp85,2091,4.1952805519104 +IPSL-CM5A-LR,rcp85,2092,4.267996311187744 +IPSL-CM5A-LR,rcp85,2093,4.333770751953125 +IPSL-CM5A-LR,rcp85,2094,4.380908489227295 +IPSL-CM5A-LR,rcp85,2095,4.42299222946167 +IPSL-CM5A-LR,rcp85,2096,4.473475933074951 +IPSL-CM5A-LR,rcp85,2097,4.53240966796875 +IPSL-CM5A-LR,rcp85,2098,4.591916084289551 +IPSL-CM5A-LR,rcp85,2099,4.643170356750488 +IPSL-CM5A-LR,rcp85,2100,4.694624423980713 +IPSL-CM5A-MR,rcp45,1981,-0.5888774991035461 +IPSL-CM5A-MR,rcp45,1982,-0.5881603956222534 +IPSL-CM5A-MR,rcp45,1983,-0.5995663404464722 +IPSL-CM5A-MR,rcp45,1984,-0.5891140699386597 +IPSL-CM5A-MR,rcp45,1985,-0.5792934894561768 +IPSL-CM5A-MR,rcp45,1986,-0.5532483458518982 +IPSL-CM5A-MR,rcp45,1987,-0.5184919238090515 +IPSL-CM5A-MR,rcp45,1988,-0.49747443199157715 +IPSL-CM5A-MR,rcp45,1989,-0.477644145488739 +IPSL-CM5A-MR,rcp45,1990,-0.45500314235687256 +IPSL-CM5A-MR,rcp45,1991,-0.4375974237918854 +IPSL-CM5A-MR,rcp45,1992,-0.41825538873672485 +IPSL-CM5A-MR,rcp45,1993,-0.39666110277175903 +IPSL-CM5A-MR,rcp45,1994,-0.37494784593582153 +IPSL-CM5A-MR,rcp45,1995,-0.3510679006576538 +IPSL-CM5A-MR,rcp45,1996,-0.31015297770500183 +IPSL-CM5A-MR,rcp45,1997,-0.27990397810935974 +IPSL-CM5A-MR,rcp45,1998,-0.261021226644516 +IPSL-CM5A-MR,rcp45,1999,-0.2391538769006729 +IPSL-CM5A-MR,rcp45,2000,-0.20963113009929657 +IPSL-CM5A-MR,rcp45,2001,-0.17973913252353668 +IPSL-CM5A-MR,rcp45,2002,-0.13635534048080444 +IPSL-CM5A-MR,rcp45,2003,-0.08265352249145508 +IPSL-CM5A-MR,rcp45,2004,-0.041003137826919556 +IPSL-CM5A-MR,rcp45,2005,0.0018405318260192871 +IPSL-CM5A-MR,rcp45,2006,0.03521454334259033 +IPSL-CM5A-MR,rcp45,2007,0.059946030378341675 +IPSL-CM5A-MR,rcp45,2008,0.08497345447540283 +IPSL-CM5A-MR,rcp45,2009,0.11379888653755188 +IPSL-CM5A-MR,rcp45,2010,0.14397773146629333 +IPSL-CM5A-MR,rcp45,2011,0.17059668898582458 +IPSL-CM5A-MR,rcp45,2012,0.19333991408348083 +IPSL-CM5A-MR,rcp45,2013,0.21812787652015686 +IPSL-CM5A-MR,rcp45,2014,0.25254860520362854 +IPSL-CM5A-MR,rcp45,2015,0.28430065512657166 +IPSL-CM5A-MR,rcp45,2016,0.3106937110424042 +IPSL-CM5A-MR,rcp45,2017,0.3410205543041229 +IPSL-CM5A-MR,rcp45,2018,0.37401923537254333 +IPSL-CM5A-MR,rcp45,2019,0.40600934624671936 +IPSL-CM5A-MR,rcp45,2020,0.43630412220954895 +IPSL-CM5A-MR,rcp45,2021,0.47201576828956604 +IPSL-CM5A-MR,rcp45,2022,0.5057941675186157 +IPSL-CM5A-MR,rcp45,2023,0.5332263708114624 +IPSL-CM5A-MR,rcp45,2024,0.5605716705322266 +IPSL-CM5A-MR,rcp45,2025,0.6013507843017578 +IPSL-CM5A-MR,rcp45,2026,0.6293308734893799 +IPSL-CM5A-MR,rcp45,2027,0.6507023572921753 +IPSL-CM5A-MR,rcp45,2028,0.6834461688995361 +IPSL-CM5A-MR,rcp45,2029,0.7139148712158203 +IPSL-CM5A-MR,rcp45,2030,0.7456973791122437 +IPSL-CM5A-MR,rcp45,2031,0.7683826684951782 +IPSL-CM5A-MR,rcp45,2032,0.8001331090927124 +IPSL-CM5A-MR,rcp45,2033,0.8284091949462891 +IPSL-CM5A-MR,rcp45,2034,0.8526172637939453 +IPSL-CM5A-MR,rcp45,2035,0.8778095245361328 +IPSL-CM5A-MR,rcp45,2036,0.9053242206573486 +IPSL-CM5A-MR,rcp45,2037,0.9227832555770874 +IPSL-CM5A-MR,rcp45,2038,0.9518299102783203 +IPSL-CM5A-MR,rcp45,2039,0.9687901735305786 +IPSL-CM5A-MR,rcp45,2040,0.9843952655792236 +IPSL-CM5A-MR,rcp45,2041,1.005130410194397 +IPSL-CM5A-MR,rcp45,2042,1.018686294555664 +IPSL-CM5A-MR,rcp45,2043,1.0439670085906982 +IPSL-CM5A-MR,rcp45,2044,1.0671236515045166 +IPSL-CM5A-MR,rcp45,2045,1.0805011987686157 +IPSL-CM5A-MR,rcp45,2046,1.09662663936615 +IPSL-CM5A-MR,rcp45,2047,1.1188923120498657 +IPSL-CM5A-MR,rcp45,2048,1.1399784088134766 +IPSL-CM5A-MR,rcp45,2049,1.16767156124115 +IPSL-CM5A-MR,rcp45,2050,1.1914875507354736 +IPSL-CM5A-MR,rcp45,2051,1.2298800945281982 +IPSL-CM5A-MR,rcp45,2052,1.2646290063858032 +IPSL-CM5A-MR,rcp45,2053,1.2939335107803345 +IPSL-CM5A-MR,rcp45,2054,1.3080860376358032 +IPSL-CM5A-MR,rcp45,2055,1.3275318145751953 +IPSL-CM5A-MR,rcp45,2056,1.3536335229873657 +IPSL-CM5A-MR,rcp45,2057,1.3839771747589111 +IPSL-CM5A-MR,rcp45,2058,1.4034883975982666 +IPSL-CM5A-MR,rcp45,2059,1.4361177682876587 +IPSL-CM5A-MR,rcp45,2060,1.4641252756118774 +IPSL-CM5A-MR,rcp45,2061,1.4820573329925537 +IPSL-CM5A-MR,rcp45,2062,1.5200868844985962 +IPSL-CM5A-MR,rcp45,2063,1.541626214981079 +IPSL-CM5A-MR,rcp45,2064,1.567322015762329 +IPSL-CM5A-MR,rcp45,2065,1.5836155414581299 +IPSL-CM5A-MR,rcp45,2066,1.6103336811065674 +IPSL-CM5A-MR,rcp45,2067,1.6440494060516357 +IPSL-CM5A-MR,rcp45,2068,1.6704896688461304 +IPSL-CM5A-MR,rcp45,2069,1.6880998611450195 +IPSL-CM5A-MR,rcp45,2070,1.7074708938598633 +IPSL-CM5A-MR,rcp45,2071,1.7207322120666504 +IPSL-CM5A-MR,rcp45,2072,1.7361207008361816 +IPSL-CM5A-MR,rcp45,2073,1.7517428398132324 +IPSL-CM5A-MR,rcp45,2074,1.778773307800293 +IPSL-CM5A-MR,rcp45,2075,1.8034024238586426 +IPSL-CM5A-MR,rcp45,2076,1.81563401222229 +IPSL-CM5A-MR,rcp45,2077,1.8337278366088867 +IPSL-CM5A-MR,rcp45,2078,1.850280523300171 +IPSL-CM5A-MR,rcp45,2079,1.8669524192810059 +IPSL-CM5A-MR,rcp45,2080,1.875138759613037 +IPSL-CM5A-MR,rcp45,2081,1.8847379684448242 +IPSL-CM5A-MR,rcp45,2082,1.89005708694458 +IPSL-CM5A-MR,rcp45,2083,1.9017045497894287 +IPSL-CM5A-MR,rcp45,2084,1.9055235385894775 +IPSL-CM5A-MR,rcp45,2085,1.908952236175537 +IPSL-CM5A-MR,rcp45,2086,1.9255445003509521 +IPSL-CM5A-MR,rcp45,2087,1.9342577457427979 +IPSL-CM5A-MR,rcp45,2088,1.938371181488037 +IPSL-CM5A-MR,rcp45,2089,1.9417481422424316 +IPSL-CM5A-MR,rcp45,2090,1.9495255947113037 +IPSL-CM5A-MR,rcp45,2091,1.9519715309143066 +IPSL-CM5A-MR,rcp45,2092,1.951951503753662 +IPSL-CM5A-MR,rcp45,2093,1.956237554550171 +IPSL-CM5A-MR,rcp45,2094,1.9690921306610107 +IPSL-CM5A-MR,rcp45,2095,1.976102352142334 +IPSL-CM5A-MR,rcp45,2096,1.9796743392944336 +IPSL-CM5A-MR,rcp45,2097,1.9789433479309082 +IPSL-CM5A-MR,rcp45,2098,1.984449863433838 +IPSL-CM5A-MR,rcp45,2099,1.9855210781097412 +IPSL-CM5A-MR,rcp45,2100,1.9940400123596191 +IPSL-CM5A-MR,rcp85,1981,-0.5926234722137451 +IPSL-CM5A-MR,rcp85,1982,-0.5919063091278076 +IPSL-CM5A-MR,rcp85,1983,-0.6033122539520264 +IPSL-CM5A-MR,rcp85,1984,-0.5928601026535034 +IPSL-CM5A-MR,rcp85,1985,-0.5830395221710205 +IPSL-CM5A-MR,rcp85,1986,-0.5569943189620972 +IPSL-CM5A-MR,rcp85,1987,-0.5222378969192505 +IPSL-CM5A-MR,rcp85,1988,-0.5012204051017761 +IPSL-CM5A-MR,rcp85,1989,-0.481390118598938 +IPSL-CM5A-MR,rcp85,1990,-0.45874911546707153 +IPSL-CM5A-MR,rcp85,1991,-0.44134339690208435 +IPSL-CM5A-MR,rcp85,1992,-0.42200136184692383 +IPSL-CM5A-MR,rcp85,1993,-0.400407075881958 +IPSL-CM5A-MR,rcp85,1994,-0.3786938190460205 +IPSL-CM5A-MR,rcp85,1995,-0.3548138737678528 +IPSL-CM5A-MR,rcp85,1996,-0.3138989508152008 +IPSL-CM5A-MR,rcp85,1997,-0.2826474606990814 +IPSL-CM5A-MR,rcp85,1998,-0.25582098960876465 +IPSL-CM5A-MR,rcp85,1999,-0.2247907519340515 +IPSL-CM5A-MR,rcp85,2000,-0.19608893990516663 +IPSL-CM5A-MR,rcp85,2001,-0.17405369877815247 +IPSL-CM5A-MR,rcp85,2002,-0.13826574385166168 +IPSL-CM5A-MR,rcp85,2003,-0.09404121339321136 +IPSL-CM5A-MR,rcp85,2004,-0.05258914828300476 +IPSL-CM5A-MR,rcp85,2005,-0.009110778570175171 +IPSL-CM5A-MR,rcp85,2006,0.025847166776657104 +IPSL-CM5A-MR,rcp85,2007,0.057173460721969604 +IPSL-CM5A-MR,rcp85,2008,0.09019199013710022 +IPSL-CM5A-MR,rcp85,2009,0.130690336227417 +IPSL-CM5A-MR,rcp85,2010,0.1641574203968048 +IPSL-CM5A-MR,rcp85,2011,0.18917569518089294 +IPSL-CM5A-MR,rcp85,2012,0.2193301022052765 +IPSL-CM5A-MR,rcp85,2013,0.25625327229499817 +IPSL-CM5A-MR,rcp85,2014,0.28454461693763733 +IPSL-CM5A-MR,rcp85,2015,0.3163119852542877 +IPSL-CM5A-MR,rcp85,2016,0.3462313711643219 +IPSL-CM5A-MR,rcp85,2017,0.37696871161460876 +IPSL-CM5A-MR,rcp85,2018,0.40057095885276794 +IPSL-CM5A-MR,rcp85,2019,0.41754481196403503 +IPSL-CM5A-MR,rcp85,2020,0.4405688941478729 +IPSL-CM5A-MR,rcp85,2021,0.4785342514514923 +IPSL-CM5A-MR,rcp85,2022,0.5213656425476074 +IPSL-CM5A-MR,rcp85,2023,0.5649677515029907 +IPSL-CM5A-MR,rcp85,2024,0.5981204509735107 +IPSL-CM5A-MR,rcp85,2025,0.6323857307434082 +IPSL-CM5A-MR,rcp85,2026,0.6646518707275391 +IPSL-CM5A-MR,rcp85,2027,0.6974201202392578 +IPSL-CM5A-MR,rcp85,2028,0.732303261756897 +IPSL-CM5A-MR,rcp85,2029,0.7623509168624878 +IPSL-CM5A-MR,rcp85,2030,0.797050952911377 +IPSL-CM5A-MR,rcp85,2031,0.8350728750228882 +IPSL-CM5A-MR,rcp85,2032,0.8769353628158569 +IPSL-CM5A-MR,rcp85,2033,0.9125005006790161 +IPSL-CM5A-MR,rcp85,2034,0.9555639028549194 +IPSL-CM5A-MR,rcp85,2035,0.9982914924621582 +IPSL-CM5A-MR,rcp85,2036,1.0352985858917236 +IPSL-CM5A-MR,rcp85,2037,1.0908650159835815 +IPSL-CM5A-MR,rcp85,2038,1.1532384157180786 +IPSL-CM5A-MR,rcp85,2039,1.2072774171829224 +IPSL-CM5A-MR,rcp85,2040,1.260475516319275 +IPSL-CM5A-MR,rcp85,2041,1.306257963180542 +IPSL-CM5A-MR,rcp85,2042,1.3556933403015137 +IPSL-CM5A-MR,rcp85,2043,1.4036730527877808 +IPSL-CM5A-MR,rcp85,2044,1.449110746383667 +IPSL-CM5A-MR,rcp85,2045,1.5000338554382324 +IPSL-CM5A-MR,rcp85,2046,1.5569733381271362 +IPSL-CM5A-MR,rcp85,2047,1.619766354560852 +IPSL-CM5A-MR,rcp85,2048,1.680037021636963 +IPSL-CM5A-MR,rcp85,2049,1.7364364862442017 +IPSL-CM5A-MR,rcp85,2050,1.7939773797988892 +IPSL-CM5A-MR,rcp85,2051,1.8606215715408325 +IPSL-CM5A-MR,rcp85,2052,1.9215072393417358 +IPSL-CM5A-MR,rcp85,2053,1.9836136102676392 +IPSL-CM5A-MR,rcp85,2054,2.046848773956299 +IPSL-CM5A-MR,rcp85,2055,2.1089627742767334 +IPSL-CM5A-MR,rcp85,2056,2.169137477874756 +IPSL-CM5A-MR,rcp85,2057,2.2148544788360596 +IPSL-CM5A-MR,rcp85,2058,2.264309883117676 +IPSL-CM5A-MR,rcp85,2059,2.326260566711426 +IPSL-CM5A-MR,rcp85,2060,2.38822340965271 +IPSL-CM5A-MR,rcp85,2061,2.4579572677612305 +IPSL-CM5A-MR,rcp85,2062,2.516409158706665 +IPSL-CM5A-MR,rcp85,2063,2.5783095359802246 +IPSL-CM5A-MR,rcp85,2064,2.6506192684173584 +IPSL-CM5A-MR,rcp85,2065,2.717928886413574 +IPSL-CM5A-MR,rcp85,2066,2.788465976715088 +IPSL-CM5A-MR,rcp85,2067,2.8421144485473633 +IPSL-CM5A-MR,rcp85,2068,2.899374485015869 +IPSL-CM5A-MR,rcp85,2069,2.9660494327545166 +IPSL-CM5A-MR,rcp85,2070,3.035348415374756 +IPSL-CM5A-MR,rcp85,2071,3.087209939956665 +IPSL-CM5A-MR,rcp85,2072,3.141204595565796 +IPSL-CM5A-MR,rcp85,2073,3.186953544616699 +IPSL-CM5A-MR,rcp85,2074,3.2400097846984863 +IPSL-CM5A-MR,rcp85,2075,3.2910521030426025 +IPSL-CM5A-MR,rcp85,2076,3.346635341644287 +IPSL-CM5A-MR,rcp85,2077,3.4071288108825684 +IPSL-CM5A-MR,rcp85,2078,3.4677090644836426 +IPSL-CM5A-MR,rcp85,2079,3.5134472846984863 +IPSL-CM5A-MR,rcp85,2080,3.567990303039551 +IPSL-CM5A-MR,rcp85,2081,3.615361213684082 +IPSL-CM5A-MR,rcp85,2082,3.668046712875366 +IPSL-CM5A-MR,rcp85,2083,3.7187623977661133 +IPSL-CM5A-MR,rcp85,2084,3.7623767852783203 +IPSL-CM5A-MR,rcp85,2085,3.8087635040283203 +IPSL-CM5A-MR,rcp85,2086,3.8464860916137695 +IPSL-CM5A-MR,rcp85,2087,3.8880386352539062 +IPSL-CM5A-MR,rcp85,2088,3.93641996383667 +IPSL-CM5A-MR,rcp85,2089,3.9914445877075195 +IPSL-CM5A-MR,rcp85,2090,4.04214334487915 +IPSL-CM5A-MR,rcp85,2091,4.100490093231201 +IPSL-CM5A-MR,rcp85,2092,4.128061771392822 +IPSL-CM5A-MR,rcp85,2093,4.171257019042969 +IPSL-CM5A-MR,rcp85,2094,4.2138352394104 +IPSL-CM5A-MR,rcp85,2095,4.255796909332275 +IPSL-CM5A-MR,rcp85,2096,4.2971415519714355 +IPSL-CM5A-MR,rcp85,2097,4.337869644165039 +IPSL-CM5A-MR,rcp85,2098,4.377981185913086 +IPSL-CM5A-MR,rcp85,2099,4.417475700378418 +IPSL-CM5A-MR,rcp85,2100,4.456353187561035 +MIROC-ESM,rcp45,1981,-0.4942222833633423 +MIROC-ESM,rcp45,1982,-0.4697166681289673 +MIROC-ESM,rcp45,1983,-0.4609336853027344 +MIROC-ESM,rcp45,1984,-0.44810107350349426 +MIROC-ESM,rcp45,1985,-0.43703383207321167 +MIROC-ESM,rcp45,1986,-0.42052996158599854 +MIROC-ESM,rcp45,1987,-0.4026985168457031 +MIROC-ESM,rcp45,1988,-0.38679730892181396 +MIROC-ESM,rcp45,1989,-0.3773917555809021 +MIROC-ESM,rcp45,1990,-0.3612128496170044 +MIROC-ESM,rcp45,1991,-0.337306946516037 +MIROC-ESM,rcp45,1992,-0.3096320629119873 +MIROC-ESM,rcp45,1993,-0.28324809670448303 +MIROC-ESM,rcp45,1994,-0.25754618644714355 +MIROC-ESM,rcp45,1995,-0.2419394999742508 +MIROC-ESM,rcp45,1996,-0.22444529831409454 +MIROC-ESM,rcp45,1997,-0.20599894225597382 +MIROC-ESM,rcp45,1998,-0.1870429515838623 +MIROC-ESM,rcp45,1999,-0.17208629846572876 +MIROC-ESM,rcp45,2000,-0.15936964750289917 +MIROC-ESM,rcp45,2001,-0.14620739221572876 +MIROC-ESM,rcp45,2002,-0.12308728694915771 +MIROC-ESM,rcp45,2003,-0.07782058417797089 +MIROC-ESM,rcp45,2004,-0.037395477294921875 +MIROC-ESM,rcp45,2005,-0.001709774136543274 +MIROC-ESM,rcp45,2006,0.030808284878730774 +MIROC-ESM,rcp45,2007,0.05448530614376068 +MIROC-ESM,rcp45,2008,0.07349775731563568 +MIROC-ESM,rcp45,2009,0.09866102039813995 +MIROC-ESM,rcp45,2010,0.12876807153224945 +MIROC-ESM,rcp45,2011,0.1532798558473587 +MIROC-ESM,rcp45,2012,0.18072275817394257 +MIROC-ESM,rcp45,2013,0.21498630940914154 +MIROC-ESM,rcp45,2014,0.25106877088546753 +MIROC-ESM,rcp45,2015,0.29713505506515503 +MIROC-ESM,rcp45,2016,0.33962470293045044 +MIROC-ESM,rcp45,2017,0.3879019618034363 +MIROC-ESM,rcp45,2018,0.43204253911972046 +MIROC-ESM,rcp45,2019,0.46918243169784546 +MIROC-ESM,rcp45,2020,0.5169409513473511 +MIROC-ESM,rcp45,2021,0.548844039440155 +MIROC-ESM,rcp45,2022,0.5861777663230896 +MIROC-ESM,rcp45,2023,0.6202918887138367 +MIROC-ESM,rcp45,2024,0.655168890953064 +MIROC-ESM,rcp45,2025,0.6994163393974304 +MIROC-ESM,rcp45,2026,0.7446877360343933 +MIROC-ESM,rcp45,2027,0.7867730259895325 +MIROC-ESM,rcp45,2028,0.8302987217903137 +MIROC-ESM,rcp45,2029,0.8733817934989929 +MIROC-ESM,rcp45,2030,0.906356155872345 +MIROC-ESM,rcp45,2031,0.9496223330497742 +MIROC-ESM,rcp45,2032,0.9791863560676575 +MIROC-ESM,rcp45,2033,1.0110373497009277 +MIROC-ESM,rcp45,2034,1.0443031787872314 +MIROC-ESM,rcp45,2035,1.0789176225662231 +MIROC-ESM,rcp45,2036,1.1083046197891235 +MIROC-ESM,rcp45,2037,1.1319481134414673 +MIROC-ESM,rcp45,2038,1.1578102111816406 +MIROC-ESM,rcp45,2039,1.198712944984436 +MIROC-ESM,rcp45,2040,1.232648491859436 +MIROC-ESM,rcp45,2041,1.2699867486953735 +MIROC-ESM,rcp45,2042,1.300482988357544 +MIROC-ESM,rcp45,2043,1.3288383483886719 +MIROC-ESM,rcp45,2044,1.3566612005233765 +MIROC-ESM,rcp45,2045,1.3732597827911377 +MIROC-ESM,rcp45,2046,1.3873755931854248 +MIROC-ESM,rcp45,2047,1.4001076221466064 +MIROC-ESM,rcp45,2048,1.4210548400878906 +MIROC-ESM,rcp45,2049,1.450232744216919 +MIROC-ESM,rcp45,2050,1.4797521829605103 +MIROC-ESM,rcp45,2051,1.4997609853744507 +MIROC-ESM,rcp45,2052,1.524091124534607 +MIROC-ESM,rcp45,2053,1.5574486255645752 +MIROC-ESM,rcp45,2054,1.5916283130645752 +MIROC-ESM,rcp45,2055,1.6226600408554077 +MIROC-ESM,rcp45,2056,1.6550010442733765 +MIROC-ESM,rcp45,2057,1.6866096258163452 +MIROC-ESM,rcp45,2058,1.7218952178955078 +MIROC-ESM,rcp45,2059,1.7494604587554932 +MIROC-ESM,rcp45,2060,1.765674352645874 +MIROC-ESM,rcp45,2061,1.788388729095459 +MIROC-ESM,rcp45,2062,1.8150012493133545 +MIROC-ESM,rcp45,2063,1.8451571464538574 +MIROC-ESM,rcp45,2064,1.8758106231689453 +MIROC-ESM,rcp45,2065,1.9059834480285645 +MIROC-ESM,rcp45,2066,1.9439959526062012 +MIROC-ESM,rcp45,2067,1.9889271259307861 +MIROC-ESM,rcp45,2068,2.02418851852417 +MIROC-ESM,rcp45,2069,2.042940139770508 +MIROC-ESM,rcp45,2070,2.063246965408325 +MIROC-ESM,rcp45,2071,2.0884037017822266 +MIROC-ESM,rcp45,2072,2.110548734664917 +MIROC-ESM,rcp45,2073,2.1249499320983887 +MIROC-ESM,rcp45,2074,2.134338855743408 +MIROC-ESM,rcp45,2075,2.145674467086792 +MIROC-ESM,rcp45,2076,2.159517288208008 +MIROC-ESM,rcp45,2077,2.164088726043701 +MIROC-ESM,rcp45,2078,2.1619815826416016 +MIROC-ESM,rcp45,2079,2.1622729301452637 +MIROC-ESM,rcp45,2080,2.17095685005188 +MIROC-ESM,rcp45,2081,2.18499493598938 +MIROC-ESM,rcp45,2082,2.1971073150634766 +MIROC-ESM,rcp45,2083,2.2030978202819824 +MIROC-ESM,rcp45,2084,2.2085041999816895 +MIROC-ESM,rcp45,2085,2.2141330242156982 +MIROC-ESM,rcp45,2086,2.208400249481201 +MIROC-ESM,rcp45,2087,2.206277847290039 +MIROC-ESM,rcp45,2088,2.20070219039917 +MIROC-ESM,rcp45,2089,2.2107701301574707 +MIROC-ESM,rcp45,2090,2.219491958618164 +MIROC-ESM,rcp45,2091,2.222835063934326 +MIROC-ESM,rcp45,2092,2.23298978805542 +MIROC-ESM,rcp45,2093,2.238744020462036 +MIROC-ESM,rcp45,2094,2.242647171020508 +MIROC-ESM,rcp45,2095,2.250537395477295 +MIROC-ESM,rcp45,2096,2.256985902786255 +MIROC-ESM,rcp45,2097,2.2660388946533203 +MIROC-ESM,rcp45,2098,2.273494243621826 +MIROC-ESM,rcp45,2099,2.281956911087036 +MIROC-ESM,rcp45,2100,2.2990803718566895 +MIROC-ESM,rcp85,1981,-0.4667435884475708 +MIROC-ESM,rcp85,1982,-0.4422379732131958 +MIROC-ESM,rcp85,1983,-0.4334549903869629 +MIROC-ESM,rcp85,1984,-0.4206223785877228 +MIROC-ESM,rcp85,1985,-0.4095551371574402 +MIROC-ESM,rcp85,1986,-0.39305126667022705 +MIROC-ESM,rcp85,1987,-0.37521982192993164 +MIROC-ESM,rcp85,1988,-0.3593186140060425 +MIROC-ESM,rcp85,1989,-0.3499130606651306 +MIROC-ESM,rcp85,1990,-0.3337341547012329 +MIROC-ESM,rcp85,1991,-0.3098282516002655 +MIROC-ESM,rcp85,1992,-0.2821533679962158 +MIROC-ESM,rcp85,1993,-0.25576940178871155 +MIROC-ESM,rcp85,1994,-0.23006750643253326 +MIROC-ESM,rcp85,1995,-0.2144608050584793 +MIROC-ESM,rcp85,1996,-0.19696660339832306 +MIROC-ESM,rcp85,1997,-0.1828446090221405 +MIROC-ESM,rcp85,1998,-0.16061711311340332 +MIROC-ESM,rcp85,1999,-0.13701480627059937 +MIROC-ESM,rcp85,2000,-0.12008365988731384 +MIROC-ESM,rcp85,2001,-0.11654815077781677 +MIROC-ESM,rcp85,2002,-0.10414274781942368 +MIROC-ESM,rcp85,2003,-0.06703795492649078 +MIROC-ESM,rcp85,2004,-0.03554835915565491 +MIROC-ESM,rcp85,2005,-0.014288291335105896 +MIROC-ESM,rcp85,2006,0.015876784920692444 +MIROC-ESM,rcp85,2007,0.04514464735984802 +MIROC-ESM,rcp85,2008,0.06249995529651642 +MIROC-ESM,rcp85,2009,0.09123225510120392 +MIROC-ESM,rcp85,2010,0.12281177937984467 +MIROC-ESM,rcp85,2011,0.14993582665920258 +MIROC-ESM,rcp85,2012,0.17842091619968414 +MIROC-ESM,rcp85,2013,0.2113357037305832 +MIROC-ESM,rcp85,2014,0.24902643263339996 +MIROC-ESM,rcp85,2015,0.2952040433883667 +MIROC-ESM,rcp85,2016,0.3452116847038269 +MIROC-ESM,rcp85,2017,0.4002501964569092 +MIROC-ESM,rcp85,2018,0.4484023451805115 +MIROC-ESM,rcp85,2019,0.49078667163848877 +MIROC-ESM,rcp85,2020,0.536697268486023 +MIROC-ESM,rcp85,2021,0.5874769687652588 +MIROC-ESM,rcp85,2022,0.6407408118247986 +MIROC-ESM,rcp85,2023,0.687136709690094 +MIROC-ESM,rcp85,2024,0.7478391528129578 +MIROC-ESM,rcp85,2025,0.8130614161491394 +MIROC-ESM,rcp85,2026,0.8647581934928894 +MIROC-ESM,rcp85,2027,0.9092910885810852 +MIROC-ESM,rcp85,2028,0.9605544209480286 +MIROC-ESM,rcp85,2029,1.0108733177185059 +MIROC-ESM,rcp85,2030,1.0618712902069092 +MIROC-ESM,rcp85,2031,1.111668348312378 +MIROC-ESM,rcp85,2032,1.152877688407898 +MIROC-ESM,rcp85,2033,1.201284646987915 +MIROC-ESM,rcp85,2034,1.2500531673431396 +MIROC-ESM,rcp85,2035,1.296438455581665 +MIROC-ESM,rcp85,2036,1.3332746028900146 +MIROC-ESM,rcp85,2037,1.3703596591949463 +MIROC-ESM,rcp85,2038,1.4091918468475342 +MIROC-ESM,rcp85,2039,1.4431777000427246 +MIROC-ESM,rcp85,2040,1.487289309501648 +MIROC-ESM,rcp85,2041,1.5387036800384521 +MIROC-ESM,rcp85,2042,1.5829052925109863 +MIROC-ESM,rcp85,2043,1.62980318069458 +MIROC-ESM,rcp85,2044,1.6720654964447021 +MIROC-ESM,rcp85,2045,1.7156630754470825 +MIROC-ESM,rcp85,2046,1.7623900175094604 +MIROC-ESM,rcp85,2047,1.8121302127838135 +MIROC-ESM,rcp85,2048,1.8602640628814697 +MIROC-ESM,rcp85,2049,1.9096050262451172 +MIROC-ESM,rcp85,2050,1.948476791381836 +MIROC-ESM,rcp85,2051,1.9960200786590576 +MIROC-ESM,rcp85,2052,2.047966957092285 +MIROC-ESM,rcp85,2053,2.09182071685791 +MIROC-ESM,rcp85,2054,2.1375865936279297 +MIROC-ESM,rcp85,2055,2.1908366680145264 +MIROC-ESM,rcp85,2056,2.2541894912719727 +MIROC-ESM,rcp85,2057,2.3110392093658447 +MIROC-ESM,rcp85,2058,2.3619227409362793 +MIROC-ESM,rcp85,2059,2.424769163131714 +MIROC-ESM,rcp85,2060,2.4811747074127197 +MIROC-ESM,rcp85,2061,2.5320277214050293 +MIROC-ESM,rcp85,2062,2.5864343643188477 +MIROC-ESM,rcp85,2063,2.646979808807373 +MIROC-ESM,rcp85,2064,2.7074687480926514 +MIROC-ESM,rcp85,2065,2.7657084465026855 +MIROC-ESM,rcp85,2066,2.8245737552642822 +MIROC-ESM,rcp85,2067,2.8884623050689697 +MIROC-ESM,rcp85,2068,2.9525508880615234 +MIROC-ESM,rcp85,2069,3.014049768447876 +MIROC-ESM,rcp85,2070,3.078533411026001 +MIROC-ESM,rcp85,2071,3.14089298248291 +MIROC-ESM,rcp85,2072,3.2083780765533447 +MIROC-ESM,rcp85,2073,3.28344988822937 +MIROC-ESM,rcp85,2074,3.3570964336395264 +MIROC-ESM,rcp85,2075,3.429302453994751 +MIROC-ESM,rcp85,2076,3.4926798343658447 +MIROC-ESM,rcp85,2077,3.5535669326782227 +MIROC-ESM,rcp85,2078,3.623633861541748 +MIROC-ESM,rcp85,2079,3.693985939025879 +MIROC-ESM,rcp85,2080,3.7657816410064697 +MIROC-ESM,rcp85,2081,3.8366804122924805 +MIROC-ESM,rcp85,2082,3.9075989723205566 +MIROC-ESM,rcp85,2083,3.9678735733032227 +MIROC-ESM,rcp85,2084,4.025486469268799 +MIROC-ESM,rcp85,2085,4.083034992218018 +MIROC-ESM,rcp85,2086,4.14797830581665 +MIROC-ESM,rcp85,2087,4.211677074432373 +MIROC-ESM,rcp85,2088,4.285351276397705 +MIROC-ESM,rcp85,2089,4.3494648933410645 +MIROC-ESM,rcp85,2090,4.415516376495361 +MIROC-ESM,rcp85,2091,4.490447521209717 +MIROC-ESM,rcp85,2092,4.541282653808594 +MIROC-ESM,rcp85,2093,4.603975296020508 +MIROC-ESM,rcp85,2094,4.666323184967041 +MIROC-ESM,rcp85,2095,4.728325843811035 +MIROC-ESM,rcp85,2096,4.789983749389648 +MIROC-ESM,rcp85,2097,4.851296424865723 +MIROC-ESM,rcp85,2098,4.912264347076416 +MIROC-ESM,rcp85,2099,4.9728875160217285 +MIROC-ESM,rcp85,2100,5.033165454864502 +MIROC-ESM-CHEM,rcp45,1981,-0.4393431842327118 +MIROC-ESM-CHEM,rcp45,1982,-0.4208739399909973 +MIROC-ESM-CHEM,rcp45,1983,-0.4193496108055115 +MIROC-ESM-CHEM,rcp45,1984,-0.41400444507598877 +MIROC-ESM-CHEM,rcp45,1985,-0.41318660974502563 +MIROC-ESM-CHEM,rcp45,1986,-0.4005995988845825 +MIROC-ESM-CHEM,rcp45,1987,-0.3847106397151947 +MIROC-ESM-CHEM,rcp45,1988,-0.3737182319164276 +MIROC-ESM-CHEM,rcp45,1989,-0.3652588129043579 +MIROC-ESM-CHEM,rcp45,1990,-0.36245423555374146 +MIROC-ESM-CHEM,rcp45,1991,-0.35965579748153687 +MIROC-ESM-CHEM,rcp45,1992,-0.3430114984512329 +MIROC-ESM-CHEM,rcp45,1993,-0.3242904841899872 +MIROC-ESM-CHEM,rcp45,1994,-0.3042648434638977 +MIROC-ESM-CHEM,rcp45,1995,-0.28326722979545593 +MIROC-ESM-CHEM,rcp45,1996,-0.2681579887866974 +MIROC-ESM-CHEM,rcp45,1997,-0.2463729828596115 +MIROC-ESM-CHEM,rcp45,1998,-0.22090452909469604 +MIROC-ESM-CHEM,rcp45,1999,-0.19395753741264343 +MIROC-ESM-CHEM,rcp45,2000,-0.1754714846611023 +MIROC-ESM-CHEM,rcp45,2001,-0.15340423583984375 +MIROC-ESM-CHEM,rcp45,2002,-0.12754973769187927 +MIROC-ESM-CHEM,rcp45,2003,-0.0882568359375 +MIROC-ESM-CHEM,rcp45,2004,-0.048138439655303955 +MIROC-ESM-CHEM,rcp45,2005,-0.003662109375 +MIROC-ESM-CHEM,rcp45,2006,0.03033292293548584 +MIROC-ESM-CHEM,rcp45,2007,0.05340579152107239 +MIROC-ESM-CHEM,rcp45,2008,0.08408355712890625 +MIROC-ESM-CHEM,rcp45,2009,0.1134689450263977 +MIROC-ESM-CHEM,rcp45,2010,0.13972017168998718 +MIROC-ESM-CHEM,rcp45,2011,0.17148903012275696 +MIROC-ESM-CHEM,rcp45,2012,0.20133516192436218 +MIROC-ESM-CHEM,rcp45,2013,0.2300201654434204 +MIROC-ESM-CHEM,rcp45,2014,0.2671966254711151 +MIROC-ESM-CHEM,rcp45,2015,0.3129592835903168 +MIROC-ESM-CHEM,rcp45,2016,0.3487228453159332 +MIROC-ESM-CHEM,rcp45,2017,0.39461514353752136 +MIROC-ESM-CHEM,rcp45,2018,0.4387725293636322 +MIROC-ESM-CHEM,rcp45,2019,0.47154995799064636 +MIROC-ESM-CHEM,rcp45,2020,0.5148543119430542 +MIROC-ESM-CHEM,rcp45,2021,0.5535980463027954 +MIROC-ESM-CHEM,rcp45,2022,0.5785094499588013 +MIROC-ESM-CHEM,rcp45,2023,0.6203887462615967 +MIROC-ESM-CHEM,rcp45,2024,0.6598358154296875 +MIROC-ESM-CHEM,rcp45,2025,0.68873131275177 +MIROC-ESM-CHEM,rcp45,2026,0.71723473072052 +MIROC-ESM-CHEM,rcp45,2027,0.7557296752929688 +MIROC-ESM-CHEM,rcp45,2028,0.7908339500427246 +MIROC-ESM-CHEM,rcp45,2029,0.8278288841247559 +MIROC-ESM-CHEM,rcp45,2030,0.869975209236145 +MIROC-ESM-CHEM,rcp45,2031,0.9049011468887329 +MIROC-ESM-CHEM,rcp45,2032,0.9391813278198242 +MIROC-ESM-CHEM,rcp45,2033,0.9810163974761963 +MIROC-ESM-CHEM,rcp45,2034,1.020793080329895 +MIROC-ESM-CHEM,rcp45,2035,1.04835045337677 +MIROC-ESM-CHEM,rcp45,2036,1.0865095853805542 +MIROC-ESM-CHEM,rcp45,2037,1.1071135997772217 +MIROC-ESM-CHEM,rcp45,2038,1.1226394176483154 +MIROC-ESM-CHEM,rcp45,2039,1.1514860391616821 +MIROC-ESM-CHEM,rcp45,2040,1.1779510974884033 +MIROC-ESM-CHEM,rcp45,2041,1.2084394693374634 +MIROC-ESM-CHEM,rcp45,2042,1.251539707183838 +MIROC-ESM-CHEM,rcp45,2043,1.28412926197052 +MIROC-ESM-CHEM,rcp45,2044,1.3158372640609741 +MIROC-ESM-CHEM,rcp45,2045,1.3550552129745483 +MIROC-ESM-CHEM,rcp45,2046,1.3920015096664429 +MIROC-ESM-CHEM,rcp45,2047,1.431066870689392 +MIROC-ESM-CHEM,rcp45,2048,1.469447374343872 +MIROC-ESM-CHEM,rcp45,2049,1.5041229724884033 +MIROC-ESM-CHEM,rcp45,2050,1.543035864830017 +MIROC-ESM-CHEM,rcp45,2051,1.590275526046753 +MIROC-ESM-CHEM,rcp45,2052,1.6248382329940796 +MIROC-ESM-CHEM,rcp45,2053,1.6554168462753296 +MIROC-ESM-CHEM,rcp45,2054,1.6879026889801025 +MIROC-ESM-CHEM,rcp45,2055,1.7221496105194092 +MIROC-ESM-CHEM,rcp45,2056,1.752974033355713 +MIROC-ESM-CHEM,rcp45,2057,1.784559726715088 +MIROC-ESM-CHEM,rcp45,2058,1.8120574951171875 +MIROC-ESM-CHEM,rcp45,2059,1.8331284523010254 +MIROC-ESM-CHEM,rcp45,2060,1.849351406097412 +MIROC-ESM-CHEM,rcp45,2061,1.860640048980713 +MIROC-ESM-CHEM,rcp45,2062,1.8787751197814941 +MIROC-ESM-CHEM,rcp45,2063,1.9032807350158691 +MIROC-ESM-CHEM,rcp45,2064,1.9291045665740967 +MIROC-ESM-CHEM,rcp45,2065,1.948835849761963 +MIROC-ESM-CHEM,rcp45,2066,1.9711334705352783 +MIROC-ESM-CHEM,rcp45,2067,1.9881577491760254 +MIROC-ESM-CHEM,rcp45,2068,2.0065886974334717 +MIROC-ESM-CHEM,rcp45,2069,2.0266709327697754 +MIROC-ESM-CHEM,rcp45,2070,2.041146755218506 +MIROC-ESM-CHEM,rcp45,2071,2.0521819591522217 +MIROC-ESM-CHEM,rcp45,2072,2.065385341644287 +MIROC-ESM-CHEM,rcp45,2073,2.0879180431365967 +MIROC-ESM-CHEM,rcp45,2074,2.1083648204803467 +MIROC-ESM-CHEM,rcp45,2075,2.1285552978515625 +MIROC-ESM-CHEM,rcp45,2076,2.1395232677459717 +MIROC-ESM-CHEM,rcp45,2077,2.1535980701446533 +MIROC-ESM-CHEM,rcp45,2078,2.176619052886963 +MIROC-ESM-CHEM,rcp45,2079,2.1979124546051025 +MIROC-ESM-CHEM,rcp45,2080,2.2229416370391846 +MIROC-ESM-CHEM,rcp45,2081,2.244392156600952 +MIROC-ESM-CHEM,rcp45,2082,2.259611129760742 +MIROC-ESM-CHEM,rcp45,2083,2.2670040130615234 +MIROC-ESM-CHEM,rcp45,2084,2.2653684616088867 +MIROC-ESM-CHEM,rcp45,2085,2.274583339691162 +MIROC-ESM-CHEM,rcp45,2086,2.277251958847046 +MIROC-ESM-CHEM,rcp45,2087,2.2865171432495117 +MIROC-ESM-CHEM,rcp45,2088,2.2994823455810547 +MIROC-ESM-CHEM,rcp45,2089,2.305877447128296 +MIROC-ESM-CHEM,rcp45,2090,2.3081037998199463 +MIROC-ESM-CHEM,rcp45,2091,2.316663980484009 +MIROC-ESM-CHEM,rcp45,2092,2.3140316009521484 +MIROC-ESM-CHEM,rcp45,2093,2.3146326541900635 +MIROC-ESM-CHEM,rcp45,2094,2.3140852451324463 +MIROC-ESM-CHEM,rcp45,2095,2.3123891353607178 +MIROC-ESM-CHEM,rcp45,2096,2.309544563293457 +MIROC-ESM-CHEM,rcp45,2097,2.305551528930664 +MIROC-ESM-CHEM,rcp45,2098,2.3004097938537598 +MIROC-ESM-CHEM,rcp45,2099,2.2941195964813232 +MIROC-ESM-CHEM,rcp45,2100,2.2866806983947754 +MIROC-ESM-CHEM,rcp85,1981,-0.4457691013813019 +MIROC-ESM-CHEM,rcp85,1982,-0.4272998571395874 +MIROC-ESM-CHEM,rcp85,1983,-0.42577552795410156 +MIROC-ESM-CHEM,rcp85,1984,-0.42043036222457886 +MIROC-ESM-CHEM,rcp85,1985,-0.4196125268936157 +MIROC-ESM-CHEM,rcp85,1986,-0.4070255160331726 +MIROC-ESM-CHEM,rcp85,1987,-0.3911365568637848 +MIROC-ESM-CHEM,rcp85,1988,-0.3801441490650177 +MIROC-ESM-CHEM,rcp85,1989,-0.371684730052948 +MIROC-ESM-CHEM,rcp85,1990,-0.36888015270233154 +MIROC-ESM-CHEM,rcp85,1991,-0.36608171463012695 +MIROC-ESM-CHEM,rcp85,1992,-0.349437415599823 +MIROC-ESM-CHEM,rcp85,1993,-0.33071640133857727 +MIROC-ESM-CHEM,rcp85,1994,-0.3106907606124878 +MIROC-ESM-CHEM,rcp85,1995,-0.289693146944046 +MIROC-ESM-CHEM,rcp85,1996,-0.2745839059352875 +MIROC-ESM-CHEM,rcp85,1997,-0.249991312623024 +MIROC-ESM-CHEM,rcp85,1998,-0.22956590354442596 +MIROC-ESM-CHEM,rcp85,1999,-0.21268205344676971 +MIROC-ESM-CHEM,rcp85,2000,-0.19716539978981018 +MIROC-ESM-CHEM,rcp85,2001,-0.17895251512527466 +MIROC-ESM-CHEM,rcp85,2002,-0.14576765894889832 +MIROC-ESM-CHEM,rcp85,2003,-0.09715317189693451 +MIROC-ESM-CHEM,rcp85,2004,-0.053613752126693726 +MIROC-ESM-CHEM,rcp85,2005,-0.0004902184009552002 +MIROC-ESM-CHEM,rcp85,2006,0.032079607248306274 +MIROC-ESM-CHEM,rcp85,2007,0.058448344469070435 +MIROC-ESM-CHEM,rcp85,2008,0.09194597601890564 +MIROC-ESM-CHEM,rcp85,2009,0.12557479739189148 +MIROC-ESM-CHEM,rcp85,2010,0.16792866587638855 +MIROC-ESM-CHEM,rcp85,2011,0.21549031138420105 +MIROC-ESM-CHEM,rcp85,2012,0.2548534572124481 +MIROC-ESM-CHEM,rcp85,2013,0.3013363182544708 +MIROC-ESM-CHEM,rcp85,2014,0.3516506254673004 +MIROC-ESM-CHEM,rcp85,2015,0.39421650767326355 +MIROC-ESM-CHEM,rcp85,2016,0.4366801679134369 +MIROC-ESM-CHEM,rcp85,2017,0.48046526312828064 +MIROC-ESM-CHEM,rcp85,2018,0.5353679656982422 +MIROC-ESM-CHEM,rcp85,2019,0.5882549285888672 +MIROC-ESM-CHEM,rcp85,2020,0.6357951164245605 +MIROC-ESM-CHEM,rcp85,2021,0.6857844591140747 +MIROC-ESM-CHEM,rcp85,2022,0.7193934917449951 +MIROC-ESM-CHEM,rcp85,2023,0.7588282823562622 +MIROC-ESM-CHEM,rcp85,2024,0.804694652557373 +MIROC-ESM-CHEM,rcp85,2025,0.844031810760498 +MIROC-ESM-CHEM,rcp85,2026,0.883220911026001 +MIROC-ESM-CHEM,rcp85,2027,0.9260995388031006 +MIROC-ESM-CHEM,rcp85,2028,0.9749597311019897 +MIROC-ESM-CHEM,rcp85,2029,1.0219537019729614 +MIROC-ESM-CHEM,rcp85,2030,1.0560861825942993 +MIROC-ESM-CHEM,rcp85,2031,1.086362600326538 +MIROC-ESM-CHEM,rcp85,2032,1.126360535621643 +MIROC-ESM-CHEM,rcp85,2033,1.1680291891098022 +MIROC-ESM-CHEM,rcp85,2034,1.2136117219924927 +MIROC-ESM-CHEM,rcp85,2035,1.260210633277893 +MIROC-ESM-CHEM,rcp85,2036,1.302634596824646 +MIROC-ESM-CHEM,rcp85,2037,1.3454385995864868 +MIROC-ESM-CHEM,rcp85,2038,1.3911738395690918 +MIROC-ESM-CHEM,rcp85,2039,1.4407435655593872 +MIROC-ESM-CHEM,rcp85,2040,1.4977946281433105 +MIROC-ESM-CHEM,rcp85,2041,1.552569031715393 +MIROC-ESM-CHEM,rcp85,2042,1.6091195344924927 +MIROC-ESM-CHEM,rcp85,2043,1.6644890308380127 +MIROC-ESM-CHEM,rcp85,2044,1.7201822996139526 +MIROC-ESM-CHEM,rcp85,2045,1.776581883430481 +MIROC-ESM-CHEM,rcp85,2046,1.836351990699768 +MIROC-ESM-CHEM,rcp85,2047,1.894182801246643 +MIROC-ESM-CHEM,rcp85,2048,1.9466379880905151 +MIROC-ESM-CHEM,rcp85,2049,2.010387897491455 +MIROC-ESM-CHEM,rcp85,2050,2.079557418823242 +MIROC-ESM-CHEM,rcp85,2051,2.1491360664367676 +MIROC-ESM-CHEM,rcp85,2052,2.204596996307373 +MIROC-ESM-CHEM,rcp85,2053,2.258819103240967 +MIROC-ESM-CHEM,rcp85,2054,2.3121578693389893 +MIROC-ESM-CHEM,rcp85,2055,2.371938705444336 +MIROC-ESM-CHEM,rcp85,2056,2.435436725616455 +MIROC-ESM-CHEM,rcp85,2057,2.4966959953308105 +MIROC-ESM-CHEM,rcp85,2058,2.551664352416992 +MIROC-ESM-CHEM,rcp85,2059,2.5990853309631348 +MIROC-ESM-CHEM,rcp85,2060,2.648942232131958 +MIROC-ESM-CHEM,rcp85,2061,2.7002968788146973 +MIROC-ESM-CHEM,rcp85,2062,2.757328510284424 +MIROC-ESM-CHEM,rcp85,2063,2.8156442642211914 +MIROC-ESM-CHEM,rcp85,2064,2.8733577728271484 +MIROC-ESM-CHEM,rcp85,2065,2.926325559616089 +MIROC-ESM-CHEM,rcp85,2066,2.989107847213745 +MIROC-ESM-CHEM,rcp85,2067,3.0568432807922363 +MIROC-ESM-CHEM,rcp85,2068,3.127087116241455 +MIROC-ESM-CHEM,rcp85,2069,3.182878017425537 +MIROC-ESM-CHEM,rcp85,2070,3.2347640991210938 +MIROC-ESM-CHEM,rcp85,2071,3.2910399436950684 +MIROC-ESM-CHEM,rcp85,2072,3.354609727859497 +MIROC-ESM-CHEM,rcp85,2073,3.4245848655700684 +MIROC-ESM-CHEM,rcp85,2074,3.4902846813201904 +MIROC-ESM-CHEM,rcp85,2075,3.559065341949463 +MIROC-ESM-CHEM,rcp85,2076,3.6317996978759766 +MIROC-ESM-CHEM,rcp85,2077,3.702193021774292 +MIROC-ESM-CHEM,rcp85,2078,3.775221824645996 +MIROC-ESM-CHEM,rcp85,2079,3.848128318786621 +MIROC-ESM-CHEM,rcp85,2080,3.921602249145508 +MIROC-ESM-CHEM,rcp85,2081,3.9923510551452637 +MIROC-ESM-CHEM,rcp85,2082,4.06577205657959 +MIROC-ESM-CHEM,rcp85,2083,4.133690357208252 +MIROC-ESM-CHEM,rcp85,2084,4.195952415466309 +MIROC-ESM-CHEM,rcp85,2085,4.268886089324951 +MIROC-ESM-CHEM,rcp85,2086,4.344955921173096 +MIROC-ESM-CHEM,rcp85,2087,4.414633750915527 +MIROC-ESM-CHEM,rcp85,2088,4.481265544891357 +MIROC-ESM-CHEM,rcp85,2089,4.553885459899902 +MIROC-ESM-CHEM,rcp85,2090,4.635062217712402 +MIROC-ESM-CHEM,rcp85,2091,4.7182817459106445 +MIROC-ESM-CHEM,rcp85,2092,4.779448509216309 +MIROC-ESM-CHEM,rcp85,2093,4.8523783683776855 +MIROC-ESM-CHEM,rcp85,2094,4.925462245941162 +MIROC-ESM-CHEM,rcp85,2095,4.998701572418213 +MIROC-ESM-CHEM,rcp85,2096,5.0720953941345215 +MIROC-ESM-CHEM,rcp85,2097,5.145644187927246 +MIROC-ESM-CHEM,rcp85,2098,5.219347953796387 +MIROC-ESM-CHEM,rcp85,2099,5.293206691741943 +MIROC-ESM-CHEM,rcp85,2100,5.367219924926758 +MIROC5,rcp45,1981,-0.5968765616416931 +MIROC5,rcp45,1982,-0.5771636962890625 +MIROC5,rcp45,1983,-0.5593887567520142 +MIROC5,rcp45,1984,-0.5260406732559204 +MIROC5,rcp45,1985,-0.5129409432411194 +MIROC5,rcp45,1986,-0.5215332508087158 +MIROC5,rcp45,1987,-0.5276428461074829 +MIROC5,rcp45,1988,-0.5000396370887756 +MIROC5,rcp45,1989,-0.4687972962856293 +MIROC5,rcp45,1990,-0.4443832337856293 +MIROC5,rcp45,1991,-0.4273727536201477 +MIROC5,rcp45,1992,-0.41067811846733093 +MIROC5,rcp45,1993,-0.3799758553504944 +MIROC5,rcp45,1994,-0.33343347907066345 +MIROC5,rcp45,1995,-0.2818877696990967 +MIROC5,rcp45,1996,-0.23712456226348877 +MIROC5,rcp45,1997,-0.20989525318145752 +MIROC5,rcp45,1998,-0.1914382129907608 +MIROC5,rcp45,1999,-0.1686522662639618 +MIROC5,rcp45,2000,-0.13996420800685883 +MIROC5,rcp45,2001,-0.10352775454521179 +MIROC5,rcp45,2002,-0.0792861133813858 +MIROC5,rcp45,2003,-0.06419971585273743 +MIROC5,rcp45,2004,-0.05935046076774597 +MIROC5,rcp45,2005,-0.02868334949016571 +MIROC5,rcp45,2006,0.02443099021911621 +MIROC5,rcp45,2007,0.06201338768005371 +MIROC5,rcp45,2008,0.07270371913909912 +MIROC5,rcp45,2009,0.08201771974563599 +MIROC5,rcp45,2010,0.09388139843940735 +MIROC5,rcp45,2011,0.12568074464797974 +MIROC5,rcp45,2012,0.16493698954582214 +MIROC5,rcp45,2013,0.17592942714691162 +MIROC5,rcp45,2014,0.17697161436080933 +MIROC5,rcp45,2015,0.17607280611991882 +MIROC5,rcp45,2016,0.18021556735038757 +MIROC5,rcp45,2017,0.20995953679084778 +MIROC5,rcp45,2018,0.2530824542045593 +MIROC5,rcp45,2019,0.2749482989311218 +MIROC5,rcp45,2020,0.2870026230812073 +MIROC5,rcp45,2021,0.28927165269851685 +MIROC5,rcp45,2022,0.3076661229133606 +MIROC5,rcp45,2023,0.35194557905197144 +MIROC5,rcp45,2024,0.39701229333877563 +MIROC5,rcp45,2025,0.40887606143951416 +MIROC5,rcp45,2026,0.4047408699989319 +MIROC5,rcp45,2027,0.41909337043762207 +MIROC5,rcp45,2028,0.4584929943084717 +MIROC5,rcp45,2029,0.5086989402770996 +MIROC5,rcp45,2030,0.5394423604011536 +MIROC5,rcp45,2031,0.5420043468475342 +MIROC5,rcp45,2032,0.5400633811950684 +MIROC5,rcp45,2033,0.5775100588798523 +MIROC5,rcp45,2034,0.6323913335800171 +MIROC5,rcp45,2035,0.6663222312927246 +MIROC5,rcp45,2036,0.6824584007263184 +MIROC5,rcp45,2037,0.6835295557975769 +MIROC5,rcp45,2038,0.6843688488006592 +MIROC5,rcp45,2039,0.7243194580078125 +MIROC5,rcp45,2040,0.771697998046875 +MIROC5,rcp45,2041,0.7952407598495483 +MIROC5,rcp45,2042,0.8032653331756592 +MIROC5,rcp45,2043,0.8079818487167358 +MIROC5,rcp45,2044,0.8160263299942017 +MIROC5,rcp45,2045,0.8567733764648438 +MIROC5,rcp45,2046,0.9028701782226562 +MIROC5,rcp45,2047,0.9218384027481079 +MIROC5,rcp45,2048,0.9187179803848267 +MIROC5,rcp45,2049,0.9090347290039062 +MIROC5,rcp45,2050,0.9322875738143921 +MIROC5,rcp45,2051,0.9753388166427612 +MIROC5,rcp45,2052,1.0015883445739746 +MIROC5,rcp45,2053,1.001632571220398 +MIROC5,rcp45,2054,0.98792564868927 +MIROC5,rcp45,2055,0.997787356376648 +MIROC5,rcp45,2056,1.0384947061538696 +MIROC5,rcp45,2057,1.0793380737304688 +MIROC5,rcp45,2058,1.087976098060608 +MIROC5,rcp45,2059,1.0811340808868408 +MIROC5,rcp45,2060,1.0802322626113892 +MIROC5,rcp45,2061,1.1128342151641846 +MIROC5,rcp45,2062,1.1561416387557983 +MIROC5,rcp45,2063,1.1764205694198608 +MIROC5,rcp45,2064,1.1881256103515625 +MIROC5,rcp45,2065,1.1873947381973267 +MIROC5,rcp45,2066,1.1796220541000366 +MIROC5,rcp45,2067,1.190730333328247 +MIROC5,rcp45,2068,1.2185288667678833 +MIROC5,rcp45,2069,1.2435075044631958 +MIROC5,rcp45,2070,1.2495864629745483 +MIROC5,rcp45,2071,1.2504974603652954 +MIROC5,rcp45,2072,1.2589524984359741 +MIROC5,rcp45,2073,1.27863609790802 +MIROC5,rcp45,2074,1.3009933233261108 +MIROC5,rcp45,2075,1.3320099115371704 +MIROC5,rcp45,2076,1.3357316255569458 +MIROC5,rcp45,2077,1.32559072971344 +MIROC5,rcp45,2078,1.3322802782058716 +MIROC5,rcp45,2079,1.34800124168396 +MIROC5,rcp45,2080,1.3736191987991333 +MIROC5,rcp45,2081,1.3825289011001587 +MIROC5,rcp45,2082,1.3691620826721191 +MIROC5,rcp45,2083,1.365229845046997 +MIROC5,rcp45,2084,1.3689179420471191 +MIROC5,rcp45,2085,1.3761093616485596 +MIROC5,rcp45,2086,1.3909317255020142 +MIROC5,rcp45,2087,1.4040589332580566 +MIROC5,rcp45,2088,1.4182770252227783 +MIROC5,rcp45,2089,1.4319168329238892 +MIROC5,rcp45,2090,1.4477829933166504 +MIROC5,rcp45,2091,1.4521714448928833 +MIROC5,rcp45,2092,1.4498062133789062 +MIROC5,rcp45,2093,1.4570785760879517 +MIROC5,rcp45,2094,1.4642366170883179 +MIROC5,rcp45,2095,1.4712804555892944 +MIROC5,rcp45,2096,1.4782098531723022 +MIROC5,rcp45,2097,1.4850250482559204 +MIROC5,rcp45,2098,1.4917258024215698 +MIROC5,rcp45,2099,1.4983123540878296 +MIROC5,rcp45,2100,1.5047845840454102 +MIROC5,rcp85,1981,-0.6151862740516663 +MIROC5,rcp85,1982,-0.5954734086990356 +MIROC5,rcp85,1983,-0.5776984691619873 +MIROC5,rcp85,1984,-0.5443503856658936 +MIROC5,rcp85,1985,-0.5312506556510925 +MIROC5,rcp85,1986,-0.539842963218689 +MIROC5,rcp85,1987,-0.545952558517456 +MIROC5,rcp85,1988,-0.5183493494987488 +MIROC5,rcp85,1989,-0.4871070086956024 +MIROC5,rcp85,1990,-0.4626929461956024 +MIROC5,rcp85,1991,-0.44568246603012085 +MIROC5,rcp85,1992,-0.4289878308773041 +MIROC5,rcp85,1993,-0.39828556776046753 +MIROC5,rcp85,1994,-0.3517431914806366 +MIROC5,rcp85,1995,-0.3001974821090698 +MIROC5,rcp85,1996,-0.2554342746734619 +MIROC5,rcp85,1997,-0.23204101622104645 +MIROC5,rcp85,1998,-0.21114256978034973 +MIROC5,rcp85,1999,-0.18382781744003296 +MIROC5,rcp85,2000,-0.15098325908184052 +MIROC5,rcp85,2001,-0.11883147060871124 +MIROC5,rcp85,2002,-0.10069791972637177 +MIROC5,rcp85,2003,-0.07134152948856354 +MIROC5,rcp85,2004,-0.043431684374809265 +MIROC5,rcp85,2005,0.001024782657623291 +MIROC5,rcp85,2006,0.02932676672935486 +MIROC5,rcp85,2007,0.046955257654190063 +MIROC5,rcp85,2008,0.05714353919029236 +MIROC5,rcp85,2009,0.08188110589981079 +MIROC5,rcp85,2010,0.11797118186950684 +MIROC5,rcp85,2011,0.14184051752090454 +MIROC5,rcp85,2012,0.1663842797279358 +MIROC5,rcp85,2013,0.1901390552520752 +MIROC5,rcp85,2014,0.21296930313110352 +MIROC5,rcp85,2015,0.22613000869750977 +MIROC5,rcp85,2016,0.23627257347106934 +MIROC5,rcp85,2017,0.2619408369064331 +MIROC5,rcp85,2018,0.29045796394348145 +MIROC5,rcp85,2019,0.3314400315284729 +MIROC5,rcp85,2020,0.37073594331741333 +MIROC5,rcp85,2021,0.3888816833496094 +MIROC5,rcp85,2022,0.40794599056243896 +MIROC5,rcp85,2023,0.4296683669090271 +MIROC5,rcp85,2024,0.45056378841400146 +MIROC5,rcp85,2025,0.4834800958633423 +MIROC5,rcp85,2026,0.5214866995811462 +MIROC5,rcp85,2027,0.5564537644386292 +MIROC5,rcp85,2028,0.5892022848129272 +MIROC5,rcp85,2029,0.6154366135597229 +MIROC5,rcp85,2030,0.6352211236953735 +MIROC5,rcp85,2031,0.6586755514144897 +MIROC5,rcp85,2032,0.6834664940834045 +MIROC5,rcp85,2033,0.7191994190216064 +MIROC5,rcp85,2034,0.7600975036621094 +MIROC5,rcp85,2035,0.7854591608047485 +MIROC5,rcp85,2036,0.8100136518478394 +MIROC5,rcp85,2037,0.8379875421524048 +MIROC5,rcp85,2038,0.8712822198867798 +MIROC5,rcp85,2039,0.8972983360290527 +MIROC5,rcp85,2040,0.9067603349685669 +MIROC5,rcp85,2041,0.9303687810897827 +MIROC5,rcp85,2042,0.9661154747009277 +MIROC5,rcp85,2043,1.005562663078308 +MIROC5,rcp85,2044,1.0464211702346802 +MIROC5,rcp85,2045,1.069443702697754 +MIROC5,rcp85,2046,1.112368106842041 +MIROC5,rcp85,2047,1.157666802406311 +MIROC5,rcp85,2048,1.2004311084747314 +MIROC5,rcp85,2049,1.2424616813659668 +MIROC5,rcp85,2050,1.2854394912719727 +MIROC5,rcp85,2051,1.347104787826538 +MIROC5,rcp85,2052,1.389615774154663 +MIROC5,rcp85,2053,1.4114724397659302 +MIROC5,rcp85,2054,1.4315179586410522 +MIROC5,rcp85,2055,1.477388858795166 +MIROC5,rcp85,2056,1.5360851287841797 +MIROC5,rcp85,2057,1.5972421169281006 +MIROC5,rcp85,2058,1.6416101455688477 +MIROC5,rcp85,2059,1.671250343322754 +MIROC5,rcp85,2060,1.7117761373519897 +MIROC5,rcp85,2061,1.7629570960998535 +MIROC5,rcp85,2062,1.8253533840179443 +MIROC5,rcp85,2063,1.872927188873291 +MIROC5,rcp85,2064,1.9043023586273193 +MIROC5,rcp85,2065,1.9343912601470947 +MIROC5,rcp85,2066,1.970897912979126 +MIROC5,rcp85,2067,2.0294182300567627 +MIROC5,rcp85,2068,2.091756582260132 +MIROC5,rcp85,2069,2.1328866481781006 +MIROC5,rcp85,2070,2.1602747440338135 +MIROC5,rcp85,2071,2.1848948001861572 +MIROC5,rcp85,2072,2.2350594997406006 +MIROC5,rcp85,2073,2.304053544998169 +MIROC5,rcp85,2074,2.3639566898345947 +MIROC5,rcp85,2075,2.39945912361145 +MIROC5,rcp85,2076,2.4246714115142822 +MIROC5,rcp85,2077,2.4554085731506348 +MIROC5,rcp85,2078,2.5047953128814697 +MIROC5,rcp85,2079,2.560683488845825 +MIROC5,rcp85,2080,2.6115028858184814 +MIROC5,rcp85,2081,2.6583123207092285 +MIROC5,rcp85,2082,2.7016916275024414 +MIROC5,rcp85,2083,2.7457284927368164 +MIROC5,rcp85,2084,2.7774178981781006 +MIROC5,rcp85,2085,2.81437611579895 +MIROC5,rcp85,2086,2.854107141494751 +MIROC5,rcp85,2087,2.8832361698150635 +MIROC5,rcp85,2088,2.9183847904205322 +MIROC5,rcp85,2089,2.9765846729278564 +MIROC5,rcp85,2090,3.027127981185913 +MIROC5,rcp85,2091,3.0721352100372314 +MIROC5,rcp85,2092,3.0987186431884766 +MIROC5,rcp85,2093,3.137895345687866 +MIROC5,rcp85,2094,3.176774501800537 +MIROC5,rcp85,2095,3.215355634689331 +MIROC5,rcp85,2096,3.253638982772827 +MIROC5,rcp85,2097,3.2916245460510254 +MIROC5,rcp85,2098,3.329312562942505 +MIROC5,rcp85,2099,3.3667025566101074 +MIROC5,rcp85,2100,3.403795003890991 +MPI-ESM-LR,rcp45,1981,-0.45476722717285156 +MPI-ESM-LR,rcp45,1982,-0.4325839877128601 +MPI-ESM-LR,rcp45,1983,-0.44514042139053345 +MPI-ESM-LR,rcp45,1984,-0.45409584045410156 +MPI-ESM-LR,rcp45,1985,-0.4435077905654907 +MPI-ESM-LR,rcp45,1986,-0.4337696135044098 +MPI-ESM-LR,rcp45,1987,-0.4265446066856384 +MPI-ESM-LR,rcp45,1988,-0.41768839955329895 +MPI-ESM-LR,rcp45,1989,-0.3919651210308075 +MPI-ESM-LR,rcp45,1990,-0.37073251605033875 +MPI-ESM-LR,rcp45,1991,-0.3594639301300049 +MPI-ESM-LR,rcp45,1992,-0.3490314781665802 +MPI-ESM-LR,rcp45,1993,-0.3290638327598572 +MPI-ESM-LR,rcp45,1994,-0.2956089675426483 +MPI-ESM-LR,rcp45,1995,-0.2797459363937378 +MPI-ESM-LR,rcp45,1996,-0.26619917154312134 +MPI-ESM-LR,rcp45,1997,-0.24406172335147858 +MPI-ESM-LR,rcp45,1998,-0.2249424159526825 +MPI-ESM-LR,rcp45,1999,-0.20340311527252197 +MPI-ESM-LR,rcp45,2000,-0.1920384168624878 +MPI-ESM-LR,rcp45,2001,-0.18504531681537628 +MPI-ESM-LR,rcp45,2002,-0.1574559211730957 +MPI-ESM-LR,rcp45,2003,-0.09760941565036774 +MPI-ESM-LR,rcp45,2004,-0.04189802706241608 +MPI-ESM-LR,rcp45,2005,-0.004961073398590088 +MPI-ESM-LR,rcp45,2006,0.03831899166107178 +MPI-ESM-LR,rcp45,2007,0.08405566215515137 +MPI-ESM-LR,rcp45,2008,0.11150163412094116 +MPI-ESM-LR,rcp45,2009,0.11893722414970398 +MPI-ESM-LR,rcp45,2010,0.13415640592575073 +MPI-ESM-LR,rcp45,2011,0.15229904651641846 +MPI-ESM-LR,rcp45,2012,0.17699846625328064 +MPI-ESM-LR,rcp45,2013,0.1900615096092224 +MPI-ESM-LR,rcp45,2014,0.19888266921043396 +MPI-ESM-LR,rcp45,2015,0.22122156620025635 +MPI-ESM-LR,rcp45,2016,0.2512126564979553 +MPI-ESM-LR,rcp45,2017,0.27380335330963135 +MPI-ESM-LR,rcp45,2018,0.2856503129005432 +MPI-ESM-LR,rcp45,2019,0.3070705533027649 +MPI-ESM-LR,rcp45,2020,0.3341793417930603 +MPI-ESM-LR,rcp45,2021,0.34973567724227905 +MPI-ESM-LR,rcp45,2022,0.35969817638397217 +MPI-ESM-LR,rcp45,2023,0.37325263023376465 +MPI-ESM-LR,rcp45,2024,0.40298742055892944 +MPI-ESM-LR,rcp45,2025,0.42359596490859985 +MPI-ESM-LR,rcp45,2026,0.4290478825569153 +MPI-ESM-LR,rcp45,2027,0.44053930044174194 +MPI-ESM-LR,rcp45,2028,0.4737638831138611 +MPI-ESM-LR,rcp45,2029,0.5122663974761963 +MPI-ESM-LR,rcp45,2030,0.5459454655647278 +MPI-ESM-LR,rcp45,2031,0.5715771913528442 +MPI-ESM-LR,rcp45,2032,0.5880385041236877 +MPI-ESM-LR,rcp45,2033,0.6153867244720459 +MPI-ESM-LR,rcp45,2034,0.6551771759986877 +MPI-ESM-LR,rcp45,2035,0.6925671696662903 +MPI-ESM-LR,rcp45,2036,0.7127317786216736 +MPI-ESM-LR,rcp45,2037,0.7311186194419861 +MPI-ESM-LR,rcp45,2038,0.7617993950843811 +MPI-ESM-LR,rcp45,2039,0.7764386534690857 +MPI-ESM-LR,rcp45,2040,0.7883558869361877 +MPI-ESM-LR,rcp45,2041,0.8185850977897644 +MPI-ESM-LR,rcp45,2042,0.8507000803947449 +MPI-ESM-LR,rcp45,2043,0.8698895573616028 +MPI-ESM-LR,rcp45,2044,0.864301860332489 +MPI-ESM-LR,rcp45,2045,0.8813778758049011 +MPI-ESM-LR,rcp45,2046,0.9057324528694153 +MPI-ESM-LR,rcp45,2047,0.9127148985862732 +MPI-ESM-LR,rcp45,2048,0.9140271544456482 +MPI-ESM-LR,rcp45,2049,0.9333173632621765 +MPI-ESM-LR,rcp45,2050,0.9411115050315857 +MPI-ESM-LR,rcp45,2051,0.9507032036781311 +MPI-ESM-LR,rcp45,2052,0.9641080498695374 +MPI-ESM-LR,rcp45,2053,0.9896512627601624 +MPI-ESM-LR,rcp45,2054,1.011897087097168 +MPI-ESM-LR,rcp45,2055,1.0203335285186768 +MPI-ESM-LR,rcp45,2056,1.033569097518921 +MPI-ESM-LR,rcp45,2057,1.0508267879486084 +MPI-ESM-LR,rcp45,2058,1.0586285591125488 +MPI-ESM-LR,rcp45,2059,1.0758862495422363 +MPI-ESM-LR,rcp45,2060,1.1049587726593018 +MPI-ESM-LR,rcp45,2061,1.118079662322998 +MPI-ESM-LR,rcp45,2062,1.1114604473114014 +MPI-ESM-LR,rcp45,2063,1.1087794303894043 +MPI-ESM-LR,rcp45,2064,1.1286890506744385 +MPI-ESM-LR,rcp45,2065,1.1529078483581543 +MPI-ESM-LR,rcp45,2066,1.1688594818115234 +MPI-ESM-LR,rcp45,2067,1.1822903156280518 +MPI-ESM-LR,rcp45,2068,1.1922802925109863 +MPI-ESM-LR,rcp45,2069,1.1957898139953613 +MPI-ESM-LR,rcp45,2070,1.204789400100708 +MPI-ESM-LR,rcp45,2071,1.2317745685577393 +MPI-ESM-LR,rcp45,2072,1.2678143978118896 +MPI-ESM-LR,rcp45,2073,1.2684552669525146 +MPI-ESM-LR,rcp45,2074,1.2529370784759521 +MPI-ESM-LR,rcp45,2075,1.2484478950500488 +MPI-ESM-LR,rcp45,2076,1.2616117000579834 +MPI-ESM-LR,rcp45,2077,1.2774503231048584 +MPI-ESM-LR,rcp45,2078,1.2921535968780518 +MPI-ESM-LR,rcp45,2079,1.2992489337921143 +MPI-ESM-LR,rcp45,2080,1.2986066341400146 +MPI-ESM-LR,rcp45,2081,1.30808687210083 +MPI-ESM-LR,rcp45,2082,1.3229429721832275 +MPI-ESM-LR,rcp45,2083,1.3342053890228271 +MPI-ESM-LR,rcp45,2084,1.33744478225708 +MPI-ESM-LR,rcp45,2085,1.3311169147491455 +MPI-ESM-LR,rcp45,2086,1.3360180854797363 +MPI-ESM-LR,rcp45,2087,1.3562955856323242 +MPI-ESM-LR,rcp45,2088,1.371140718460083 +MPI-ESM-LR,rcp45,2089,1.3664653301239014 +MPI-ESM-LR,rcp45,2090,1.3709743022918701 +MPI-ESM-LR,rcp45,2091,1.3757274150848389 +MPI-ESM-LR,rcp45,2092,1.3769207000732422 +MPI-ESM-LR,rcp45,2093,1.3941020965576172 +MPI-ESM-LR,rcp45,2094,1.4112026691436768 +MPI-ESM-LR,rcp45,2095,1.4229350090026855 +MPI-ESM-LR,rcp45,2096,1.4265527725219727 +MPI-ESM-LR,rcp45,2097,1.4339210987091064 +MPI-ESM-LR,rcp45,2098,1.4560847282409668 +MPI-ESM-LR,rcp45,2099,1.4728662967681885 +MPI-ESM-LR,rcp45,2100,1.4693901538848877 +MPI-ESM-LR,rcp85,1981,-0.44545960426330566 +MPI-ESM-LR,rcp85,1982,-0.4232763648033142 +MPI-ESM-LR,rcp85,1983,-0.43583279848098755 +MPI-ESM-LR,rcp85,1984,-0.44478821754455566 +MPI-ESM-LR,rcp85,1985,-0.4342001676559448 +MPI-ESM-LR,rcp85,1986,-0.4244619905948639 +MPI-ESM-LR,rcp85,1987,-0.41723698377609253 +MPI-ESM-LR,rcp85,1988,-0.40838077664375305 +MPI-ESM-LR,rcp85,1989,-0.3826574981212616 +MPI-ESM-LR,rcp85,1990,-0.36142489314079285 +MPI-ESM-LR,rcp85,1991,-0.350156307220459 +MPI-ESM-LR,rcp85,1992,-0.3397238552570343 +MPI-ESM-LR,rcp85,1993,-0.3197562098503113 +MPI-ESM-LR,rcp85,1994,-0.2863013446331024 +MPI-ESM-LR,rcp85,1995,-0.2704383134841919 +MPI-ESM-LR,rcp85,1996,-0.25689154863357544 +MPI-ESM-LR,rcp85,1997,-0.23955298960208893 +MPI-ESM-LR,rcp85,1998,-0.22825534641742706 +MPI-ESM-LR,rcp85,1999,-0.2030813992023468 +MPI-ESM-LR,rcp85,2000,-0.18853214383125305 +MPI-ESM-LR,rcp85,2001,-0.1834234893321991 +MPI-ESM-LR,rcp85,2002,-0.1650824397802353 +MPI-ESM-LR,rcp85,2003,-0.11681585013866425 +MPI-ESM-LR,rcp85,2004,-0.06107550859451294 +MPI-ESM-LR,rcp85,2005,-0.01050172746181488 +MPI-ESM-LR,rcp85,2006,0.0410180389881134 +MPI-ESM-LR,rcp85,2007,0.08289125561714172 +MPI-ESM-LR,rcp85,2008,0.1182413101196289 +MPI-ESM-LR,rcp85,2009,0.14031466841697693 +MPI-ESM-LR,rcp85,2010,0.15443357825279236 +MPI-ESM-LR,rcp85,2011,0.18457430601119995 +MPI-ESM-LR,rcp85,2012,0.22578981518745422 +MPI-ESM-LR,rcp85,2013,0.2566247582435608 +MPI-ESM-LR,rcp85,2014,0.2750055193901062 +MPI-ESM-LR,rcp85,2015,0.2963372468948364 +MPI-ESM-LR,rcp85,2016,0.3273659944534302 +MPI-ESM-LR,rcp85,2017,0.3741663098335266 +MPI-ESM-LR,rcp85,2018,0.4161720871925354 +MPI-ESM-LR,rcp85,2019,0.433280348777771 +MPI-ESM-LR,rcp85,2020,0.45482879877090454 +MPI-ESM-LR,rcp85,2021,0.4745293855667114 +MPI-ESM-LR,rcp85,2022,0.4919458031654358 +MPI-ESM-LR,rcp85,2023,0.5093453526496887 +MPI-ESM-LR,rcp85,2024,0.539656937122345 +MPI-ESM-LR,rcp85,2025,0.5606439709663391 +MPI-ESM-LR,rcp85,2026,0.5647820234298706 +MPI-ESM-LR,rcp85,2027,0.5745522379875183 +MPI-ESM-LR,rcp85,2028,0.5970390439033508 +MPI-ESM-LR,rcp85,2029,0.6266731023788452 +MPI-ESM-LR,rcp85,2030,0.669478714466095 +MPI-ESM-LR,rcp85,2031,0.6978402137756348 +MPI-ESM-LR,rcp85,2032,0.7119455337524414 +MPI-ESM-LR,rcp85,2033,0.7442575097084045 +MPI-ESM-LR,rcp85,2034,0.8042886853218079 +MPI-ESM-LR,rcp85,2035,0.8403878808021545 +MPI-ESM-LR,rcp85,2036,0.8642221093177795 +MPI-ESM-LR,rcp85,2037,0.878452479839325 +MPI-ESM-LR,rcp85,2038,0.9036310315132141 +MPI-ESM-LR,rcp85,2039,0.9466181397438049 +MPI-ESM-LR,rcp85,2040,0.983866274356842 +MPI-ESM-LR,rcp85,2041,1.0291423797607422 +MPI-ESM-LR,rcp85,2042,1.0770883560180664 +MPI-ESM-LR,rcp85,2043,1.1214182376861572 +MPI-ESM-LR,rcp85,2044,1.1514887809753418 +MPI-ESM-LR,rcp85,2045,1.1931605339050293 +MPI-ESM-LR,rcp85,2046,1.2505884170532227 +MPI-ESM-LR,rcp85,2047,1.2962427139282227 +MPI-ESM-LR,rcp85,2048,1.3295526504516602 +MPI-ESM-LR,rcp85,2049,1.3664162158966064 +MPI-ESM-LR,rcp85,2050,1.4093942642211914 +MPI-ESM-LR,rcp85,2051,1.4430627822875977 +MPI-ESM-LR,rcp85,2052,1.4857187271118164 +MPI-ESM-LR,rcp85,2053,1.5229883193969727 +MPI-ESM-LR,rcp85,2054,1.544419288635254 +MPI-ESM-LR,rcp85,2055,1.5936071872711182 +MPI-ESM-LR,rcp85,2056,1.6398751735687256 +MPI-ESM-LR,rcp85,2057,1.6784095764160156 +MPI-ESM-LR,rcp85,2058,1.7149405479431152 +MPI-ESM-LR,rcp85,2059,1.7624948024749756 +MPI-ESM-LR,rcp85,2060,1.820441484451294 +MPI-ESM-LR,rcp85,2061,1.863727331161499 +MPI-ESM-LR,rcp85,2062,1.8986897468566895 +MPI-ESM-LR,rcp85,2063,1.9539787769317627 +MPI-ESM-LR,rcp85,2064,2.0119240283966064 +MPI-ESM-LR,rcp85,2065,2.042644739151001 +MPI-ESM-LR,rcp85,2066,2.074265480041504 +MPI-ESM-LR,rcp85,2067,2.1314003467559814 +MPI-ESM-LR,rcp85,2068,2.1934778690338135 +MPI-ESM-LR,rcp85,2069,2.2524940967559814 +MPI-ESM-LR,rcp85,2070,2.2827858924865723 +MPI-ESM-LR,rcp85,2071,2.3138985633850098 +MPI-ESM-LR,rcp85,2072,2.3615334033966064 +MPI-ESM-LR,rcp85,2073,2.4070637226104736 +MPI-ESM-LR,rcp85,2074,2.455970048904419 +MPI-ESM-LR,rcp85,2075,2.514531373977661 +MPI-ESM-LR,rcp85,2076,2.575721025466919 +MPI-ESM-LR,rcp85,2077,2.6387338638305664 +MPI-ESM-LR,rcp85,2078,2.7030999660491943 +MPI-ESM-LR,rcp85,2079,2.7600338459014893 +MPI-ESM-LR,rcp85,2080,2.803826332092285 +MPI-ESM-LR,rcp85,2081,2.858201265335083 +MPI-ESM-LR,rcp85,2082,2.920386791229248 +MPI-ESM-LR,rcp85,2083,2.9647412300109863 +MPI-ESM-LR,rcp85,2084,3.0094292163848877 +MPI-ESM-LR,rcp85,2085,3.0714852809906006 +MPI-ESM-LR,rcp85,2086,3.122321128845215 +MPI-ESM-LR,rcp85,2087,3.164992332458496 +MPI-ESM-LR,rcp85,2088,3.219484567642212 +MPI-ESM-LR,rcp85,2089,3.2613472938537598 +MPI-ESM-LR,rcp85,2090,3.317755699157715 +MPI-ESM-LR,rcp85,2091,3.3855199813842773 +MPI-ESM-LR,rcp85,2092,3.431232213973999 +MPI-ESM-LR,rcp85,2093,3.4761221408843994 +MPI-ESM-LR,rcp85,2094,3.518195152282715 +MPI-ESM-LR,rcp85,2095,3.5595860481262207 +MPI-ESM-LR,rcp85,2096,3.6017308235168457 +MPI-ESM-LR,rcp85,2097,3.6560444831848145 +MPI-ESM-LR,rcp85,2098,3.7104618549346924 +MPI-ESM-LR,rcp85,2099,3.7405035495758057 +MPI-ESM-LR,rcp85,2100,3.777898073196411 +MPI-ESM-MR,rcp45,1981,-0.5693871974945068 +MPI-ESM-MR,rcp45,1982,-0.5489526987075806 +MPI-ESM-MR,rcp45,1983,-0.5475733280181885 +MPI-ESM-MR,rcp45,1984,-0.5379053354263306 +MPI-ESM-MR,rcp45,1985,-0.5256769061088562 +MPI-ESM-MR,rcp45,1986,-0.5213891863822937 +MPI-ESM-MR,rcp45,1987,-0.5012063980102539 +MPI-ESM-MR,rcp45,1988,-0.4626932442188263 +MPI-ESM-MR,rcp45,1989,-0.43992558121681213 +MPI-ESM-MR,rcp45,1990,-0.4120614528656006 +MPI-ESM-MR,rcp45,1991,-0.38337796926498413 +MPI-ESM-MR,rcp45,1992,-0.35488831996917725 +MPI-ESM-MR,rcp45,1993,-0.3270043730735779 +MPI-ESM-MR,rcp45,1994,-0.2963692843914032 +MPI-ESM-MR,rcp45,1995,-0.26573118567466736 +MPI-ESM-MR,rcp45,1996,-0.24104857444763184 +MPI-ESM-MR,rcp45,1997,-0.2145395278930664 +MPI-ESM-MR,rcp45,1998,-0.1854623705148697 +MPI-ESM-MR,rcp45,1999,-0.1472650170326233 +MPI-ESM-MR,rcp45,2000,-0.1250634640455246 +MPI-ESM-MR,rcp45,2001,-0.10567107796669006 +MPI-ESM-MR,rcp45,2002,-0.08670592308044434 +MPI-ESM-MR,rcp45,2003,-0.0579659640789032 +MPI-ESM-MR,rcp45,2004,-0.033138424158096313 +MPI-ESM-MR,rcp45,2005,-0.009855076670646667 +MPI-ESM-MR,rcp45,2006,0.015740007162094116 +MPI-ESM-MR,rcp45,2007,0.04050961136817932 +MPI-ESM-MR,rcp45,2008,0.058833926916122437 +MPI-ESM-MR,rcp45,2009,0.08151307702064514 +MPI-ESM-MR,rcp45,2010,0.09673982858657837 +MPI-ESM-MR,rcp45,2011,0.10663363337516785 +MPI-ESM-MR,rcp45,2012,0.1202215850353241 +MPI-ESM-MR,rcp45,2013,0.13949492573738098 +MPI-ESM-MR,rcp45,2014,0.16394105553627014 +MPI-ESM-MR,rcp45,2015,0.18593353033065796 +MPI-ESM-MR,rcp45,2016,0.20766204595565796 +MPI-ESM-MR,rcp45,2017,0.23413148522377014 +MPI-ESM-MR,rcp45,2018,0.25847840309143066 +MPI-ESM-MR,rcp45,2019,0.27520662546157837 +MPI-ESM-MR,rcp45,2020,0.2980261445045471 +MPI-ESM-MR,rcp45,2021,0.3169729709625244 +MPI-ESM-MR,rcp45,2022,0.33823609352111816 +MPI-ESM-MR,rcp45,2023,0.36324524879455566 +MPI-ESM-MR,rcp45,2024,0.3897009491920471 +MPI-ESM-MR,rcp45,2025,0.412850022315979 +MPI-ESM-MR,rcp45,2026,0.42886871099472046 +MPI-ESM-MR,rcp45,2027,0.4459570646286011 +MPI-ESM-MR,rcp45,2028,0.4611440896987915 +MPI-ESM-MR,rcp45,2029,0.47590696811676025 +MPI-ESM-MR,rcp45,2030,0.49375367164611816 +MPI-ESM-MR,rcp45,2031,0.5211416482925415 +MPI-ESM-MR,rcp45,2032,0.5461950898170471 +MPI-ESM-MR,rcp45,2033,0.5677648782730103 +MPI-ESM-MR,rcp45,2034,0.5916524529457092 +MPI-ESM-MR,rcp45,2035,0.616921067237854 +MPI-ESM-MR,rcp45,2036,0.6422048807144165 +MPI-ESM-MR,rcp45,2037,0.6605093479156494 +MPI-ESM-MR,rcp45,2038,0.6808264255523682 +MPI-ESM-MR,rcp45,2039,0.6990927457809448 +MPI-ESM-MR,rcp45,2040,0.7226248383522034 +MPI-ESM-MR,rcp45,2041,0.757515549659729 +MPI-ESM-MR,rcp45,2042,0.7909460067749023 +MPI-ESM-MR,rcp45,2043,0.8204305171966553 +MPI-ESM-MR,rcp45,2044,0.8445639610290527 +MPI-ESM-MR,rcp45,2045,0.8662527799606323 +MPI-ESM-MR,rcp45,2046,0.8931875228881836 +MPI-ESM-MR,rcp45,2047,0.9185980558395386 +MPI-ESM-MR,rcp45,2048,0.937721848487854 +MPI-ESM-MR,rcp45,2049,0.9552068710327148 +MPI-ESM-MR,rcp45,2050,0.9872229099273682 +MPI-ESM-MR,rcp45,2051,1.0103399753570557 +MPI-ESM-MR,rcp45,2052,1.0388144254684448 +MPI-ESM-MR,rcp45,2053,1.0689826011657715 +MPI-ESM-MR,rcp45,2054,1.091683030128479 +MPI-ESM-MR,rcp45,2055,1.1051199436187744 +MPI-ESM-MR,rcp45,2056,1.1245825290679932 +MPI-ESM-MR,rcp45,2057,1.150008201599121 +MPI-ESM-MR,rcp45,2058,1.1755926609039307 +MPI-ESM-MR,rcp45,2059,1.1815603971481323 +MPI-ESM-MR,rcp45,2060,1.1828848123550415 +MPI-ESM-MR,rcp45,2061,1.182767391204834 +MPI-ESM-MR,rcp45,2062,1.1860692501068115 +MPI-ESM-MR,rcp45,2063,1.182906150817871 +MPI-ESM-MR,rcp45,2064,1.1908055543899536 +MPI-ESM-MR,rcp45,2065,1.2062582969665527 +MPI-ESM-MR,rcp45,2066,1.2276846170425415 +MPI-ESM-MR,rcp45,2067,1.2417089939117432 +MPI-ESM-MR,rcp45,2068,1.2547521591186523 +MPI-ESM-MR,rcp45,2069,1.2772345542907715 +MPI-ESM-MR,rcp45,2070,1.2813268899917603 +MPI-ESM-MR,rcp45,2071,1.2818350791931152 +MPI-ESM-MR,rcp45,2072,1.2877936363220215 +MPI-ESM-MR,rcp45,2073,1.2970952987670898 +MPI-ESM-MR,rcp45,2074,1.3037878274917603 +MPI-ESM-MR,rcp45,2075,1.316190242767334 +MPI-ESM-MR,rcp45,2076,1.3186025619506836 +MPI-ESM-MR,rcp45,2077,1.3196524381637573 +MPI-ESM-MR,rcp45,2078,1.3170995712280273 +MPI-ESM-MR,rcp45,2079,1.3415518999099731 +MPI-ESM-MR,rcp45,2080,1.3598791360855103 +MPI-ESM-MR,rcp45,2081,1.373726487159729 +MPI-ESM-MR,rcp45,2082,1.389981746673584 +MPI-ESM-MR,rcp45,2083,1.413693904876709 +MPI-ESM-MR,rcp45,2084,1.4189047813415527 +MPI-ESM-MR,rcp45,2085,1.4155569076538086 +MPI-ESM-MR,rcp45,2086,1.4088263511657715 +MPI-ESM-MR,rcp45,2087,1.4121906757354736 +MPI-ESM-MR,rcp45,2088,1.4244390726089478 +MPI-ESM-MR,rcp45,2089,1.443515658378601 +MPI-ESM-MR,rcp45,2090,1.4494376182556152 +MPI-ESM-MR,rcp45,2091,1.4534720182418823 +MPI-ESM-MR,rcp45,2092,1.4638160467147827 +MPI-ESM-MR,rcp45,2093,1.4711501598358154 +MPI-ESM-MR,rcp45,2094,1.4783085584640503 +MPI-ESM-MR,rcp45,2095,1.4852910041809082 +MPI-ESM-MR,rcp45,2096,1.4920977354049683 +MPI-ESM-MR,rcp45,2097,1.498728632926941 +MPI-ESM-MR,rcp45,2098,1.5051836967468262 +MPI-ESM-MR,rcp45,2099,1.5114630460739136 +MPI-ESM-MR,rcp45,2100,1.517566442489624 +MPI-ESM-MR,rcp85,1981,-0.5580188035964966 +MPI-ESM-MR,rcp85,1982,-0.5375842452049255 +MPI-ESM-MR,rcp85,1983,-0.5362048745155334 +MPI-ESM-MR,rcp85,1984,-0.5265368819236755 +MPI-ESM-MR,rcp85,1985,-0.5143084526062012 +MPI-ESM-MR,rcp85,1986,-0.5100207328796387 +MPI-ESM-MR,rcp85,1987,-0.4898379445075989 +MPI-ESM-MR,rcp85,1988,-0.45132482051849365 +MPI-ESM-MR,rcp85,1989,-0.4285571575164795 +MPI-ESM-MR,rcp85,1990,-0.40069302916526794 +MPI-ESM-MR,rcp85,1991,-0.3720095157623291 +MPI-ESM-MR,rcp85,1992,-0.3435198664665222 +MPI-ESM-MR,rcp85,1993,-0.31563591957092285 +MPI-ESM-MR,rcp85,1994,-0.28500083088874817 +MPI-ESM-MR,rcp85,1995,-0.25436273217201233 +MPI-ESM-MR,rcp85,1996,-0.229680135846138 +MPI-ESM-MR,rcp85,1997,-0.1985110342502594 +MPI-ESM-MR,rcp85,1998,-0.17470428347587585 +MPI-ESM-MR,rcp85,1999,-0.15042144060134888 +MPI-ESM-MR,rcp85,2000,-0.13139678537845612 +MPI-ESM-MR,rcp85,2001,-0.12072478979825974 +MPI-ESM-MR,rcp85,2002,-0.10695219039916992 +MPI-ESM-MR,rcp85,2003,-0.07373988628387451 +MPI-ESM-MR,rcp85,2004,-0.04578429460525513 +MPI-ESM-MR,rcp85,2005,-0.015527650713920593 +MPI-ESM-MR,rcp85,2006,0.01547364890575409 +MPI-ESM-MR,rcp85,2007,0.046850308775901794 +MPI-ESM-MR,rcp85,2008,0.07691313326358795 +MPI-ESM-MR,rcp85,2009,0.10216490924358368 +MPI-ESM-MR,rcp85,2010,0.12132690846920013 +MPI-ESM-MR,rcp85,2011,0.1386212259531021 +MPI-ESM-MR,rcp85,2012,0.16008271276950836 +MPI-ESM-MR,rcp85,2013,0.19094513356685638 +MPI-ESM-MR,rcp85,2014,0.22201959788799286 +MPI-ESM-MR,rcp85,2015,0.2503414750099182 +MPI-ESM-MR,rcp85,2016,0.2709621787071228 +MPI-ESM-MR,rcp85,2017,0.29242974519729614 +MPI-ESM-MR,rcp85,2018,0.32599908113479614 +MPI-ESM-MR,rcp85,2019,0.35885584354400635 +MPI-ESM-MR,rcp85,2020,0.3955288529396057 +MPI-ESM-MR,rcp85,2021,0.43142980337142944 +MPI-ESM-MR,rcp85,2022,0.4579998254776001 +MPI-ESM-MR,rcp85,2023,0.48615849018096924 +MPI-ESM-MR,rcp85,2024,0.5143536925315857 +MPI-ESM-MR,rcp85,2025,0.5328809022903442 +MPI-ESM-MR,rcp85,2026,0.5515515804290771 +MPI-ESM-MR,rcp85,2027,0.5682095289230347 +MPI-ESM-MR,rcp85,2028,0.5750516057014465 +MPI-ESM-MR,rcp85,2029,0.5924893617630005 +MPI-ESM-MR,rcp85,2030,0.6210828423500061 +MPI-ESM-MR,rcp85,2031,0.6537625789642334 +MPI-ESM-MR,rcp85,2032,0.6813916563987732 +MPI-ESM-MR,rcp85,2033,0.7042401432991028 +MPI-ESM-MR,rcp85,2034,0.7322766780853271 +MPI-ESM-MR,rcp85,2035,0.7699109315872192 +MPI-ESM-MR,rcp85,2036,0.8122418522834778 +MPI-ESM-MR,rcp85,2037,0.8464214205741882 +MPI-ESM-MR,rcp85,2038,0.8691052794456482 +MPI-ESM-MR,rcp85,2039,0.8933317065238953 +MPI-ESM-MR,rcp85,2040,0.9183194041252136 +MPI-ESM-MR,rcp85,2041,0.9526821970939636 +MPI-ESM-MR,rcp85,2042,0.9952146410942078 +MPI-ESM-MR,rcp85,2043,1.0323621034622192 +MPI-ESM-MR,rcp85,2044,1.083909273147583 +MPI-ESM-MR,rcp85,2045,1.1350475549697876 +MPI-ESM-MR,rcp85,2046,1.1773571968078613 +MPI-ESM-MR,rcp85,2047,1.2204312086105347 +MPI-ESM-MR,rcp85,2048,1.2662549018859863 +MPI-ESM-MR,rcp85,2049,1.3174968957901 +MPI-ESM-MR,rcp85,2050,1.3769680261611938 +MPI-ESM-MR,rcp85,2051,1.4266537427902222 +MPI-ESM-MR,rcp85,2052,1.466288447380066 +MPI-ESM-MR,rcp85,2053,1.5216549634933472 +MPI-ESM-MR,rcp85,2054,1.5767208337783813 +MPI-ESM-MR,rcp85,2055,1.6179471015930176 +MPI-ESM-MR,rcp85,2056,1.6592234373092651 +MPI-ESM-MR,rcp85,2057,1.7110865116119385 +MPI-ESM-MR,rcp85,2058,1.7665400505065918 +MPI-ESM-MR,rcp85,2059,1.813630223274231 +MPI-ESM-MR,rcp85,2060,1.8682810068130493 +MPI-ESM-MR,rcp85,2061,1.918270468711853 +MPI-ESM-MR,rcp85,2062,1.9722284078598022 +MPI-ESM-MR,rcp85,2063,2.023695230484009 +MPI-ESM-MR,rcp85,2064,2.0625712871551514 +MPI-ESM-MR,rcp85,2065,2.110013961791992 +MPI-ESM-MR,rcp85,2066,2.167030096054077 +MPI-ESM-MR,rcp85,2067,2.2143919467926025 +MPI-ESM-MR,rcp85,2068,2.2704176902770996 +MPI-ESM-MR,rcp85,2069,2.3286709785461426 +MPI-ESM-MR,rcp85,2070,2.368520975112915 +MPI-ESM-MR,rcp85,2071,2.40077805519104 +MPI-ESM-MR,rcp85,2072,2.448948383331299 +MPI-ESM-MR,rcp85,2073,2.484837055206299 +MPI-ESM-MR,rcp85,2074,2.513432025909424 +MPI-ESM-MR,rcp85,2075,2.547091484069824 +MPI-ESM-MR,rcp85,2076,2.592410087585449 +MPI-ESM-MR,rcp85,2077,2.6339735984802246 +MPI-ESM-MR,rcp85,2078,2.682852029800415 +MPI-ESM-MR,rcp85,2079,2.7327771186828613 +MPI-ESM-MR,rcp85,2080,2.7691311836242676 +MPI-ESM-MR,rcp85,2081,2.812748432159424 +MPI-ESM-MR,rcp85,2082,2.864445209503174 +MPI-ESM-MR,rcp85,2083,2.915627956390381 +MPI-ESM-MR,rcp85,2084,2.9572997093200684 +MPI-ESM-MR,rcp85,2085,2.990447759628296 +MPI-ESM-MR,rcp85,2086,3.023904323577881 +MPI-ESM-MR,rcp85,2087,3.075971841812134 +MPI-ESM-MR,rcp85,2088,3.130924701690674 +MPI-ESM-MR,rcp85,2089,3.1887495517730713 +MPI-ESM-MR,rcp85,2090,3.233895778656006 +MPI-ESM-MR,rcp85,2091,3.2924787998199463 +MPI-ESM-MR,rcp85,2092,3.3357269763946533 +MPI-ESM-MR,rcp85,2093,3.3872132301330566 +MPI-ESM-MR,rcp85,2094,3.4393422603607178 +MPI-ESM-MR,rcp85,2095,3.4921138286590576 +MPI-ESM-MR,rcp85,2096,3.545527696609497 +MPI-ESM-MR,rcp85,2097,3.5995843410491943 +MPI-ESM-MR,rcp85,2098,3.6542835235595703 +MPI-ESM-MR,rcp85,2099,3.709625244140625 +MPI-ESM-MR,rcp85,2100,3.7656095027923584 +MRI-CGCM3,rcp45,1981,-0.20066329836845398 +MRI-CGCM3,rcp45,1982,-0.19453385472297668 +MRI-CGCM3,rcp45,1983,-0.19942735135555267 +MRI-CGCM3,rcp45,1984,-0.1957133412361145 +MRI-CGCM3,rcp45,1985,-0.19409438967704773 +MRI-CGCM3,rcp45,1986,-0.18908490240573883 +MRI-CGCM3,rcp45,1987,-0.18659774959087372 +MRI-CGCM3,rcp45,1988,-0.18805953860282898 +MRI-CGCM3,rcp45,1989,-0.18321333825588226 +MRI-CGCM3,rcp45,1990,-0.1829768419265747 +MRI-CGCM3,rcp45,1991,-0.1752558946609497 +MRI-CGCM3,rcp45,1992,-0.169799342751503 +MRI-CGCM3,rcp45,1993,-0.16274525225162506 +MRI-CGCM3,rcp45,1994,-0.15227314829826355 +MRI-CGCM3,rcp45,1995,-0.14445149898529053 +MRI-CGCM3,rcp45,1996,-0.1355372965335846 +MRI-CGCM3,rcp45,1997,-0.12001150101423264 +MRI-CGCM3,rcp45,1998,-0.11236989498138428 +MRI-CGCM3,rcp45,1999,-0.0965663492679596 +MRI-CGCM3,rcp45,2000,-0.0861843004822731 +MRI-CGCM3,rcp45,2001,-0.07872729748487473 +MRI-CGCM3,rcp45,2002,-0.06665914505720139 +MRI-CGCM3,rcp45,2003,-0.047388799488544464 +MRI-CGCM3,rcp45,2004,-0.02892564982175827 +MRI-CGCM3,rcp45,2005,0.0016484111547470093 +MRI-CGCM3,rcp45,2006,0.017041444778442383 +MRI-CGCM3,rcp45,2007,0.02712450921535492 +MRI-CGCM3,rcp45,2008,0.04407548904418945 +MRI-CGCM3,rcp45,2009,0.05614064633846283 +MRI-CGCM3,rcp45,2010,0.07567036151885986 +MRI-CGCM3,rcp45,2011,0.08926595747470856 +MRI-CGCM3,rcp45,2012,0.1125188022851944 +MRI-CGCM3,rcp45,2013,0.13333943486213684 +MRI-CGCM3,rcp45,2014,0.15155231952667236 +MRI-CGCM3,rcp45,2015,0.17019855976104736 +MRI-CGCM3,rcp45,2016,0.19533583521842957 +MRI-CGCM3,rcp45,2017,0.22417494654655457 +MRI-CGCM3,rcp45,2018,0.2492283582687378 +MRI-CGCM3,rcp45,2019,0.2737797200679779 +MRI-CGCM3,rcp45,2020,0.2969593405723572 +MRI-CGCM3,rcp45,2021,0.31900373101234436 +MRI-CGCM3,rcp45,2022,0.34394726157188416 +MRI-CGCM3,rcp45,2023,0.37498363852500916 +MRI-CGCM3,rcp45,2024,0.39335671067237854 +MRI-CGCM3,rcp45,2025,0.40711554884910583 +MRI-CGCM3,rcp45,2026,0.42831459641456604 +MRI-CGCM3,rcp45,2027,0.4536990821361542 +MRI-CGCM3,rcp45,2028,0.47224459052085876 +MRI-CGCM3,rcp45,2029,0.49860110878944397 +MRI-CGCM3,rcp45,2030,0.5212283134460449 +MRI-CGCM3,rcp45,2031,0.5485401153564453 +MRI-CGCM3,rcp45,2032,0.5672656297683716 +MRI-CGCM3,rcp45,2033,0.5787464380264282 +MRI-CGCM3,rcp45,2034,0.590213418006897 +MRI-CGCM3,rcp45,2035,0.6070575714111328 +MRI-CGCM3,rcp45,2036,0.6122698783874512 +MRI-CGCM3,rcp45,2037,0.6244602203369141 +MRI-CGCM3,rcp45,2038,0.6453174352645874 +MRI-CGCM3,rcp45,2039,0.6669803857803345 +MRI-CGCM3,rcp45,2040,0.6839115619659424 +MRI-CGCM3,rcp45,2041,0.7101811170578003 +MRI-CGCM3,rcp45,2042,0.7327793836593628 +MRI-CGCM3,rcp45,2043,0.7560795545578003 +MRI-CGCM3,rcp45,2044,0.7758702039718628 +MRI-CGCM3,rcp45,2045,0.795738697052002 +MRI-CGCM3,rcp45,2046,0.8224384784698486 +MRI-CGCM3,rcp45,2047,0.8449207544326782 +MRI-CGCM3,rcp45,2048,0.8612065315246582 +MRI-CGCM3,rcp45,2049,0.8733721971511841 +MRI-CGCM3,rcp45,2050,0.8864598274230957 +MRI-CGCM3,rcp45,2051,0.8985234498977661 +MRI-CGCM3,rcp45,2052,0.9104725122451782 +MRI-CGCM3,rcp45,2053,0.9307224750518799 +MRI-CGCM3,rcp45,2054,0.9509540796279907 +MRI-CGCM3,rcp45,2055,0.9731693267822266 +MRI-CGCM3,rcp45,2056,0.9960604906082153 +MRI-CGCM3,rcp45,2057,1.0043690204620361 +MRI-CGCM3,rcp45,2058,1.0107395648956299 +MRI-CGCM3,rcp45,2059,1.018069863319397 +MRI-CGCM3,rcp45,2060,1.0320454835891724 +MRI-CGCM3,rcp45,2061,1.0407520532608032 +MRI-CGCM3,rcp45,2062,1.0478153228759766 +MRI-CGCM3,rcp45,2063,1.0598591566085815 +MRI-CGCM3,rcp45,2064,1.0799397230148315 +MRI-CGCM3,rcp45,2065,1.0972446203231812 +MRI-CGCM3,rcp45,2066,1.1107319593429565 +MRI-CGCM3,rcp45,2067,1.1217182874679565 +MRI-CGCM3,rcp45,2068,1.146996021270752 +MRI-CGCM3,rcp45,2069,1.1682789325714111 +MRI-CGCM3,rcp45,2070,1.187218189239502 +MRI-CGCM3,rcp45,2071,1.2034932374954224 +MRI-CGCM3,rcp45,2072,1.230797290802002 +MRI-CGCM3,rcp45,2073,1.2506475448608398 +MRI-CGCM3,rcp45,2074,1.2740375995635986 +MRI-CGCM3,rcp45,2075,1.286731481552124 +MRI-CGCM3,rcp45,2076,1.3013920783996582 +MRI-CGCM3,rcp45,2077,1.3322348594665527 +MRI-CGCM3,rcp45,2078,1.3516379594802856 +MRI-CGCM3,rcp45,2079,1.3667975664138794 +MRI-CGCM3,rcp45,2080,1.3848882913589478 +MRI-CGCM3,rcp45,2081,1.401267170906067 +MRI-CGCM3,rcp45,2082,1.4162801504135132 +MRI-CGCM3,rcp45,2083,1.430794358253479 +MRI-CGCM3,rcp45,2084,1.4448338747024536 +MRI-CGCM3,rcp45,2085,1.4594413042068481 +MRI-CGCM3,rcp45,2086,1.471213459968567 +MRI-CGCM3,rcp45,2087,1.487735629081726 +MRI-CGCM3,rcp45,2088,1.491086483001709 +MRI-CGCM3,rcp45,2089,1.5019400119781494 +MRI-CGCM3,rcp45,2090,1.518462061882019 +MRI-CGCM3,rcp45,2091,1.5452200174331665 +MRI-CGCM3,rcp45,2092,1.5430396795272827 +MRI-CGCM3,rcp45,2093,1.5527790784835815 +MRI-CGCM3,rcp45,2094,1.5619547367095947 +MRI-CGCM3,rcp45,2095,1.5705667734146118 +MRI-CGCM3,rcp45,2096,1.5786151885986328 +MRI-CGCM3,rcp45,2097,1.5860998630523682 +MRI-CGCM3,rcp45,2098,1.5930207967758179 +MRI-CGCM3,rcp45,2099,1.5993781089782715 +MRI-CGCM3,rcp45,2100,1.6051716804504395 +MRI-CGCM3,rcp85,1981,-0.19541501998901367 +MRI-CGCM3,rcp85,1982,-0.18928557634353638 +MRI-CGCM3,rcp85,1983,-0.19417907297611237 +MRI-CGCM3,rcp85,1984,-0.1904650628566742 +MRI-CGCM3,rcp85,1985,-0.18884611129760742 +MRI-CGCM3,rcp85,1986,-0.18383662402629852 +MRI-CGCM3,rcp85,1987,-0.1813494712114334 +MRI-CGCM3,rcp85,1988,-0.18281126022338867 +MRI-CGCM3,rcp85,1989,-0.17796505987644196 +MRI-CGCM3,rcp85,1990,-0.1777285635471344 +MRI-CGCM3,rcp85,1991,-0.1700076162815094 +MRI-CGCM3,rcp85,1992,-0.16455106437206268 +MRI-CGCM3,rcp85,1993,-0.15749697387218475 +MRI-CGCM3,rcp85,1994,-0.14702486991882324 +MRI-CGCM3,rcp85,1995,-0.13920322060585022 +MRI-CGCM3,rcp85,1996,-0.1302890181541443 +MRI-CGCM3,rcp85,1997,-0.11409641802310944 +MRI-CGCM3,rcp85,1998,-0.10191531479358673 +MRI-CGCM3,rcp85,1999,-0.07957951724529266 +MRI-CGCM3,rcp85,2000,-0.07235446572303772 +MRI-CGCM3,rcp85,2001,-0.07296481728553772 +MRI-CGCM3,rcp85,2002,-0.07290071249008179 +MRI-CGCM3,rcp85,2003,-0.05541261285543442 +MRI-CGCM3,rcp85,2004,-0.03293031454086304 +MRI-CGCM3,rcp85,2005,-0.005354627966880798 +MRI-CGCM3,rcp85,2006,0.00849422812461853 +MRI-CGCM3,rcp85,2007,0.02488371729850769 +MRI-CGCM3,rcp85,2008,0.04999816417694092 +MRI-CGCM3,rcp85,2009,0.0658368319272995 +MRI-CGCM3,rcp85,2010,0.09035006165504456 +MRI-CGCM3,rcp85,2011,0.1085461676120758 +MRI-CGCM3,rcp85,2012,0.12763336300849915 +MRI-CGCM3,rcp85,2013,0.14738282561302185 +MRI-CGCM3,rcp85,2014,0.16465425491333008 +MRI-CGCM3,rcp85,2015,0.1806637942790985 +MRI-CGCM3,rcp85,2016,0.194463849067688 +MRI-CGCM3,rcp85,2017,0.21996435523033142 +MRI-CGCM3,rcp85,2018,0.24560213088989258 +MRI-CGCM3,rcp85,2019,0.2614346742630005 +MRI-CGCM3,rcp85,2020,0.2928418219089508 +MRI-CGCM3,rcp85,2021,0.3324902653694153 +MRI-CGCM3,rcp85,2022,0.365545392036438 +MRI-CGCM3,rcp85,2023,0.3995968699455261 +MRI-CGCM3,rcp85,2024,0.420171856880188 +MRI-CGCM3,rcp85,2025,0.4395565986633301 +MRI-CGCM3,rcp85,2026,0.46346110105514526 +MRI-CGCM3,rcp85,2027,0.4893643260002136 +MRI-CGCM3,rcp85,2028,0.5056270956993103 +MRI-CGCM3,rcp85,2029,0.5366207957267761 +MRI-CGCM3,rcp85,2030,0.5645779371261597 +MRI-CGCM3,rcp85,2031,0.5921291708946228 +MRI-CGCM3,rcp85,2032,0.6261791586875916 +MRI-CGCM3,rcp85,2033,0.6572903990745544 +MRI-CGCM3,rcp85,2034,0.6919431090354919 +MRI-CGCM3,rcp85,2035,0.7277295589447021 +MRI-CGCM3,rcp85,2036,0.7708798050880432 +MRI-CGCM3,rcp85,2037,0.8057766556739807 +MRI-CGCM3,rcp85,2038,0.8356503248214722 +MRI-CGCM3,rcp85,2039,0.8781124949455261 +MRI-CGCM3,rcp85,2040,0.9102047085762024 +MRI-CGCM3,rcp85,2041,0.9406688809394836 +MRI-CGCM3,rcp85,2042,0.9817379117012024 +MRI-CGCM3,rcp85,2043,1.0173656940460205 +MRI-CGCM3,rcp85,2044,1.0575802326202393 +MRI-CGCM3,rcp85,2045,1.1014173030853271 +MRI-CGCM3,rcp85,2046,1.151296615600586 +MRI-CGCM3,rcp85,2047,1.196035385131836 +MRI-CGCM3,rcp85,2048,1.252091646194458 +MRI-CGCM3,rcp85,2049,1.295299768447876 +MRI-CGCM3,rcp85,2050,1.3351376056671143 +MRI-CGCM3,rcp85,2051,1.3829035758972168 +MRI-CGCM3,rcp85,2052,1.4313533306121826 +MRI-CGCM3,rcp85,2053,1.4763362407684326 +MRI-CGCM3,rcp85,2054,1.523275375366211 +MRI-CGCM3,rcp85,2055,1.5716443061828613 +MRI-CGCM3,rcp85,2056,1.6104838848114014 +MRI-CGCM3,rcp85,2057,1.6596920490264893 +MRI-CGCM3,rcp85,2058,1.7139019966125488 +MRI-CGCM3,rcp85,2059,1.7528789043426514 +MRI-CGCM3,rcp85,2060,1.7955684661865234 +MRI-CGCM3,rcp85,2061,1.8396785259246826 +MRI-CGCM3,rcp85,2062,1.8850445747375488 +MRI-CGCM3,rcp85,2063,1.9325833320617676 +MRI-CGCM3,rcp85,2064,1.9801311492919922 +MRI-CGCM3,rcp85,2065,2.030399799346924 +MRI-CGCM3,rcp85,2066,2.070791244506836 +MRI-CGCM3,rcp85,2067,2.108881711959839 +MRI-CGCM3,rcp85,2068,2.1412594318389893 +MRI-CGCM3,rcp85,2069,2.175509214401245 +MRI-CGCM3,rcp85,2070,2.22015643119812 +MRI-CGCM3,rcp85,2071,2.258945941925049 +MRI-CGCM3,rcp85,2072,2.287724018096924 +MRI-CGCM3,rcp85,2073,2.325873851776123 +MRI-CGCM3,rcp85,2074,2.3614680767059326 +MRI-CGCM3,rcp85,2075,2.4041545391082764 +MRI-CGCM3,rcp85,2076,2.445145845413208 +MRI-CGCM3,rcp85,2077,2.480668306350708 +MRI-CGCM3,rcp85,2078,2.5154385566711426 +MRI-CGCM3,rcp85,2079,2.55896258354187 +MRI-CGCM3,rcp85,2080,2.606078624725342 +MRI-CGCM3,rcp85,2081,2.656092405319214 +MRI-CGCM3,rcp85,2082,2.70219087600708 +MRI-CGCM3,rcp85,2083,2.7470240592956543 +MRI-CGCM3,rcp85,2084,2.790147066116333 +MRI-CGCM3,rcp85,2085,2.8294215202331543 +MRI-CGCM3,rcp85,2086,2.8755595684051514 +MRI-CGCM3,rcp85,2087,2.922759532928467 +MRI-CGCM3,rcp85,2088,2.9751293659210205 +MRI-CGCM3,rcp85,2089,3.0274899005889893 +MRI-CGCM3,rcp85,2090,3.0730814933776855 +MRI-CGCM3,rcp85,2091,3.1302287578582764 +MRI-CGCM3,rcp85,2092,3.178391933441162 +MRI-CGCM3,rcp85,2093,3.2308003902435303 +MRI-CGCM3,rcp85,2094,3.2839574813842773 +MRI-CGCM3,rcp85,2095,3.3378632068634033 +MRI-CGCM3,rcp85,2096,3.39251708984375 +MRI-CGCM3,rcp85,2097,3.4479196071624756 +MRI-CGCM3,rcp85,2098,3.504070520401001 +MRI-CGCM3,rcp85,2099,3.560969829559326 +MRI-CGCM3,rcp85,2100,3.6186177730560303 +NorESM1-M,rcp45,1981,-0.41289621591567993 +NorESM1-M,rcp45,1982,-0.3999475836753845 +NorESM1-M,rcp45,1983,-0.38602086901664734 +NorESM1-M,rcp45,1984,-0.369030237197876 +NorESM1-M,rcp45,1985,-0.35072579979896545 +NorESM1-M,rcp45,1986,-0.33238324522972107 +NorESM1-M,rcp45,1987,-0.31500351428985596 +NorESM1-M,rcp45,1988,-0.3041118085384369 +NorESM1-M,rcp45,1989,-0.29678454995155334 +NorESM1-M,rcp45,1990,-0.2745388150215149 +NorESM1-M,rcp45,1991,-0.25722160935401917 +NorESM1-M,rcp45,1992,-0.24081534147262573 +NorESM1-M,rcp45,1993,-0.22344014048576355 +NorESM1-M,rcp45,1994,-0.20082354545593262 +NorESM1-M,rcp45,1995,-0.1768534928560257 +NorESM1-M,rcp45,1996,-0.1548914909362793 +NorESM1-M,rcp45,1997,-0.1355128437280655 +NorESM1-M,rcp45,1998,-0.12511548399925232 +NorESM1-M,rcp45,1999,-0.11168929189443588 +NorESM1-M,rcp45,2000,-0.10856734216213226 +NorESM1-M,rcp45,2001,-0.10700329393148422 +NorESM1-M,rcp45,2002,-0.08999129384756088 +NorESM1-M,rcp45,2003,-0.0598689466714859 +NorESM1-M,rcp45,2004,-0.03243058919906616 +NorESM1-M,rcp45,2005,-0.004102692008018494 +NorESM1-M,rcp45,2006,0.01593060791492462 +NorESM1-M,rcp45,2007,0.037527889013290405 +NorESM1-M,rcp45,2008,0.05880022048950195 +NorESM1-M,rcp45,2009,0.080209881067276 +NorESM1-M,rcp45,2010,0.10092824697494507 +NorESM1-M,rcp45,2011,0.12052056193351746 +NorESM1-M,rcp45,2012,0.14294025301933289 +NorESM1-M,rcp45,2013,0.16411182284355164 +NorESM1-M,rcp45,2014,0.1933797001838684 +NorESM1-M,rcp45,2015,0.21131187677383423 +NorESM1-M,rcp45,2016,0.227945476770401 +NorESM1-M,rcp45,2017,0.24125418066978455 +NorESM1-M,rcp45,2018,0.26150256395339966 +NorESM1-M,rcp45,2019,0.2893788814544678 +NorESM1-M,rcp45,2020,0.3204198479652405 +NorESM1-M,rcp45,2021,0.3492727279663086 +NorESM1-M,rcp45,2022,0.37165892124176025 +NorESM1-M,rcp45,2023,0.39357662200927734 +NorESM1-M,rcp45,2024,0.41441094875335693 +NorESM1-M,rcp45,2025,0.4307454824447632 +NorESM1-M,rcp45,2026,0.4592459201812744 +NorESM1-M,rcp45,2027,0.48298847675323486 +NorESM1-M,rcp45,2028,0.5084249377250671 +NorESM1-M,rcp45,2029,0.5371160507202148 +NorESM1-M,rcp45,2030,0.5582097768783569 +NorESM1-M,rcp45,2031,0.5877904891967773 +NorESM1-M,rcp45,2032,0.6110281348228455 +NorESM1-M,rcp45,2033,0.6357001066207886 +NorESM1-M,rcp45,2034,0.6501700282096863 +NorESM1-M,rcp45,2035,0.6766303181648254 +NorESM1-M,rcp45,2036,0.7056570053100586 +NorESM1-M,rcp45,2037,0.7266928553581238 +NorESM1-M,rcp45,2038,0.7493413686752319 +NorESM1-M,rcp45,2039,0.7646978497505188 +NorESM1-M,rcp45,2040,0.7807639241218567 +NorESM1-M,rcp45,2041,0.7936910390853882 +NorESM1-M,rcp45,2042,0.8162373304367065 +NorESM1-M,rcp45,2043,0.8349248170852661 +NorESM1-M,rcp45,2044,0.8501760959625244 +NorESM1-M,rcp45,2045,0.870837926864624 +NorESM1-M,rcp45,2046,0.8904194831848145 +NorESM1-M,rcp45,2047,0.9035344123840332 +NorESM1-M,rcp45,2048,0.9216740131378174 +NorESM1-M,rcp45,2049,0.9362355470657349 +NorESM1-M,rcp45,2050,0.9476338624954224 +NorESM1-M,rcp45,2051,0.957599401473999 +NorESM1-M,rcp45,2052,0.9735372066497803 +NorESM1-M,rcp45,2053,0.987816333770752 +NorESM1-M,rcp45,2054,1.0002232789993286 +NorESM1-M,rcp45,2055,1.0056812763214111 +NorESM1-M,rcp45,2056,1.014000415802002 +NorESM1-M,rcp45,2057,1.0376636981964111 +NorESM1-M,rcp45,2058,1.0536885261535645 +NorESM1-M,rcp45,2059,1.0675145387649536 +NorESM1-M,rcp45,2060,1.0824270248413086 +NorESM1-M,rcp45,2061,1.0993473529815674 +NorESM1-M,rcp45,2062,1.1186039447784424 +NorESM1-M,rcp45,2063,1.1347157955169678 +NorESM1-M,rcp45,2064,1.1570851802825928 +NorESM1-M,rcp45,2065,1.1755712032318115 +NorESM1-M,rcp45,2066,1.187106728553772 +NorESM1-M,rcp45,2067,1.2014896869659424 +NorESM1-M,rcp45,2068,1.2118748426437378 +NorESM1-M,rcp45,2069,1.2218754291534424 +NorESM1-M,rcp45,2070,1.2398808002471924 +NorESM1-M,rcp45,2071,1.251509428024292 +NorESM1-M,rcp45,2072,1.2638767957687378 +NorESM1-M,rcp45,2073,1.2748554944992065 +NorESM1-M,rcp45,2074,1.2858799695968628 +NorESM1-M,rcp45,2075,1.303699254989624 +NorESM1-M,rcp45,2076,1.3159657716751099 +NorESM1-M,rcp45,2077,1.316089391708374 +NorESM1-M,rcp45,2078,1.3218374252319336 +NorESM1-M,rcp45,2079,1.3254826068878174 +NorESM1-M,rcp45,2080,1.337233543395996 +NorESM1-M,rcp45,2081,1.3534977436065674 +NorESM1-M,rcp45,2082,1.3635244369506836 +NorESM1-M,rcp45,2083,1.3728796243667603 +NorESM1-M,rcp45,2084,1.377196192741394 +NorESM1-M,rcp45,2085,1.386127233505249 +NorESM1-M,rcp45,2086,1.4032460451126099 +NorESM1-M,rcp45,2087,1.4190815687179565 +NorESM1-M,rcp45,2088,1.4315495491027832 +NorESM1-M,rcp45,2089,1.4429707527160645 +NorESM1-M,rcp45,2090,1.4485554695129395 +NorESM1-M,rcp45,2091,1.4560582637786865 +NorESM1-M,rcp45,2092,1.4609153270721436 +NorESM1-M,rcp45,2093,1.460376501083374 +NorESM1-M,rcp45,2094,1.4647055864334106 +NorESM1-M,rcp45,2095,1.4629887342453003 +NorESM1-M,rcp45,2096,1.4655582904815674 +NorESM1-M,rcp45,2097,1.4806110858917236 +NorESM1-M,rcp45,2098,1.4863148927688599 +NorESM1-M,rcp45,2099,1.4996953010559082 +NorESM1-M,rcp45,2100,1.5077321529388428 +NorESM1-M,rcp85,1981,-0.4348970651626587 +NorESM1-M,rcp85,1982,-0.4219484031200409 +NorESM1-M,rcp85,1983,-0.4080216884613037 +NorESM1-M,rcp85,1984,-0.39103108644485474 +NorESM1-M,rcp85,1985,-0.3727266192436218 +NorESM1-M,rcp85,1986,-0.35438406467437744 +NorESM1-M,rcp85,1987,-0.33700433373451233 +NorESM1-M,rcp85,1988,-0.32611262798309326 +NorESM1-M,rcp85,1989,-0.3187853693962097 +NorESM1-M,rcp85,1990,-0.29653963446617126 +NorESM1-M,rcp85,1991,-0.27922242879867554 +NorESM1-M,rcp85,1992,-0.2628161907196045 +NorESM1-M,rcp85,1993,-0.24544097483158112 +NorESM1-M,rcp85,1994,-0.222824364900589 +NorESM1-M,rcp85,1995,-0.19885432720184326 +NorESM1-M,rcp85,1996,-0.17689232528209686 +NorESM1-M,rcp85,1997,-0.1570131778717041 +NorESM1-M,rcp85,1998,-0.14765647053718567 +NorESM1-M,rcp85,1999,-0.1336275190114975 +NorESM1-M,rcp85,2000,-0.12294787168502808 +NorESM1-M,rcp85,2001,-0.10969867557287216 +NorESM1-M,rcp85,2002,-0.09018266946077347 +NorESM1-M,rcp85,2003,-0.06693131476640701 +NorESM1-M,rcp85,2004,-0.04040391743183136 +NorESM1-M,rcp85,2005,-0.014024525880813599 +NorESM1-M,rcp85,2006,0.016975224018096924 +NorESM1-M,rcp85,2007,0.044164881110191345 +NorESM1-M,rcp85,2008,0.0662413090467453 +NorESM1-M,rcp85,2009,0.08773793280124664 +NorESM1-M,rcp85,2010,0.1061217337846756 +NorESM1-M,rcp85,2011,0.12538747489452362 +NorESM1-M,rcp85,2012,0.15055222809314728 +NorESM1-M,rcp85,2013,0.17279036343097687 +NorESM1-M,rcp85,2014,0.1951628178358078 +NorESM1-M,rcp85,2015,0.21272416412830353 +NorESM1-M,rcp85,2016,0.23565970361232758 +NorESM1-M,rcp85,2017,0.26090383529663086 +NorESM1-M,rcp85,2018,0.29751116037368774 +NorESM1-M,rcp85,2019,0.33495163917541504 +NorESM1-M,rcp85,2020,0.36165904998779297 +NorESM1-M,rcp85,2021,0.37861770391464233 +NorESM1-M,rcp85,2022,0.4032682776451111 +NorESM1-M,rcp85,2023,0.435671865940094 +NorESM1-M,rcp85,2024,0.4656568765640259 +NorESM1-M,rcp85,2025,0.49838078022003174 +NorESM1-M,rcp85,2026,0.5332578420639038 +NorESM1-M,rcp85,2027,0.5664960741996765 +NorESM1-M,rcp85,2028,0.605535626411438 +NorESM1-M,rcp85,2029,0.6389462947845459 +NorESM1-M,rcp85,2030,0.6666792035102844 +NorESM1-M,rcp85,2031,0.7019087076187134 +NorESM1-M,rcp85,2032,0.7313657999038696 +NorESM1-M,rcp85,2033,0.7615094780921936 +NorESM1-M,rcp85,2034,0.7869611382484436 +NorESM1-M,rcp85,2035,0.8230558037757874 +NorESM1-M,rcp85,2036,0.856179416179657 +NorESM1-M,rcp85,2037,0.8839077353477478 +NorESM1-M,rcp85,2038,0.9057720303535461 +NorESM1-M,rcp85,2039,0.9294567704200745 +NorESM1-M,rcp85,2040,0.9603483080863953 +NorESM1-M,rcp85,2041,0.9971416592597961 +NorESM1-M,rcp85,2042,1.0387630462646484 +NorESM1-M,rcp85,2043,1.074499249458313 +NorESM1-M,rcp85,2044,1.109208345413208 +NorESM1-M,rcp85,2045,1.1429411172866821 +NorESM1-M,rcp85,2046,1.1732739210128784 +NorESM1-M,rcp85,2047,1.1982464790344238 +NorESM1-M,rcp85,2048,1.2229900360107422 +NorESM1-M,rcp85,2049,1.2548352479934692 +NorESM1-M,rcp85,2050,1.2859342098236084 +NorESM1-M,rcp85,2051,1.3179562091827393 +NorESM1-M,rcp85,2052,1.363404631614685 +NorESM1-M,rcp85,2053,1.4094419479370117 +NorESM1-M,rcp85,2054,1.4508514404296875 +NorESM1-M,rcp85,2055,1.4866011142730713 +NorESM1-M,rcp85,2056,1.5281860828399658 +NorESM1-M,rcp85,2057,1.5732498168945312 +NorESM1-M,rcp85,2058,1.621669054031372 +NorESM1-M,rcp85,2059,1.6649030447006226 +NorESM1-M,rcp85,2060,1.7037839889526367 +NorESM1-M,rcp85,2061,1.7448211908340454 +NorESM1-M,rcp85,2062,1.7838151454925537 +NorESM1-M,rcp85,2063,1.8255877494812012 +NorESM1-M,rcp85,2064,1.8702104091644287 +NorESM1-M,rcp85,2065,1.9185700416564941 +NorESM1-M,rcp85,2066,1.9643099308013916 +NorESM1-M,rcp85,2067,2.0085527896881104 +NorESM1-M,rcp85,2068,2.05283522605896 +NorESM1-M,rcp85,2069,2.097805976867676 +NorESM1-M,rcp85,2070,2.139557123184204 +NorESM1-M,rcp85,2071,2.1805224418640137 +NorESM1-M,rcp85,2072,2.2161898612976074 +NorESM1-M,rcp85,2073,2.2528672218322754 +NorESM1-M,rcp85,2074,2.2995851039886475 +NorESM1-M,rcp85,2075,2.3387575149536133 +NorESM1-M,rcp85,2076,2.3671631813049316 +NorESM1-M,rcp85,2077,2.39829421043396 +NorESM1-M,rcp85,2078,2.4415605068206787 +NorESM1-M,rcp85,2079,2.493116855621338 +NorESM1-M,rcp85,2080,2.540646553039551 +NorESM1-M,rcp85,2081,2.5788590908050537 +NorESM1-M,rcp85,2082,2.6237809658050537 +NorESM1-M,rcp85,2083,2.670297384262085 +NorESM1-M,rcp85,2084,2.706047296524048 +NorESM1-M,rcp85,2085,2.7432618141174316 +NorESM1-M,rcp85,2086,2.785705804824829 +NorESM1-M,rcp85,2087,2.835594415664673 +NorESM1-M,rcp85,2088,2.8842272758483887 +NorESM1-M,rcp85,2089,2.926924228668213 +NorESM1-M,rcp85,2090,2.9726853370666504 +NorESM1-M,rcp85,2091,3.017155647277832 +NorESM1-M,rcp85,2092,3.06516170501709 +NorESM1-M,rcp85,2093,3.11221981048584 +NorESM1-M,rcp85,2094,3.1597137451171875 +NorESM1-M,rcp85,2095,3.20764422416687 +NorESM1-M,rcp85,2096,3.2560105323791504 +NorESM1-M,rcp85,2097,3.3048131465911865 +NorESM1-M,rcp85,2098,3.3540518283843994 +NorESM1-M,rcp85,2099,3.403726577758789 +NorESM1-M,rcp85,2100,3.4538376331329346 +bcc-csm1-1,rcp45,1981,-0.6403129696846008 +bcc-csm1-1,rcp45,1982,-0.6051964163780212 +bcc-csm1-1,rcp45,1983,-0.5875298380851746 +bcc-csm1-1,rcp45,1984,-0.5668267011642456 +bcc-csm1-1,rcp45,1985,-0.5513726472854614 +bcc-csm1-1,rcp45,1986,-0.5278374552726746 +bcc-csm1-1,rcp45,1987,-0.5004342198371887 +bcc-csm1-1,rcp45,1988,-0.4683983623981476 +bcc-csm1-1,rcp45,1989,-0.43441858887672424 +bcc-csm1-1,rcp45,1990,-0.40761199593544006 +bcc-csm1-1,rcp45,1991,-0.37428829073905945 +bcc-csm1-1,rcp45,1992,-0.34797143936157227 +bcc-csm1-1,rcp45,1993,-0.31493619084358215 +bcc-csm1-1,rcp45,1994,-0.2835046350955963 +bcc-csm1-1,rcp45,1995,-0.2550775408744812 +bcc-csm1-1,rcp45,1996,-0.22684729099273682 +bcc-csm1-1,rcp45,1997,-0.20428259670734406 +bcc-csm1-1,rcp45,1998,-0.17598514258861542 +bcc-csm1-1,rcp45,1999,-0.1473352462053299 +bcc-csm1-1,rcp45,2000,-0.12448213994503021 +bcc-csm1-1,rcp45,2001,-0.1056695431470871 +bcc-csm1-1,rcp45,2002,-0.0852685421705246 +bcc-csm1-1,rcp45,2003,-0.05282072722911835 +bcc-csm1-1,rcp45,2004,-0.03075803816318512 +bcc-csm1-1,rcp45,2005,-0.0037987977266311646 +bcc-csm1-1,rcp45,2006,0.02089443802833557 +bcc-csm1-1,rcp45,2007,0.03644159436225891 +bcc-csm1-1,rcp45,2008,0.05532890558242798 +bcc-csm1-1,rcp45,2009,0.07711541652679443 +bcc-csm1-1,rcp45,2010,0.0885351300239563 +bcc-csm1-1,rcp45,2011,0.10636192560195923 +bcc-csm1-1,rcp45,2012,0.1278981864452362 +bcc-csm1-1,rcp45,2013,0.14822295308113098 +bcc-csm1-1,rcp45,2014,0.1719900369644165 +bcc-csm1-1,rcp45,2015,0.18924468755722046 +bcc-csm1-1,rcp45,2016,0.21359163522720337 +bcc-csm1-1,rcp45,2017,0.24069735407829285 +bcc-csm1-1,rcp45,2018,0.2572454810142517 +bcc-csm1-1,rcp45,2019,0.2687353789806366 +bcc-csm1-1,rcp45,2020,0.2860846519470215 +bcc-csm1-1,rcp45,2021,0.30210793018341064 +bcc-csm1-1,rcp45,2022,0.3223564028739929 +bcc-csm1-1,rcp45,2023,0.34816205501556396 +bcc-csm1-1,rcp45,2024,0.3759498596191406 +bcc-csm1-1,rcp45,2025,0.39974290132522583 +bcc-csm1-1,rcp45,2026,0.425112247467041 +bcc-csm1-1,rcp45,2027,0.45376521348953247 +bcc-csm1-1,rcp45,2028,0.4755318760871887 +bcc-csm1-1,rcp45,2029,0.49952179193496704 +bcc-csm1-1,rcp45,2030,0.5360284447669983 +bcc-csm1-1,rcp45,2031,0.5688211917877197 +bcc-csm1-1,rcp45,2032,0.5934930443763733 +bcc-csm1-1,rcp45,2033,0.6171014308929443 +bcc-csm1-1,rcp45,2034,0.6414651870727539 +bcc-csm1-1,rcp45,2035,0.6669381856918335 +bcc-csm1-1,rcp45,2036,0.6788797378540039 +bcc-csm1-1,rcp45,2037,0.6914132833480835 +bcc-csm1-1,rcp45,2038,0.7165948748588562 +bcc-csm1-1,rcp45,2039,0.7330300807952881 +bcc-csm1-1,rcp45,2040,0.7473337054252625 +bcc-csm1-1,rcp45,2041,0.7665688395500183 +bcc-csm1-1,rcp45,2042,0.7831474542617798 +bcc-csm1-1,rcp45,2043,0.8002053499221802 +bcc-csm1-1,rcp45,2044,0.8164178133010864 +bcc-csm1-1,rcp45,2045,0.8325644731521606 +bcc-csm1-1,rcp45,2046,0.8565940856933594 +bcc-csm1-1,rcp45,2047,0.8779106140136719 +bcc-csm1-1,rcp45,2048,0.8976279497146606 +bcc-csm1-1,rcp45,2049,0.9120079278945923 +bcc-csm1-1,rcp45,2050,0.9237738847732544 +bcc-csm1-1,rcp45,2051,0.9261268377304077 +bcc-csm1-1,rcp45,2052,0.937822699546814 +bcc-csm1-1,rcp45,2053,0.9488929510116577 +bcc-csm1-1,rcp45,2054,0.9592567682266235 +bcc-csm1-1,rcp45,2055,0.9697685241699219 +bcc-csm1-1,rcp45,2056,0.991387128829956 +bcc-csm1-1,rcp45,2057,1.0097160339355469 +bcc-csm1-1,rcp45,2058,1.0183249711990356 +bcc-csm1-1,rcp45,2059,1.0383491516113281 +bcc-csm1-1,rcp45,2060,1.0547629594802856 +bcc-csm1-1,rcp45,2061,1.0658713579177856 +bcc-csm1-1,rcp45,2062,1.0741721391677856 +bcc-csm1-1,rcp45,2063,1.0818885564804077 +bcc-csm1-1,rcp45,2064,1.092755913734436 +bcc-csm1-1,rcp45,2065,1.0976234674453735 +bcc-csm1-1,rcp45,2066,1.1068183183670044 +bcc-csm1-1,rcp45,2067,1.1183723211288452 +bcc-csm1-1,rcp45,2068,1.1237144470214844 +bcc-csm1-1,rcp45,2069,1.1342796087265015 +bcc-csm1-1,rcp45,2070,1.1453285217285156 +bcc-csm1-1,rcp45,2071,1.1634025573730469 +bcc-csm1-1,rcp45,2072,1.180249810218811 +bcc-csm1-1,rcp45,2073,1.1995643377304077 +bcc-csm1-1,rcp45,2074,1.2135779857635498 +bcc-csm1-1,rcp45,2075,1.2285346984863281 +bcc-csm1-1,rcp45,2076,1.2477318048477173 +bcc-csm1-1,rcp45,2077,1.2608238458633423 +bcc-csm1-1,rcp45,2078,1.2677236795425415 +bcc-csm1-1,rcp45,2079,1.2769966125488281 +bcc-csm1-1,rcp45,2080,1.286003828048706 +bcc-csm1-1,rcp45,2081,1.3011665344238281 +bcc-csm1-1,rcp45,2082,1.3190513849258423 +bcc-csm1-1,rcp45,2083,1.3250266313552856 +bcc-csm1-1,rcp45,2084,1.3335990905761719 +bcc-csm1-1,rcp45,2085,1.347012996673584 +bcc-csm1-1,rcp45,2086,1.3443487882614136 +bcc-csm1-1,rcp45,2087,1.335523247718811 +bcc-csm1-1,rcp45,2088,1.3393638134002686 +bcc-csm1-1,rcp45,2089,1.3375372886657715 +bcc-csm1-1,rcp45,2090,1.335584282875061 +bcc-csm1-1,rcp45,2091,1.3352729082107544 +bcc-csm1-1,rcp45,2092,1.3330177068710327 +bcc-csm1-1,rcp45,2093,1.3302099704742432 +bcc-csm1-1,rcp45,2094,1.335096001625061 +bcc-csm1-1,rcp45,2095,1.3406164646148682 +bcc-csm1-1,rcp45,2096,1.3391058444976807 +bcc-csm1-1,rcp45,2097,1.340964436531067 +bcc-csm1-1,rcp45,2098,1.3518484830856323 +bcc-csm1-1,rcp45,2099,1.362897276878357 +bcc-csm1-1,rcp45,2100,1.3681219816207886 +bcc-csm1-1,rcp85,1981,-0.6477324962615967 +bcc-csm1-1,rcp85,1982,-0.6126159429550171 +bcc-csm1-1,rcp85,1983,-0.5949493646621704 +bcc-csm1-1,rcp85,1984,-0.5742462277412415 +bcc-csm1-1,rcp85,1985,-0.5587921142578125 +bcc-csm1-1,rcp85,1986,-0.5352569818496704 +bcc-csm1-1,rcp85,1987,-0.5078537464141846 +bcc-csm1-1,rcp85,1988,-0.47581785917282104 +bcc-csm1-1,rcp85,1989,-0.4418380856513977 +bcc-csm1-1,rcp85,1990,-0.4150314927101135 +bcc-csm1-1,rcp85,1991,-0.3817077875137329 +bcc-csm1-1,rcp85,1992,-0.3553909361362457 +bcc-csm1-1,rcp85,1993,-0.3223556876182556 +bcc-csm1-1,rcp85,1994,-0.2909241318702698 +bcc-csm1-1,rcp85,1995,-0.26249703764915466 +bcc-csm1-1,rcp85,1996,-0.23426678776741028 +bcc-csm1-1,rcp85,1997,-0.21170209348201752 +bcc-csm1-1,rcp85,1998,-0.18340463936328888 +bcc-csm1-1,rcp85,1999,-0.15475474298000336 +bcc-csm1-1,rcp85,2000,-0.13190163671970367 +bcc-csm1-1,rcp85,2001,-0.11308903992176056 +bcc-csm1-1,rcp85,2002,-0.09268803894519806 +bcc-csm1-1,rcp85,2003,-0.06024022400379181 +bcc-csm1-1,rcp85,2004,-0.03028412163257599 +bcc-csm1-1,rcp85,2005,-0.007809430360794067 +bcc-csm1-1,rcp85,2006,0.019383221864700317 +bcc-csm1-1,rcp85,2007,0.03697201609611511 +bcc-csm1-1,rcp85,2008,0.05671384930610657 +bcc-csm1-1,rcp85,2009,0.08141785860061646 +bcc-csm1-1,rcp85,2010,0.10962375998497009 +bcc-csm1-1,rcp85,2011,0.13588106632232666 +bcc-csm1-1,rcp85,2012,0.15205082297325134 +bcc-csm1-1,rcp85,2013,0.1631852090358734 +bcc-csm1-1,rcp85,2014,0.19179236888885498 +bcc-csm1-1,rcp85,2015,0.21507269144058228 +bcc-csm1-1,rcp85,2016,0.23418590426445007 +bcc-csm1-1,rcp85,2017,0.25444504618644714 +bcc-csm1-1,rcp85,2018,0.27321943640708923 +bcc-csm1-1,rcp85,2019,0.2898423373699188 +bcc-csm1-1,rcp85,2020,0.3062988817691803 +bcc-csm1-1,rcp85,2021,0.3249543011188507 +bcc-csm1-1,rcp85,2022,0.3389374315738678 +bcc-csm1-1,rcp85,2023,0.36461499333381653 +bcc-csm1-1,rcp85,2024,0.3892029821872711 +bcc-csm1-1,rcp85,2025,0.42571571469306946 +bcc-csm1-1,rcp85,2026,0.4601791799068451 +bcc-csm1-1,rcp85,2027,0.49105390906333923 +bcc-csm1-1,rcp85,2028,0.5208954811096191 +bcc-csm1-1,rcp85,2029,0.5527466535568237 +bcc-csm1-1,rcp85,2030,0.5833786725997925 +bcc-csm1-1,rcp85,2031,0.6132904291152954 +bcc-csm1-1,rcp85,2032,0.6508851051330566 +bcc-csm1-1,rcp85,2033,0.6927491426467896 +bcc-csm1-1,rcp85,2034,0.7180649042129517 +bcc-csm1-1,rcp85,2035,0.7479873895645142 +bcc-csm1-1,rcp85,2036,0.7864013910293579 +bcc-csm1-1,rcp85,2037,0.8239578008651733 +bcc-csm1-1,rcp85,2038,0.8551665544509888 +bcc-csm1-1,rcp85,2039,0.8886978626251221 +bcc-csm1-1,rcp85,2040,0.9267059564590454 +bcc-csm1-1,rcp85,2041,0.9657195806503296 +bcc-csm1-1,rcp85,2042,1.0073609352111816 +bcc-csm1-1,rcp85,2043,1.0439225435256958 +bcc-csm1-1,rcp85,2044,1.0869187116622925 +bcc-csm1-1,rcp85,2045,1.1232469081878662 +bcc-csm1-1,rcp85,2046,1.1613481044769287 +bcc-csm1-1,rcp85,2047,1.1985825300216675 +bcc-csm1-1,rcp85,2048,1.2344422340393066 +bcc-csm1-1,rcp85,2049,1.2715013027191162 +bcc-csm1-1,rcp85,2050,1.3091843128204346 +bcc-csm1-1,rcp85,2051,1.3513916730880737 +bcc-csm1-1,rcp85,2052,1.3930939435958862 +bcc-csm1-1,rcp85,2053,1.4382493495941162 +bcc-csm1-1,rcp85,2054,1.4959152936935425 +bcc-csm1-1,rcp85,2055,1.552943468093872 +bcc-csm1-1,rcp85,2056,1.6065903902053833 +bcc-csm1-1,rcp85,2057,1.6634690761566162 +bcc-csm1-1,rcp85,2058,1.7241241931915283 +bcc-csm1-1,rcp85,2059,1.7732162475585938 +bcc-csm1-1,rcp85,2060,1.8218307495117188 +bcc-csm1-1,rcp85,2061,1.8693876266479492 +bcc-csm1-1,rcp85,2062,1.920292854309082 +bcc-csm1-1,rcp85,2063,1.9758024215698242 +bcc-csm1-1,rcp85,2064,2.021497964859009 +bcc-csm1-1,rcp85,2065,2.0589888095855713 +bcc-csm1-1,rcp85,2066,2.097212076187134 +bcc-csm1-1,rcp85,2067,2.149510145187378 +bcc-csm1-1,rcp85,2068,2.198415994644165 +bcc-csm1-1,rcp85,2069,2.239788770675659 +bcc-csm1-1,rcp85,2070,2.2821121215820312 +bcc-csm1-1,rcp85,2071,2.321345567703247 +bcc-csm1-1,rcp85,2072,2.3668506145477295 +bcc-csm1-1,rcp85,2073,2.4044952392578125 +bcc-csm1-1,rcp85,2074,2.4341554641723633 +bcc-csm1-1,rcp85,2075,2.467791795730591 +bcc-csm1-1,rcp85,2076,2.50130033493042 +bcc-csm1-1,rcp85,2077,2.52516770362854 +bcc-csm1-1,rcp85,2078,2.554643392562866 +bcc-csm1-1,rcp85,2079,2.5955564975738525 +bcc-csm1-1,rcp85,2080,2.642336845397949 +bcc-csm1-1,rcp85,2081,2.6848907470703125 +bcc-csm1-1,rcp85,2082,2.7330121994018555 +bcc-csm1-1,rcp85,2083,2.7756330966949463 +bcc-csm1-1,rcp85,2084,2.818690299987793 +bcc-csm1-1,rcp85,2085,2.870326042175293 +bcc-csm1-1,rcp85,2086,2.9199187755584717 +bcc-csm1-1,rcp85,2087,2.9564924240112305 +bcc-csm1-1,rcp85,2088,2.9993515014648438 +bcc-csm1-1,rcp85,2089,3.0500075817108154 +bcc-csm1-1,rcp85,2090,3.0955047607421875 +bcc-csm1-1,rcp85,2091,3.1434690952301025 +bcc-csm1-1,rcp85,2092,3.187966823577881 +bcc-csm1-1,rcp85,2093,3.234174966812134 +bcc-csm1-1,rcp85,2094,3.2806854248046875 +bcc-csm1-1,rcp85,2095,3.3281784057617188 +bcc-csm1-1,rcp85,2096,3.3758773803710938 +bcc-csm1-1,rcp85,2097,3.4375014305114746 +bcc-csm1-1,rcp85,2098,3.4864377975463867 +bcc-csm1-1,rcp85,2099,3.5306501388549805 +bcc-csm1-1,rcp85,2100,3.567727565765381 +inmcm4,rcp45,1981,-0.25501543283462524 +inmcm4,rcp45,1982,-0.24473100900650024 +inmcm4,rcp45,1983,-0.2391844093799591 +inmcm4,rcp45,1984,-0.239616259932518 +inmcm4,rcp45,1985,-0.22896257042884827 +inmcm4,rcp45,1986,-0.21797317266464233 +inmcm4,rcp45,1987,-0.1980116218328476 +inmcm4,rcp45,1988,-0.1871015727519989 +inmcm4,rcp45,1989,-0.1771635264158249 +inmcm4,rcp45,1990,-0.16987591981887817 +inmcm4,rcp45,1991,-0.1618635654449463 +inmcm4,rcp45,1992,-0.14970387518405914 +inmcm4,rcp45,1993,-0.1376204639673233 +inmcm4,rcp45,1994,-0.1353621780872345 +inmcm4,rcp45,1995,-0.12140187621116638 +inmcm4,rcp45,1996,-0.1138274222612381 +inmcm4,rcp45,1997,-0.10746752470731735 +inmcm4,rcp45,1998,-0.09608447551727295 +inmcm4,rcp45,1999,-0.07971332222223282 +inmcm4,rcp45,2000,-0.06680892407894135 +inmcm4,rcp45,2001,-0.05427077040076256 +inmcm4,rcp45,2002,-0.04127637296915054 +inmcm4,rcp45,2003,-0.028382718563079834 +inmcm4,rcp45,2004,-0.011271528899669647 +inmcm4,rcp45,2005,5.2034854888916016e-05 +inmcm4,rcp45,2006,0.007376223802566528 +inmcm4,rcp45,2007,0.015362679958343506 +inmcm4,rcp45,2008,0.026030078530311584 +inmcm4,rcp45,2009,0.03770613670349121 +inmcm4,rcp45,2010,0.048674196004867554 +inmcm4,rcp45,2011,0.055391132831573486 +inmcm4,rcp45,2012,0.06380026042461395 +inmcm4,rcp45,2013,0.07425257563591003 +inmcm4,rcp45,2014,0.0876559168100357 +inmcm4,rcp45,2015,0.09295527637004852 +inmcm4,rcp45,2016,0.1081240177154541 +inmcm4,rcp45,2017,0.12137019634246826 +inmcm4,rcp45,2018,0.1354922205209732 +inmcm4,rcp45,2019,0.14498625695705414 +inmcm4,rcp45,2020,0.15849025547504425 +inmcm4,rcp45,2021,0.17592646181583405 +inmcm4,rcp45,2022,0.18906886875629425 +inmcm4,rcp45,2023,0.20468471944332123 +inmcm4,rcp45,2024,0.21679259836673737 +inmcm4,rcp45,2025,0.23039884865283966 +inmcm4,rcp45,2026,0.25499147176742554 +inmcm4,rcp45,2027,0.2742007374763489 +inmcm4,rcp45,2028,0.29415470361709595 +inmcm4,rcp45,2029,0.31661099195480347 +inmcm4,rcp45,2030,0.3337756395339966 +inmcm4,rcp45,2031,0.3545001745223999 +inmcm4,rcp45,2032,0.37468600273132324 +inmcm4,rcp45,2033,0.3947787284851074 +inmcm4,rcp45,2034,0.41030454635620117 +inmcm4,rcp45,2035,0.4256640672683716 +inmcm4,rcp45,2036,0.43754148483276367 +inmcm4,rcp45,2037,0.45241421461105347 +inmcm4,rcp45,2038,0.4640306830406189 +inmcm4,rcp45,2039,0.4805392026901245 +inmcm4,rcp45,2040,0.4969072937965393 +inmcm4,rcp45,2041,0.5082918405532837 +inmcm4,rcp45,2042,0.5279451608657837 +inmcm4,rcp45,2043,0.5442553162574768 +inmcm4,rcp45,2044,0.563493549823761 +inmcm4,rcp45,2045,0.5808138251304626 +inmcm4,rcp45,2046,0.5925493240356445 +inmcm4,rcp45,2047,0.6080538034439087 +inmcm4,rcp45,2048,0.6178682446479797 +inmcm4,rcp45,2049,0.6227647662162781 +inmcm4,rcp45,2050,0.6358231902122498 +inmcm4,rcp45,2051,0.6549195647239685 +inmcm4,rcp45,2052,0.6689149141311646 +inmcm4,rcp45,2053,0.6800157427787781 +inmcm4,rcp45,2054,0.7004625201225281 +inmcm4,rcp45,2055,0.7178560495376587 +inmcm4,rcp45,2056,0.7336198687553406 +inmcm4,rcp45,2057,0.7442110180854797 +inmcm4,rcp45,2058,0.7595476508140564 +inmcm4,rcp45,2059,0.7712892889976501 +inmcm4,rcp45,2060,0.7825044989585876 +inmcm4,rcp45,2061,0.7985429763793945 +inmcm4,rcp45,2062,0.8126649856567383 +inmcm4,rcp45,2063,0.8275300860404968 +inmcm4,rcp45,2064,0.8421617746353149 +inmcm4,rcp45,2065,0.8507571220397949 +inmcm4,rcp45,2066,0.8625139594078064 +inmcm4,rcp45,2067,0.8745393753051758 +inmcm4,rcp45,2068,0.8951097130775452 +inmcm4,rcp45,2069,0.9169389605522156 +inmcm4,rcp45,2070,0.9369187951087952 +inmcm4,rcp45,2071,0.9509842991828918 +inmcm4,rcp45,2072,0.9586411118507385 +inmcm4,rcp45,2073,0.9756028056144714 +inmcm4,rcp45,2074,0.9865143895149231 +inmcm4,rcp45,2075,0.9993485808372498 +inmcm4,rcp45,2076,1.0162734985351562 +inmcm4,rcp45,2077,1.0281479358673096 +inmcm4,rcp45,2078,1.0402297973632812 +inmcm4,rcp45,2079,1.0564087629318237 +inmcm4,rcp45,2080,1.0709991455078125 +inmcm4,rcp45,2081,1.0811814069747925 +inmcm4,rcp45,2082,1.0892715454101562 +inmcm4,rcp45,2083,1.095088243484497 +inmcm4,rcp45,2084,1.098466396331787 +inmcm4,rcp45,2085,1.1046890020370483 +inmcm4,rcp45,2086,1.1093231439590454 +inmcm4,rcp45,2087,1.118434190750122 +inmcm4,rcp45,2088,1.1185836791992188 +inmcm4,rcp45,2089,1.1187622547149658 +inmcm4,rcp45,2090,1.1212509870529175 +inmcm4,rcp45,2091,1.1180267333984375 +inmcm4,rcp45,2092,1.1195695400238037 +inmcm4,rcp45,2093,1.1175906658172607 +inmcm4,rcp45,2094,1.1146366596221924 +inmcm4,rcp45,2095,1.1107075214385986 +inmcm4,rcp45,2096,1.105803370475769 +inmcm4,rcp45,2097,1.0999239683151245 +inmcm4,rcp45,2098,1.0930694341659546 +inmcm4,rcp45,2099,1.0852397680282593 +inmcm4,rcp45,2100,1.0764349699020386 +inmcm4,rcp85,1981,-0.2831137180328369 +inmcm4,rcp85,1982,-0.2728292942047119 +inmcm4,rcp85,1983,-0.26728272438049316 +inmcm4,rcp85,1984,-0.26771456003189087 +inmcm4,rcp85,1985,-0.2570608854293823 +inmcm4,rcp85,1986,-0.2460714727640152 +inmcm4,rcp85,1987,-0.22610992193222046 +inmcm4,rcp85,1988,-0.21519987285137177 +inmcm4,rcp85,1989,-0.20526182651519775 +inmcm4,rcp85,1990,-0.19797421991825104 +inmcm4,rcp85,1991,-0.18996188044548035 +inmcm4,rcp85,1992,-0.177802175283432 +inmcm4,rcp85,1993,-0.16571876406669617 +inmcm4,rcp85,1994,-0.16346047818660736 +inmcm4,rcp85,1995,-0.14950017631053925 +inmcm4,rcp85,1996,-0.14192572236061096 +inmcm4,rcp85,1997,-0.1255362182855606 +inmcm4,rcp85,1998,-0.11595827341079712 +inmcm4,rcp85,1999,-0.10377262532711029 +inmcm4,rcp85,2000,-0.08762727677822113 +inmcm4,rcp85,2001,-0.06781066954135895 +inmcm4,rcp85,2002,-0.050769612193107605 +inmcm4,rcp85,2003,-0.033731669187545776 +inmcm4,rcp85,2004,-0.018611721694469452 +inmcm4,rcp85,2005,-0.005740955471992493 +inmcm4,rcp85,2006,0.006612524390220642 +inmcm4,rcp85,2007,0.02008451521396637 +inmcm4,rcp85,2008,0.038471370935440063 +inmcm4,rcp85,2009,0.04993988573551178 +inmcm4,rcp85,2010,0.0615563839673996 +inmcm4,rcp85,2011,0.07886140048503876 +inmcm4,rcp85,2012,0.08948461711406708 +inmcm4,rcp85,2013,0.10351051390171051 +inmcm4,rcp85,2014,0.12120765447616577 +inmcm4,rcp85,2015,0.1365014612674713 +inmcm4,rcp85,2016,0.15695741772651672 +inmcm4,rcp85,2017,0.16852357983589172 +inmcm4,rcp85,2018,0.18828526139259338 +inmcm4,rcp85,2019,0.21048679947853088 +inmcm4,rcp85,2020,0.23138675093650818 +inmcm4,rcp85,2021,0.24434298276901245 +inmcm4,rcp85,2022,0.2625040113925934 +inmcm4,rcp85,2023,0.28550055623054504 +inmcm4,rcp85,2024,0.3126382827758789 +inmcm4,rcp85,2025,0.33217719197273254 +inmcm4,rcp85,2026,0.354116290807724 +inmcm4,rcp85,2027,0.37494149804115295 +inmcm4,rcp85,2028,0.3987269103527069 +inmcm4,rcp85,2029,0.42772623896598816 +inmcm4,rcp85,2030,0.45389047265052795 +inmcm4,rcp85,2031,0.4748744070529938 +inmcm4,rcp85,2032,0.5026438236236572 +inmcm4,rcp85,2033,0.5270044803619385 +inmcm4,rcp85,2034,0.553498387336731 +inmcm4,rcp85,2035,0.5765178203582764 +inmcm4,rcp85,2036,0.5973674058914185 +inmcm4,rcp85,2037,0.6120508909225464 +inmcm4,rcp85,2038,0.6325770616531372 +inmcm4,rcp85,2039,0.656464695930481 +inmcm4,rcp85,2040,0.6751277446746826 +inmcm4,rcp85,2041,0.7008265256881714 +inmcm4,rcp85,2042,0.7216578722000122 +inmcm4,rcp85,2043,0.7410027980804443 +inmcm4,rcp85,2044,0.7593271732330322 +inmcm4,rcp85,2045,0.7866113185882568 +inmcm4,rcp85,2046,0.8181787729263306 +inmcm4,rcp85,2047,0.8506402969360352 +inmcm4,rcp85,2048,0.8801172971725464 +inmcm4,rcp85,2049,0.9075876474380493 +inmcm4,rcp85,2050,0.9431437253952026 +inmcm4,rcp85,2051,0.9818872213363647 +inmcm4,rcp85,2052,1.0141397714614868 +inmcm4,rcp85,2053,1.0513604879379272 +inmcm4,rcp85,2054,1.0892221927642822 +inmcm4,rcp85,2055,1.1260217428207397 +inmcm4,rcp85,2056,1.1660608053207397 +inmcm4,rcp85,2057,1.220089077949524 +inmcm4,rcp85,2058,1.265305519104004 +inmcm4,rcp85,2059,1.3069957494735718 +inmcm4,rcp85,2060,1.354020118713379 +inmcm4,rcp85,2061,1.3982034921646118 +inmcm4,rcp85,2062,1.450814127922058 +inmcm4,rcp85,2063,1.4997048377990723 +inmcm4,rcp85,2064,1.549923062324524 +inmcm4,rcp85,2065,1.5952600240707397 +inmcm4,rcp85,2066,1.6397439241409302 +inmcm4,rcp85,2067,1.6844476461410522 +inmcm4,rcp85,2068,1.728817105293274 +inmcm4,rcp85,2069,1.7743569612503052 +inmcm4,rcp85,2070,1.8114250898361206 +inmcm4,rcp85,2071,1.8446999788284302 +inmcm4,rcp85,2072,1.8855050802230835 +inmcm4,rcp85,2073,1.921653151512146 +inmcm4,rcp85,2074,1.956652283668518 +inmcm4,rcp85,2075,1.990831971168518 +inmcm4,rcp85,2076,2.022785186767578 +inmcm4,rcp85,2077,2.048081159591675 +inmcm4,rcp85,2078,2.079871416091919 +inmcm4,rcp85,2079,2.114060163497925 +inmcm4,rcp85,2080,2.147493839263916 +inmcm4,rcp85,2081,2.178821563720703 +inmcm4,rcp85,2082,2.2078285217285156 +inmcm4,rcp85,2083,2.2422828674316406 +inmcm4,rcp85,2084,2.2701468467712402 +inmcm4,rcp85,2085,2.3011696338653564 +inmcm4,rcp85,2086,2.3298392295837402 +inmcm4,rcp85,2087,2.3558387756347656 +inmcm4,rcp85,2088,2.3832497596740723 +inmcm4,rcp85,2089,2.4131598472595215 +inmcm4,rcp85,2090,2.447725772857666 +inmcm4,rcp85,2091,2.4843223094940186 +inmcm4,rcp85,2092,2.5052647590637207 +inmcm4,rcp85,2093,2.5337846279144287 +inmcm4,rcp85,2094,2.562087059020996 +inmcm4,rcp85,2095,2.5901718139648438 +inmcm4,rcp85,2096,2.61803936958313 +inmcm4,rcp85,2097,2.6456894874572754 +inmcm4,rcp85,2098,2.6731224060058594 +inmcm4,rcp85,2099,2.7003376483917236 +inmcm4,rcp85,2100,2.7273354530334473 +surrogate_CanESM2_89,rcp45,1981,-0.381 +surrogate_CanESM2_89,rcp45,1982,-0.371 +surrogate_CanESM2_89,rcp45,1983,-0.371 +surrogate_CanESM2_89,rcp45,1984,-0.361 +surrogate_CanESM2_89,rcp45,1985,-0.361 +surrogate_CanESM2_89,rcp45,1986,-0.35100000000000003 +surrogate_CanESM2_89,rcp45,1987,-0.341 +surrogate_CanESM2_89,rcp45,1988,-0.331 +surrogate_CanESM2_89,rcp45,1989,-0.321 +surrogate_CanESM2_89,rcp45,1990,-0.311 +surrogate_CanESM2_89,rcp45,1991,-0.301 +surrogate_CanESM2_89,rcp45,1992,-0.29100000000000004 +surrogate_CanESM2_89,rcp45,1993,-0.271 +surrogate_CanESM2_89,rcp45,1994,-0.251 +surrogate_CanESM2_89,rcp45,1995,-0.231 +surrogate_CanESM2_89,rcp45,1996,-0.21100000000000002 +surrogate_CanESM2_89,rcp45,1997,-0.201 +surrogate_CanESM2_89,rcp45,1998,-0.18100000000000002 +surrogate_CanESM2_89,rcp45,1999,-0.161 +surrogate_CanESM2_89,rcp45,2000,-0.141 +surrogate_CanESM2_89,rcp45,2001,-0.121 +surrogate_CanESM2_89,rcp45,2002,-0.10099999999999999 +surrogate_CanESM2_89,rcp45,2003,-0.071 +surrogate_CanESM2_89,rcp45,2004,-0.040999999999999995 +surrogate_CanESM2_89,rcp45,2005,-0.011000000000000001 +surrogate_CanESM2_89,rcp45,2006,0.019 +surrogate_CanESM2_89,rcp45,2007,0.039 +surrogate_CanESM2_89,rcp45,2008,0.069 +surrogate_CanESM2_89,rcp45,2009,0.099 +surrogate_CanESM2_89,rcp45,2010,0.11900000000000001 +surrogate_CanESM2_89,rcp45,2011,0.149 +surrogate_CanESM2_89,rcp45,2012,0.16899999999999998 +surrogate_CanESM2_89,rcp45,2013,0.19899999999999998 +surrogate_CanESM2_89,rcp45,2014,0.22899999999999998 +surrogate_CanESM2_89,rcp45,2015,0.259 +surrogate_CanESM2_89,rcp45,2016,0.289 +surrogate_CanESM2_89,rcp45,2017,0.319 +surrogate_CanESM2_89,rcp45,2018,0.349 +surrogate_CanESM2_89,rcp45,2019,0.379 +surrogate_CanESM2_89,rcp45,2020,0.409 +surrogate_CanESM2_89,rcp45,2021,0.439 +surrogate_CanESM2_89,rcp45,2022,0.469 +surrogate_CanESM2_89,rcp45,2023,0.509 +surrogate_CanESM2_89,rcp45,2024,0.539 +surrogate_CanESM2_89,rcp45,2025,0.569 +surrogate_CanESM2_89,rcp45,2026,0.599 +surrogate_CanESM2_89,rcp45,2027,0.639 +surrogate_CanESM2_89,rcp45,2028,0.669 +surrogate_CanESM2_89,rcp45,2029,0.7090000000000001 +surrogate_CanESM2_89,rcp45,2030,0.7390000000000001 +surrogate_CanESM2_89,rcp45,2031,0.779 +surrogate_CanESM2_89,rcp45,2032,0.8189999 +surrogate_CanESM2_89,rcp45,2033,0.8490000000000001 +surrogate_CanESM2_89,rcp45,2034,0.889 +surrogate_CanESM2_89,rcp45,2035,0.919 +surrogate_CanESM2_89,rcp45,2036,0.9589999 +surrogate_CanESM2_89,rcp45,2037,0.9990000000000001 +surrogate_CanESM2_89,rcp45,2038,1.0290000000000001 +surrogate_CanESM2_89,rcp45,2039,1.069 +surrogate_CanESM2_89,rcp45,2040,1.109 +surrogate_CanESM2_89,rcp45,2041,1.149 +surrogate_CanESM2_89,rcp45,2042,1.189 +surrogate_CanESM2_89,rcp45,2043,1.219 +surrogate_CanESM2_89,rcp45,2044,1.2590000000000001 +surrogate_CanESM2_89,rcp45,2045,1.2990000000000002 +surrogate_CanESM2_89,rcp45,2046,1.329 +surrogate_CanESM2_89,rcp45,2047,1.369 +surrogate_CanESM2_89,rcp45,2048,1.409 +surrogate_CanESM2_89,rcp45,2049,1.439 +surrogate_CanESM2_89,rcp45,2050,1.479 +surrogate_CanESM2_89,rcp45,2051,1.5190000000000001 +surrogate_CanESM2_89,rcp45,2052,1.5490000000000002 +surrogate_CanESM2_89,rcp45,2053,1.589 +surrogate_CanESM2_89,rcp45,2054,1.619 +surrogate_CanESM2_89,rcp45,2055,1.659 +surrogate_CanESM2_89,rcp45,2056,1.689 +surrogate_CanESM2_89,rcp45,2057,1.729 +surrogate_CanESM2_89,rcp45,2058,1.7590000000000001 +surrogate_CanESM2_89,rcp45,2059,1.7890000000000001 +surrogate_CanESM2_89,rcp45,2060,1.829 +surrogate_CanESM2_89,rcp45,2061,1.859 +surrogate_CanESM2_89,rcp45,2062,1.889 +surrogate_CanESM2_89,rcp45,2063,1.919 +surrogate_CanESM2_89,rcp45,2064,1.949 +surrogate_CanESM2_89,rcp45,2065,1.979 +surrogate_CanESM2_89,rcp45,2066,2.009 +surrogate_CanESM2_89,rcp45,2067,2.039 +surrogate_CanESM2_89,rcp45,2068,2.069 +surrogate_CanESM2_89,rcp45,2069,2.089 +surrogate_CanESM2_89,rcp45,2070,2.119 +surrogate_CanESM2_89,rcp45,2071,2.149 +surrogate_CanESM2_89,rcp45,2072,2.169 +surrogate_CanESM2_89,rcp45,2073,2.199 +surrogate_CanESM2_89,rcp45,2074,2.229 +surrogate_CanESM2_89,rcp45,2075,2.249 +surrogate_CanESM2_89,rcp45,2076,2.279 +surrogate_CanESM2_89,rcp45,2077,2.299 +surrogate_CanESM2_89,rcp45,2078,2.319 +surrogate_CanESM2_89,rcp45,2079,2.349 +surrogate_CanESM2_89,rcp45,2080,2.369 +surrogate_CanESM2_89,rcp45,2081,2.3890000000000002 +surrogate_CanESM2_89,rcp45,2082,2.4090000000000003 +surrogate_CanESM2_89,rcp45,2083,2.439 +surrogate_CanESM2_89,rcp45,2084,2.459 +surrogate_CanESM2_89,rcp45,2085,2.479 +surrogate_CanESM2_89,rcp45,2086,2.489 +surrogate_CanESM2_89,rcp45,2087,2.509 +surrogate_CanESM2_89,rcp45,2088,2.519 +surrogate_CanESM2_89,rcp45,2089,2.539 +surrogate_CanESM2_89,rcp45,2090,2.549 +surrogate_CanESM2_89,rcp45,2091,2.559 +surrogate_CanESM2_89,rcp45,2092,2.5789999999999997 +surrogate_CanESM2_89,rcp45,2093,2.5989999999999998 +surrogate_CanESM2_89,rcp45,2094,2.609 +surrogate_CanESM2_89,rcp45,2095,2.6289999999999996 +surrogate_CanESM2_89,rcp45,2096,2.639 +surrogate_CanESM2_89,rcp45,2097,2.6489999999999996 +surrogate_CanESM2_89,rcp45,2098,2.6689999999999996 +surrogate_CanESM2_89,rcp45,2099,2.679 +surrogate_CanESM2_89,rcp45,2100, +surrogate_CanESM2_89,rcp85,1981,-0.401 +surrogate_CanESM2_89,rcp85,1982,-0.381 +surrogate_CanESM2_89,rcp85,1983,-0.381 +surrogate_CanESM2_89,rcp85,1984,-0.381 +surrogate_CanESM2_89,rcp85,1985,-0.371 +surrogate_CanESM2_89,rcp85,1986,-0.361 +surrogate_CanESM2_89,rcp85,1987,-0.35100000000000003 +surrogate_CanESM2_89,rcp85,1988,-0.341 +surrogate_CanESM2_89,rcp85,1989,-0.331 +surrogate_CanESM2_89,rcp85,1990,-0.321 +surrogate_CanESM2_89,rcp85,1991,-0.311 +surrogate_CanESM2_89,rcp85,1992,-0.301 +surrogate_CanESM2_89,rcp85,1993,-0.281 +surrogate_CanESM2_89,rcp85,1994,-0.261 +surrogate_CanESM2_89,rcp85,1995,-0.24100000000000002 +surrogate_CanESM2_89,rcp85,1996,-0.231 +surrogate_CanESM2_89,rcp85,1997,-0.21100000000000002 +surrogate_CanESM2_89,rcp85,1998,-0.191 +surrogate_CanESM2_89,rcp85,1999,-0.171 +surrogate_CanESM2_89,rcp85,2000,-0.151 +surrogate_CanESM2_89,rcp85,2001,-0.131 +surrogate_CanESM2_89,rcp85,2002,-0.111 +surrogate_CanESM2_89,rcp85,2003,-0.071 +surrogate_CanESM2_89,rcp85,2004,-0.040999999999999995 +surrogate_CanESM2_89,rcp85,2005,-0.011000000000000001 +surrogate_CanESM2_89,rcp85,2006,0.019 +surrogate_CanESM2_89,rcp85,2007,0.049 +surrogate_CanESM2_89,rcp85,2008,0.069 +surrogate_CanESM2_89,rcp85,2009,0.099 +surrogate_CanESM2_89,rcp85,2010,0.129 +surrogate_CanESM2_89,rcp85,2011,0.149 +surrogate_CanESM2_89,rcp85,2012,0.179 +surrogate_CanESM2_89,rcp85,2013,0.209 +surrogate_CanESM2_89,rcp85,2014,0.239 +surrogate_CanESM2_89,rcp85,2015,0.26899999999999996 +surrogate_CanESM2_89,rcp85,2016,0.309 +surrogate_CanESM2_89,rcp85,2017,0.33899999999999997 +surrogate_CanESM2_89,rcp85,2018,0.379 +surrogate_CanESM2_89,rcp85,2019,0.409 +surrogate_CanESM2_89,rcp85,2020,0.439 +surrogate_CanESM2_89,rcp85,2021,0.479 +surrogate_CanESM2_89,rcp85,2022,0.519 +surrogate_CanESM2_89,rcp85,2023,0.5589999999999999 +surrogate_CanESM2_89,rcp85,2024,0.599 +surrogate_CanESM2_89,rcp85,2025,0.639 +surrogate_CanESM2_89,rcp85,2026,0.679 +surrogate_CanESM2_89,rcp85,2027,0.7290000000000001 +surrogate_CanESM2_89,rcp85,2028,0.7690001000000001 +surrogate_CanESM2_89,rcp85,2029,0.8190000000000001 +surrogate_CanESM2_89,rcp85,2030,0.8590000000000001 +surrogate_CanESM2_89,rcp85,2031,0.909 +surrogate_CanESM2_89,rcp85,2032,0.9590000000000001 +surrogate_CanESM2_89,rcp85,2033,1.0090000000000001 +surrogate_CanESM2_89,rcp85,2034,1.0590000000000002 +surrogate_CanESM2_89,rcp85,2035,1.109 +surrogate_CanESM2_89,rcp85,2036,1.159 +surrogate_CanESM2_89,rcp85,2037,1.219 +surrogate_CanESM2_89,rcp85,2038,1.2690000000000001 +surrogate_CanESM2_89,rcp85,2039,1.329 +surrogate_CanESM2_89,rcp85,2040,1.389 +surrogate_CanESM2_89,rcp85,2041,1.449 +surrogate_CanESM2_89,rcp85,2042,1.5090000000000001 +surrogate_CanESM2_89,rcp85,2043,1.569 +surrogate_CanESM2_89,rcp85,2044,1.629 +surrogate_CanESM2_89,rcp85,2045,1.689 +surrogate_CanESM2_89,rcp85,2046,1.749 +surrogate_CanESM2_89,rcp85,2047,1.8090000000000002 +surrogate_CanESM2_89,rcp85,2048,1.879 +surrogate_CanESM2_89,rcp85,2049,1.949 +surrogate_CanESM2_89,rcp85,2050,2.029 +surrogate_CanESM2_89,rcp85,2051,2.099 +surrogate_CanESM2_89,rcp85,2052,2.169 +surrogate_CanESM2_89,rcp85,2053,2.239 +surrogate_CanESM2_89,rcp85,2054,2.299 +surrogate_CanESM2_89,rcp85,2055,2.359 +surrogate_CanESM2_89,rcp85,2056,2.4290000000000003 +surrogate_CanESM2_89,rcp85,2057,2.499 +surrogate_CanESM2_89,rcp85,2058,2.569 +surrogate_CanESM2_89,rcp85,2059,2.639 +surrogate_CanESM2_89,rcp85,2060,2.7089999999999996 +surrogate_CanESM2_89,rcp85,2061,2.7889999999999997 +surrogate_CanESM2_89,rcp85,2062,2.859 +surrogate_CanESM2_89,rcp85,2063,2.9389999999999996 +surrogate_CanESM2_89,rcp85,2064,3.0189999999999997 +surrogate_CanESM2_89,rcp85,2065,3.089 +surrogate_CanESM2_89,rcp85,2066,3.1689999999999996 +surrogate_CanESM2_89,rcp85,2067,3.239 +surrogate_CanESM2_89,rcp85,2068,3.319 +surrogate_CanESM2_89,rcp85,2069,3.389 +surrogate_CanESM2_89,rcp85,2070,3.469 +surrogate_CanESM2_89,rcp85,2071,3.549 +surrogate_CanESM2_89,rcp85,2072,3.6289999999999996 +surrogate_CanESM2_89,rcp85,2073,3.7089999999999996 +surrogate_CanESM2_89,rcp85,2074,3.799 +surrogate_CanESM2_89,rcp85,2075,3.8789999999999996 +surrogate_CanESM2_89,rcp85,2076,3.9589999999999996 +surrogate_CanESM2_89,rcp85,2077,4.029 +surrogate_CanESM2_89,rcp85,2078,4.109 +surrogate_CanESM2_89,rcp85,2079,4.178999999999999 +surrogate_CanESM2_89,rcp85,2080,4.2589999999999995 +surrogate_CanESM2_89,rcp85,2081,4.3389999999999995 +surrogate_CanESM2_89,rcp85,2082,4.428999999999999 +surrogate_CanESM2_89,rcp85,2083,4.5089999999999995 +surrogate_CanESM2_89,rcp85,2084,4.599 +surrogate_CanESM2_89,rcp85,2085,4.699 +surrogate_CanESM2_89,rcp85,2086,4.779 +surrogate_CanESM2_89,rcp85,2087,4.888999999999999 +surrogate_CanESM2_89,rcp85,2088,4.989 +surrogate_CanESM2_89,rcp85,2089,5.079 +surrogate_CanESM2_89,rcp85,2090,5.169 +surrogate_CanESM2_89,rcp85,2091,5.2589999999999995 +surrogate_CanESM2_89,rcp85,2092,5.349 +surrogate_CanESM2_89,rcp85,2093,5.439 +surrogate_CanESM2_89,rcp85,2094,5.539 +surrogate_CanESM2_89,rcp85,2095,5.629 +surrogate_CanESM2_89,rcp85,2096,5.729 +surrogate_CanESM2_89,rcp85,2097,5.829 +surrogate_CanESM2_89,rcp85,2098,5.909 +surrogate_CanESM2_89,rcp85,2099,5.999 +surrogate_CanESM2_89,rcp85,2100, +surrogate_CanESM2_94,rcp45,1981,-0.39399999999999996 +surrogate_CanESM2_94,rcp45,1982,-0.374 +surrogate_CanESM2_94,rcp45,1983,-0.374 +surrogate_CanESM2_94,rcp45,1984,-0.374 +surrogate_CanESM2_94,rcp45,1985,-0.364 +surrogate_CanESM2_94,rcp45,1986,-0.354 +surrogate_CanESM2_94,rcp45,1987,-0.344 +surrogate_CanESM2_94,rcp45,1988,-0.33399999999999996 +surrogate_CanESM2_94,rcp45,1989,-0.324 +surrogate_CanESM2_94,rcp45,1990,-0.314 +surrogate_CanESM2_94,rcp45,1991,-0.304 +surrogate_CanESM2_94,rcp45,1992,-0.294 +surrogate_CanESM2_94,rcp45,1993,-0.27399999999999997 +surrogate_CanESM2_94,rcp45,1994,-0.264 +surrogate_CanESM2_94,rcp45,1995,-0.244 +surrogate_CanESM2_94,rcp45,1996,-0.22399999999999998 +surrogate_CanESM2_94,rcp45,1997,-0.214 +surrogate_CanESM2_94,rcp45,1998,-0.19399999999999998 +surrogate_CanESM2_94,rcp45,1999,-0.174 +surrogate_CanESM2_94,rcp45,2000,-0.154 +surrogate_CanESM2_94,rcp45,2001,-0.134 +surrogate_CanESM2_94,rcp45,2002,-0.10400000000000001 +surrogate_CanESM2_94,rcp45,2003,-0.07400000000000001 +surrogate_CanESM2_94,rcp45,2004,-0.044000000000000004 +surrogate_CanESM2_94,rcp45,2005,-0.013999999999999999 +surrogate_CanESM2_94,rcp45,2006,0.016 +surrogate_CanESM2_94,rcp45,2007,0.046 +surrogate_CanESM2_94,rcp45,2008,0.076 +surrogate_CanESM2_94,rcp45,2009,0.106 +surrogate_CanESM2_94,rcp45,2010,0.126 +surrogate_CanESM2_94,rcp45,2011,0.156 +surrogate_CanESM2_94,rcp45,2012,0.18600000000000003 +surrogate_CanESM2_94,rcp45,2013,0.21600000000000003 +surrogate_CanESM2_94,rcp45,2014,0.24600000000000002 +surrogate_CanESM2_94,rcp45,2015,0.266 +surrogate_CanESM2_94,rcp45,2016,0.29600000000000004 +surrogate_CanESM2_94,rcp45,2017,0.336 +surrogate_CanESM2_94,rcp45,2018,0.366 +surrogate_CanESM2_94,rcp45,2019,0.406 +surrogate_CanESM2_94,rcp45,2020,0.436 +surrogate_CanESM2_94,rcp45,2021,0.47600000000000003 +surrogate_CanESM2_94,rcp45,2022,0.506 +surrogate_CanESM2_94,rcp45,2023,0.546 +surrogate_CanESM2_94,rcp45,2024,0.586 +surrogate_CanESM2_94,rcp45,2025,0.616 +surrogate_CanESM2_94,rcp45,2026,0.6559999999999999 +surrogate_CanESM2_94,rcp45,2027,0.6859999999999999 +surrogate_CanESM2_94,rcp45,2028,0.726 +surrogate_CanESM2_94,rcp45,2029,0.7659999999999999 +surrogate_CanESM2_94,rcp45,2030,0.8059999 +surrogate_CanESM2_94,rcp45,2031,0.846 +surrogate_CanESM2_94,rcp45,2032,0.8859999999999999 +surrogate_CanESM2_94,rcp45,2033,0.9259999 +surrogate_CanESM2_94,rcp45,2034,0.966 +surrogate_CanESM2_94,rcp45,2035,1.006 +surrogate_CanESM2_94,rcp45,2036,1.046 +surrogate_CanESM2_94,rcp45,2037,1.0859999999999999 +surrogate_CanESM2_94,rcp45,2038,1.126 +surrogate_CanESM2_94,rcp45,2039,1.166 +surrogate_CanESM2_94,rcp45,2040,1.216 +surrogate_CanESM2_94,rcp45,2041,1.256 +surrogate_CanESM2_94,rcp45,2042,1.296 +surrogate_CanESM2_94,rcp45,2043,1.3359999999999999 +surrogate_CanESM2_94,rcp45,2044,1.386 +surrogate_CanESM2_94,rcp45,2045,1.426 +surrogate_CanESM2_94,rcp45,2046,1.466 +surrogate_CanESM2_94,rcp45,2047,1.506 +surrogate_CanESM2_94,rcp45,2048,1.556 +surrogate_CanESM2_94,rcp45,2049,1.5959999999999999 +surrogate_CanESM2_94,rcp45,2050,1.646 +surrogate_CanESM2_94,rcp45,2051,1.686 +surrogate_CanESM2_94,rcp45,2052,1.726 +surrogate_CanESM2_94,rcp45,2053,1.776 +surrogate_CanESM2_94,rcp45,2054,1.8159999999999998 +surrogate_CanESM2_94,rcp45,2055,1.8559999999999999 +surrogate_CanESM2_94,rcp45,2056,1.896 +surrogate_CanESM2_94,rcp45,2057,1.936 +surrogate_CanESM2_94,rcp45,2058,1.966 +surrogate_CanESM2_94,rcp45,2059,2.006 +surrogate_CanESM2_94,rcp45,2060,2.046 +surrogate_CanESM2_94,rcp45,2061,2.096 +surrogate_CanESM2_94,rcp45,2062,2.136 +surrogate_CanESM2_94,rcp45,2063,2.166 +surrogate_CanESM2_94,rcp45,2064,2.206 +surrogate_CanESM2_94,rcp45,2065,2.246 +surrogate_CanESM2_94,rcp45,2066,2.276 +surrogate_CanESM2_94,rcp45,2067,2.316 +surrogate_CanESM2_94,rcp45,2068,2.356 +surrogate_CanESM2_94,rcp45,2069,2.386 +surrogate_CanESM2_94,rcp45,2070,2.416 +surrogate_CanESM2_94,rcp45,2071,2.4459999999999997 +surrogate_CanESM2_94,rcp45,2072,2.476 +surrogate_CanESM2_94,rcp45,2073,2.496 +surrogate_CanESM2_94,rcp45,2074,2.526 +surrogate_CanESM2_94,rcp45,2075,2.556 +surrogate_CanESM2_94,rcp45,2076,2.5860000000000003 +surrogate_CanESM2_94,rcp45,2077,2.616 +surrogate_CanESM2_94,rcp45,2078,2.636 +surrogate_CanESM2_94,rcp45,2079,2.6660000000000004 +surrogate_CanESM2_94,rcp45,2080,2.6860000000000004 +surrogate_CanESM2_94,rcp45,2081,2.716 +surrogate_CanESM2_94,rcp45,2082,2.736 +surrogate_CanESM2_94,rcp45,2083,2.7560000000000002 +surrogate_CanESM2_94,rcp45,2084,2.7760000000000002 +surrogate_CanESM2_94,rcp45,2085,2.806 +surrogate_CanESM2_94,rcp45,2086,2.826 +surrogate_CanESM2_94,rcp45,2087,2.846 +surrogate_CanESM2_94,rcp45,2088,2.866 +surrogate_CanESM2_94,rcp45,2089,2.8760000000000003 +surrogate_CanESM2_94,rcp45,2090,2.8960000000000004 +surrogate_CanESM2_94,rcp45,2091,2.9160000000000004 +surrogate_CanESM2_94,rcp45,2092,2.926 +surrogate_CanESM2_94,rcp45,2093,2.946 +surrogate_CanESM2_94,rcp45,2094,2.966 +surrogate_CanESM2_94,rcp45,2095,2.9760000000000004 +surrogate_CanESM2_94,rcp45,2096,2.9960000000000004 +surrogate_CanESM2_94,rcp45,2097,3.0060000000000002 +surrogate_CanESM2_94,rcp45,2098,3.0260000000000002 +surrogate_CanESM2_94,rcp45,2099,3.0460000000000003 +surrogate_CanESM2_94,rcp45,2100, +surrogate_CanESM2_94,rcp85,1981,-0.40299999999999997 +surrogate_CanESM2_94,rcp85,1982,-0.39299999999999996 +surrogate_CanESM2_94,rcp85,1983,-0.38299999999999995 +surrogate_CanESM2_94,rcp85,1984,-0.38299999999999995 +surrogate_CanESM2_94,rcp85,1985,-0.38299999999999995 +surrogate_CanESM2_94,rcp85,1986,-0.373 +surrogate_CanESM2_94,rcp85,1987,-0.363 +surrogate_CanESM2_94,rcp85,1988,-0.353 +surrogate_CanESM2_94,rcp85,1989,-0.34299999999999997 +surrogate_CanESM2_94,rcp85,1990,-0.33299999999999996 +surrogate_CanESM2_94,rcp85,1991,-0.32299999999999995 +surrogate_CanESM2_94,rcp85,1992,-0.303 +surrogate_CanESM2_94,rcp85,1993,-0.293 +surrogate_CanESM2_94,rcp85,1994,-0.273 +surrogate_CanESM2_94,rcp85,1995,-0.253 +surrogate_CanESM2_94,rcp85,1996,-0.233 +surrogate_CanESM2_94,rcp85,1997,-0.223 +surrogate_CanESM2_94,rcp85,1998,-0.203 +surrogate_CanESM2_94,rcp85,1999,-0.183 +surrogate_CanESM2_94,rcp85,2000,-0.163 +surrogate_CanESM2_94,rcp85,2001,-0.14300000000000002 +surrogate_CanESM2_94,rcp85,2002,-0.113 +surrogate_CanESM2_94,rcp85,2003,-0.073 +surrogate_CanESM2_94,rcp85,2004,-0.043 +surrogate_CanESM2_94,rcp85,2005,-0.013000000000000001 +surrogate_CanESM2_94,rcp85,2006,0.017 +surrogate_CanESM2_94,rcp85,2007,0.047 +surrogate_CanESM2_94,rcp85,2008,0.077 +surrogate_CanESM2_94,rcp85,2009,0.107 +surrogate_CanESM2_94,rcp85,2010,0.13699999999999998 +surrogate_CanESM2_94,rcp85,2011,0.16699999999999998 +surrogate_CanESM2_94,rcp85,2012,0.19699999999999998 +surrogate_CanESM2_94,rcp85,2013,0.22699999999999998 +surrogate_CanESM2_94,rcp85,2014,0.267 +surrogate_CanESM2_94,rcp85,2015,0.297 +surrogate_CanESM2_94,rcp85,2016,0.337 +surrogate_CanESM2_94,rcp85,2017,0.36700000000000005 +surrogate_CanESM2_94,rcp85,2018,0.40700000000000003 +surrogate_CanESM2_94,rcp85,2019,0.447 +surrogate_CanESM2_94,rcp85,2020,0.48700000000000004 +surrogate_CanESM2_94,rcp85,2021,0.527 +surrogate_CanESM2_94,rcp85,2022,0.5670000000000001 +surrogate_CanESM2_94,rcp85,2023,0.617 +surrogate_CanESM2_94,rcp85,2024,0.657 +surrogate_CanESM2_94,rcp85,2025,0.7070000000000001 +surrogate_CanESM2_94,rcp85,2026,0.747 +surrogate_CanESM2_94,rcp85,2027,0.797 +surrogate_CanESM2_94,rcp85,2028,0.8469999 +surrogate_CanESM2_94,rcp85,2029,0.897 +surrogate_CanESM2_94,rcp85,2030,0.9470000000000001 +surrogate_CanESM2_94,rcp85,2031,1.0070000000000001 +surrogate_CanESM2_94,rcp85,2032,1.057 +surrogate_CanESM2_94,rcp85,2033,1.107 +surrogate_CanESM2_94,rcp85,2034,1.157 +surrogate_CanESM2_94,rcp85,2035,1.217 +surrogate_CanESM2_94,rcp85,2036,1.2670000000000001 +surrogate_CanESM2_94,rcp85,2037,1.327 +surrogate_CanESM2_94,rcp85,2038,1.3969999999999998 +surrogate_CanESM2_94,rcp85,2039,1.4569999999999999 +surrogate_CanESM2_94,rcp85,2040,1.527 +surrogate_CanESM2_94,rcp85,2041,1.587 +surrogate_CanESM2_94,rcp85,2042,1.6569999999999998 +surrogate_CanESM2_94,rcp85,2043,1.7269999999999999 +surrogate_CanESM2_94,rcp85,2044,1.787 +surrogate_CanESM2_94,rcp85,2045,1.857 +surrogate_CanESM2_94,rcp85,2046,1.9269999999999998 +surrogate_CanESM2_94,rcp85,2047,1.9969999999999999 +surrogate_CanESM2_94,rcp85,2048,2.0669999999999997 +surrogate_CanESM2_94,rcp85,2049,2.147 +surrogate_CanESM2_94,rcp85,2050,2.217 +surrogate_CanESM2_94,rcp85,2051,2.2969999999999997 +surrogate_CanESM2_94,rcp85,2052,2.367 +surrogate_CanESM2_94,rcp85,2053,2.457 +surrogate_CanESM2_94,rcp85,2054,2.537 +surrogate_CanESM2_94,rcp85,2055,2.627 +surrogate_CanESM2_94,rcp85,2056,2.717 +surrogate_CanESM2_94,rcp85,2057,2.8169999999999997 +surrogate_CanESM2_94,rcp85,2058,2.907 +surrogate_CanESM2_94,rcp85,2059,2.997 +surrogate_CanESM2_94,rcp85,2060,3.0869999999999997 +surrogate_CanESM2_94,rcp85,2061,3.187 +surrogate_CanESM2_94,rcp85,2062,3.287 +surrogate_CanESM2_94,rcp85,2063,3.397 +surrogate_CanESM2_94,rcp85,2064,3.487 +surrogate_CanESM2_94,rcp85,2065,3.577 +surrogate_CanESM2_94,rcp85,2066,3.677 +surrogate_CanESM2_94,rcp85,2067,3.7769999999999997 +surrogate_CanESM2_94,rcp85,2068,3.867 +surrogate_CanESM2_94,rcp85,2069,3.967 +surrogate_CanESM2_94,rcp85,2070,4.0569999999999995 +surrogate_CanESM2_94,rcp85,2071,4.167 +surrogate_CanESM2_94,rcp85,2072,4.2669999999999995 +surrogate_CanESM2_94,rcp85,2073,4.357 +surrogate_CanESM2_94,rcp85,2074,4.427 +surrogate_CanESM2_94,rcp85,2075,4.507 +surrogate_CanESM2_94,rcp85,2076,4.587 +surrogate_CanESM2_94,rcp85,2077,4.707 +surrogate_CanESM2_94,rcp85,2078,4.8069999999999995 +surrogate_CanESM2_94,rcp85,2079,4.917 +surrogate_CanESM2_94,rcp85,2080,5.007 +surrogate_CanESM2_94,rcp85,2081,5.087 +surrogate_CanESM2_94,rcp85,2082,5.1770000000000005 +surrogate_CanESM2_94,rcp85,2083,5.287000000000001 +surrogate_CanESM2_94,rcp85,2084,5.357 +surrogate_CanESM2_94,rcp85,2085,5.4270000000000005 +surrogate_CanESM2_94,rcp85,2086,5.507000000000001 +surrogate_CanESM2_94,rcp85,2087,5.587000000000001 +surrogate_CanESM2_94,rcp85,2088,5.6770000000000005 +surrogate_CanESM2_94,rcp85,2089,5.767 +surrogate_CanESM2_94,rcp85,2090,5.847 +surrogate_CanESM2_94,rcp85,2091,5.947 +surrogate_CanESM2_94,rcp85,2092,6.037000000000001 +surrogate_CanESM2_94,rcp85,2093,6.127000000000001 +surrogate_CanESM2_94,rcp85,2094,6.207000000000001 +surrogate_CanESM2_94,rcp85,2095,6.287000000000001 +surrogate_CanESM2_94,rcp85,2096,6.367000000000001 +surrogate_CanESM2_94,rcp85,2097,6.447 +surrogate_CanESM2_94,rcp85,2098,6.547000000000001 +surrogate_CanESM2_94,rcp85,2099,6.657 +surrogate_CanESM2_94,rcp85,2100, +surrogate_CanESM2_99,rcp45,1981,-0.40399999999999997 +surrogate_CanESM2_99,rcp45,1982,-0.39399999999999996 +surrogate_CanESM2_99,rcp45,1983,-0.39399999999999996 +surrogate_CanESM2_99,rcp45,1984,-0.39399999999999996 +surrogate_CanESM2_99,rcp45,1985,-0.384 +surrogate_CanESM2_99,rcp45,1986,-0.374 +surrogate_CanESM2_99,rcp45,1987,-0.364 +surrogate_CanESM2_99,rcp45,1988,-0.354 +surrogate_CanESM2_99,rcp45,1989,-0.354 +surrogate_CanESM2_99,rcp45,1990,-0.344 +surrogate_CanESM2_99,rcp45,1991,-0.324 +surrogate_CanESM2_99,rcp45,1992,-0.314 +surrogate_CanESM2_99,rcp45,1993,-0.304 +surrogate_CanESM2_99,rcp45,1994,-0.284 +surrogate_CanESM2_99,rcp45,1995,-0.27399999999999997 +surrogate_CanESM2_99,rcp45,1996,-0.254 +surrogate_CanESM2_99,rcp45,1997,-0.23399999999999999 +surrogate_CanESM2_99,rcp45,1998,-0.214 +surrogate_CanESM2_99,rcp45,1999,-0.19399999999999998 +surrogate_CanESM2_99,rcp45,2000,-0.16399999999999998 +surrogate_CanESM2_99,rcp45,2001,-0.14400000000000002 +surrogate_CanESM2_99,rcp45,2002,-0.114 +surrogate_CanESM2_99,rcp45,2003,-0.084 +surrogate_CanESM2_99,rcp45,2004,-0.044000000000000004 +surrogate_CanESM2_99,rcp45,2005,-0.013999999999999999 +surrogate_CanESM2_99,rcp45,2006,0.016 +surrogate_CanESM2_99,rcp45,2007,0.055999999999999994 +surrogate_CanESM2_99,rcp45,2008,0.086 +surrogate_CanESM2_99,rcp45,2009,0.106 +surrogate_CanESM2_99,rcp45,2010,0.136 +surrogate_CanESM2_99,rcp45,2011,0.166 +surrogate_CanESM2_99,rcp45,2012,0.20600000000000002 +surrogate_CanESM2_99,rcp45,2013,0.24600000000000002 +surrogate_CanESM2_99,rcp45,2014,0.276 +surrogate_CanESM2_99,rcp45,2015,0.316 +surrogate_CanESM2_99,rcp45,2016,0.35600000000000004 +surrogate_CanESM2_99,rcp45,2017,0.396 +surrogate_CanESM2_99,rcp45,2018,0.436 +surrogate_CanESM2_99,rcp45,2019,0.47600000000000003 +surrogate_CanESM2_99,rcp45,2020,0.516 +surrogate_CanESM2_99,rcp45,2021,0.5660000000000001 +surrogate_CanESM2_99,rcp45,2022,0.616 +surrogate_CanESM2_99,rcp45,2023,0.6659999999999999 +surrogate_CanESM2_99,rcp45,2024,0.716 +surrogate_CanESM2_99,rcp45,2025,0.7659999999999999 +surrogate_CanESM2_99,rcp45,2026,0.816 +surrogate_CanESM2_99,rcp45,2027,0.8759999999999999 +surrogate_CanESM2_99,rcp45,2028,0.9260001 +surrogate_CanESM2_99,rcp45,2029,0.976 +surrogate_CanESM2_99,rcp45,2030,1.036 +surrogate_CanESM2_99,rcp45,2031,1.0859999999999999 +surrogate_CanESM2_99,rcp45,2032,1.146 +surrogate_CanESM2_99,rcp45,2033,1.206 +surrogate_CanESM2_99,rcp45,2034,1.256 +surrogate_CanESM2_99,rcp45,2035,1.3159999999999998 +surrogate_CanESM2_99,rcp45,2036,1.376 +surrogate_CanESM2_99,rcp45,2037,1.426 +surrogate_CanESM2_99,rcp45,2038,1.486 +surrogate_CanESM2_99,rcp45,2039,1.536 +surrogate_CanESM2_99,rcp45,2040,1.5959999999999999 +surrogate_CanESM2_99,rcp45,2041,1.656 +surrogate_CanESM2_99,rcp45,2042,1.706 +surrogate_CanESM2_99,rcp45,2043,1.766 +surrogate_CanESM2_99,rcp45,2044,1.8259999999999998 +surrogate_CanESM2_99,rcp45,2045,1.906 +surrogate_CanESM2_99,rcp45,2046,1.976 +surrogate_CanESM2_99,rcp45,2047,2.056 +surrogate_CanESM2_99,rcp45,2048,2.106 +surrogate_CanESM2_99,rcp45,2049,2.156 +surrogate_CanESM2_99,rcp45,2050,2.206 +surrogate_CanESM2_99,rcp45,2051,2.256 +surrogate_CanESM2_99,rcp45,2052,2.306 +surrogate_CanESM2_99,rcp45,2053,2.346 +surrogate_CanESM2_99,rcp45,2054,2.396 +surrogate_CanESM2_99,rcp45,2055,2.4459999999999997 +surrogate_CanESM2_99,rcp45,2056,2.4859999999999998 +surrogate_CanESM2_99,rcp45,2057,2.526 +surrogate_CanESM2_99,rcp45,2058,2.576 +surrogate_CanESM2_99,rcp45,2059,2.616 +surrogate_CanESM2_99,rcp45,2060,2.6660000000000004 +surrogate_CanESM2_99,rcp45,2061,2.7060000000000004 +surrogate_CanESM2_99,rcp45,2062,2.7560000000000002 +surrogate_CanESM2_99,rcp45,2063,2.8160000000000003 +surrogate_CanESM2_99,rcp45,2064,2.866 +surrogate_CanESM2_99,rcp45,2065,2.9160000000000004 +surrogate_CanESM2_99,rcp45,2066,2.9560000000000004 +surrogate_CanESM2_99,rcp45,2067,3.0060000000000002 +surrogate_CanESM2_99,rcp45,2068,3.056 +surrogate_CanESM2_99,rcp45,2069,3.1060000000000003 +surrogate_CanESM2_99,rcp45,2070,3.156 +surrogate_CanESM2_99,rcp45,2071,3.2060000000000004 +surrogate_CanESM2_99,rcp45,2072,3.2460000000000004 +surrogate_CanESM2_99,rcp45,2073,3.286 +surrogate_CanESM2_99,rcp45,2074,3.326 +surrogate_CanESM2_99,rcp45,2075,3.366 +surrogate_CanESM2_99,rcp45,2076,3.406 +surrogate_CanESM2_99,rcp45,2077,3.446 +surrogate_CanESM2_99,rcp45,2078,3.4760000000000004 +surrogate_CanESM2_99,rcp45,2079,3.516 +surrogate_CanESM2_99,rcp45,2080,3.5460000000000003 +surrogate_CanESM2_99,rcp45,2081,3.596 +surrogate_CanESM2_99,rcp45,2082,3.636 +surrogate_CanESM2_99,rcp45,2083,3.6660000000000004 +surrogate_CanESM2_99,rcp45,2084,3.696 +surrogate_CanESM2_99,rcp45,2085,3.7260000000000004 +surrogate_CanESM2_99,rcp45,2086,3.7560000000000002 +surrogate_CanESM2_99,rcp45,2087,3.786 +surrogate_CanESM2_99,rcp45,2088,3.8160000000000003 +surrogate_CanESM2_99,rcp45,2089,3.846 +surrogate_CanESM2_99,rcp45,2090,3.8760000000000003 +surrogate_CanESM2_99,rcp45,2091,3.906 +surrogate_CanESM2_99,rcp45,2092,3.9360000000000004 +surrogate_CanESM2_99,rcp45,2093,3.966 +surrogate_CanESM2_99,rcp45,2094,3.986 +surrogate_CanESM2_99,rcp45,2095,4.016 +surrogate_CanESM2_99,rcp45,2096,4.046 +surrogate_CanESM2_99,rcp45,2097,4.0760000000000005 +surrogate_CanESM2_99,rcp45,2098,4.106 +surrogate_CanESM2_99,rcp45,2099,4.126 +surrogate_CanESM2_99,rcp45,2100, +surrogate_CanESM2_99,rcp85,1981,-0.40700000000000003 +surrogate_CanESM2_99,rcp85,1982,-0.397 +surrogate_CanESM2_99,rcp85,1983,-0.397 +surrogate_CanESM2_99,rcp85,1984,-0.397 +surrogate_CanESM2_99,rcp85,1985,-0.387 +surrogate_CanESM2_99,rcp85,1986,-0.377 +surrogate_CanESM2_99,rcp85,1987,-0.36700000000000005 +surrogate_CanESM2_99,rcp85,1988,-0.35700000000000004 +surrogate_CanESM2_99,rcp85,1989,-0.34700000000000003 +surrogate_CanESM2_99,rcp85,1990,-0.337 +surrogate_CanESM2_99,rcp85,1991,-0.337 +surrogate_CanESM2_99,rcp85,1992,-0.317 +surrogate_CanESM2_99,rcp85,1993,-0.307 +surrogate_CanESM2_99,rcp85,1994,-0.287 +surrogate_CanESM2_99,rcp85,1995,-0.27699999999999997 +surrogate_CanESM2_99,rcp85,1996,-0.257 +surrogate_CanESM2_99,rcp85,1997,-0.237 +surrogate_CanESM2_99,rcp85,1998,-0.217 +surrogate_CanESM2_99,rcp85,1999,-0.19699999999999998 +surrogate_CanESM2_99,rcp85,2000,-0.177 +surrogate_CanESM2_99,rcp85,2001,-0.157 +surrogate_CanESM2_99,rcp85,2002,-0.127 +surrogate_CanESM2_99,rcp85,2003,-0.087 +surrogate_CanESM2_99,rcp85,2004,-0.047 +surrogate_CanESM2_99,rcp85,2005,-0.017 +surrogate_CanESM2_99,rcp85,2006,0.023 +surrogate_CanESM2_99,rcp85,2007,0.053 +surrogate_CanESM2_99,rcp85,2008,0.083 +surrogate_CanESM2_99,rcp85,2009,0.12300000000000001 +surrogate_CanESM2_99,rcp85,2010,0.153 +surrogate_CanESM2_99,rcp85,2011,0.183 +surrogate_CanESM2_99,rcp85,2012,0.223 +surrogate_CanESM2_99,rcp85,2013,0.253 +surrogate_CanESM2_99,rcp85,2014,0.293 +surrogate_CanESM2_99,rcp85,2015,0.33299999999999996 +surrogate_CanESM2_99,rcp85,2016,0.373 +surrogate_CanESM2_99,rcp85,2017,0.413 +surrogate_CanESM2_99,rcp85,2018,0.46299999999999997 +surrogate_CanESM2_99,rcp85,2019,0.503 +surrogate_CanESM2_99,rcp85,2020,0.5529999999999999 +surrogate_CanESM2_99,rcp85,2021,0.603 +surrogate_CanESM2_99,rcp85,2022,0.6530001 +surrogate_CanESM2_99,rcp85,2023,0.703 +surrogate_CanESM2_99,rcp85,2024,0.753 +surrogate_CanESM2_99,rcp85,2025,0.813 +surrogate_CanESM2_99,rcp85,2026,0.863 +surrogate_CanESM2_99,rcp85,2027,0.9229999999999999 +surrogate_CanESM2_99,rcp85,2028,0.983 +surrogate_CanESM2_99,rcp85,2029,1.043 +surrogate_CanESM2_99,rcp85,2030,1.103 +surrogate_CanESM2_99,rcp85,2031,1.173 +surrogate_CanESM2_99,rcp85,2032,1.2329999999999999 +surrogate_CanESM2_99,rcp85,2033,1.3030000000000002 +surrogate_CanESM2_99,rcp85,2034,1.3630000000000002 +surrogate_CanESM2_99,rcp85,2035,1.443 +surrogate_CanESM2_99,rcp85,2036,1.5130000000000001 +surrogate_CanESM2_99,rcp85,2037,1.5930000000000002 +surrogate_CanESM2_99,rcp85,2038,1.663 +surrogate_CanESM2_99,rcp85,2039,1.733 +surrogate_CanESM2_99,rcp85,2040,1.8130000000000002 +surrogate_CanESM2_99,rcp85,2041,1.893 +surrogate_CanESM2_99,rcp85,2042,1.983 +surrogate_CanESM2_99,rcp85,2043,2.073 +surrogate_CanESM2_99,rcp85,2044,2.173 +surrogate_CanESM2_99,rcp85,2045,2.273 +surrogate_CanESM2_99,rcp85,2046,2.353 +surrogate_CanESM2_99,rcp85,2047,2.443 +surrogate_CanESM2_99,rcp85,2048,2.533 +surrogate_CanESM2_99,rcp85,2049,2.623 +surrogate_CanESM2_99,rcp85,2050,2.7030000000000003 +surrogate_CanESM2_99,rcp85,2051,2.783 +surrogate_CanESM2_99,rcp85,2052,2.863 +surrogate_CanESM2_99,rcp85,2053,2.983 +surrogate_CanESM2_99,rcp85,2054,3.083 +surrogate_CanESM2_99,rcp85,2055,3.173 +surrogate_CanESM2_99,rcp85,2056,3.273 +surrogate_CanESM2_99,rcp85,2057,3.373 +surrogate_CanESM2_99,rcp85,2058,3.463 +surrogate_CanESM2_99,rcp85,2059,3.583 +surrogate_CanESM2_99,rcp85,2060,3.713 +surrogate_CanESM2_99,rcp85,2061,3.803 +surrogate_CanESM2_99,rcp85,2062,3.903 +surrogate_CanESM2_99,rcp85,2063,3.9930000000000003 +surrogate_CanESM2_99,rcp85,2064,4.123 +surrogate_CanESM2_99,rcp85,2065,4.263 +surrogate_CanESM2_99,rcp85,2066,4.423 +surrogate_CanESM2_99,rcp85,2067,4.603 +surrogate_CanESM2_99,rcp85,2068,4.753 +surrogate_CanESM2_99,rcp85,2069,4.863 +surrogate_CanESM2_99,rcp85,2070,4.9830000000000005 +surrogate_CanESM2_99,rcp85,2071,5.093 +surrogate_CanESM2_99,rcp85,2072,5.202999999999999 +surrogate_CanESM2_99,rcp85,2073,5.313 +surrogate_CanESM2_99,rcp85,2074,5.422999999999999 +surrogate_CanESM2_99,rcp85,2075,5.553 +surrogate_CanESM2_99,rcp85,2076,5.702999999999999 +surrogate_CanESM2_99,rcp85,2077,5.8629999999999995 +surrogate_CanESM2_99,rcp85,2078,6.042999999999999 +surrogate_CanESM2_99,rcp85,2079,6.242999999999999 +surrogate_CanESM2_99,rcp85,2080,6.403 +surrogate_CanESM2_99,rcp85,2081,6.5729999999999995 +surrogate_CanESM2_99,rcp85,2082,6.723 +surrogate_CanESM2_99,rcp85,2083,6.882999999999999 +surrogate_CanESM2_99,rcp85,2084,7.0329999999999995 +surrogate_CanESM2_99,rcp85,2085,7.183 +surrogate_CanESM2_99,rcp85,2086,7.303 +surrogate_CanESM2_99,rcp85,2087,7.433 +surrogate_CanESM2_99,rcp85,2088,7.553 +surrogate_CanESM2_99,rcp85,2089,7.773 +surrogate_CanESM2_99,rcp85,2090,7.902999 +surrogate_CanESM2_99,rcp85,2091,8.033 +surrogate_CanESM2_99,rcp85,2092,8.163 +surrogate_CanESM2_99,rcp85,2093,8.283 +surrogate_CanESM2_99,rcp85,2094,8.402999999999999 +surrogate_CanESM2_99,rcp85,2095,8.513 +surrogate_CanESM2_99,rcp85,2096,8.652999999999999 +surrogate_CanESM2_99,rcp85,2097,8.873 +surrogate_CanESM2_99,rcp85,2098,9.073 +surrogate_CanESM2_99,rcp85,2099,9.243 +surrogate_CanESM2_99,rcp85,2100, +surrogate_GFDL-CM3_89,rcp45,1981,-0.381 +surrogate_GFDL-CM3_89,rcp45,1982,-0.371 +surrogate_GFDL-CM3_89,rcp45,1983,-0.371 +surrogate_GFDL-CM3_89,rcp45,1984,-0.361 +surrogate_GFDL-CM3_89,rcp45,1985,-0.361 +surrogate_GFDL-CM3_89,rcp45,1986,-0.35100000000000003 +surrogate_GFDL-CM3_89,rcp45,1987,-0.341 +surrogate_GFDL-CM3_89,rcp45,1988,-0.331 +surrogate_GFDL-CM3_89,rcp45,1989,-0.321 +surrogate_GFDL-CM3_89,rcp45,1990,-0.311 +surrogate_GFDL-CM3_89,rcp45,1991,-0.301 +surrogate_GFDL-CM3_89,rcp45,1992,-0.29100000000000004 +surrogate_GFDL-CM3_89,rcp45,1993,-0.271 +surrogate_GFDL-CM3_89,rcp45,1994,-0.251 +surrogate_GFDL-CM3_89,rcp45,1995,-0.231 +surrogate_GFDL-CM3_89,rcp45,1996,-0.21100000000000002 +surrogate_GFDL-CM3_89,rcp45,1997,-0.201 +surrogate_GFDL-CM3_89,rcp45,1998,-0.18100000000000002 +surrogate_GFDL-CM3_89,rcp45,1999,-0.161 +surrogate_GFDL-CM3_89,rcp45,2000,-0.141 +surrogate_GFDL-CM3_89,rcp45,2001,-0.121 +surrogate_GFDL-CM3_89,rcp45,2002,-0.10099999999999999 +surrogate_GFDL-CM3_89,rcp45,2003,-0.071 +surrogate_GFDL-CM3_89,rcp45,2004,-0.040999999999999995 +surrogate_GFDL-CM3_89,rcp45,2005,-0.011000000000000001 +surrogate_GFDL-CM3_89,rcp45,2006,0.019 +surrogate_GFDL-CM3_89,rcp45,2007,0.039 +surrogate_GFDL-CM3_89,rcp45,2008,0.069 +surrogate_GFDL-CM3_89,rcp45,2009,0.099 +surrogate_GFDL-CM3_89,rcp45,2010,0.11900000000000001 +surrogate_GFDL-CM3_89,rcp45,2011,0.149 +surrogate_GFDL-CM3_89,rcp45,2012,0.16899999999999998 +surrogate_GFDL-CM3_89,rcp45,2013,0.19899999999999998 +surrogate_GFDL-CM3_89,rcp45,2014,0.22899999999999998 +surrogate_GFDL-CM3_89,rcp45,2015,0.259 +surrogate_GFDL-CM3_89,rcp45,2016,0.289 +surrogate_GFDL-CM3_89,rcp45,2017,0.319 +surrogate_GFDL-CM3_89,rcp45,2018,0.349 +surrogate_GFDL-CM3_89,rcp45,2019,0.379 +surrogate_GFDL-CM3_89,rcp45,2020,0.409 +surrogate_GFDL-CM3_89,rcp45,2021,0.439 +surrogate_GFDL-CM3_89,rcp45,2022,0.469 +surrogate_GFDL-CM3_89,rcp45,2023,0.509 +surrogate_GFDL-CM3_89,rcp45,2024,0.539 +surrogate_GFDL-CM3_89,rcp45,2025,0.569 +surrogate_GFDL-CM3_89,rcp45,2026,0.599 +surrogate_GFDL-CM3_89,rcp45,2027,0.639 +surrogate_GFDL-CM3_89,rcp45,2028,0.669 +surrogate_GFDL-CM3_89,rcp45,2029,0.7090000000000001 +surrogate_GFDL-CM3_89,rcp45,2030,0.7390000000000001 +surrogate_GFDL-CM3_89,rcp45,2031,0.779 +surrogate_GFDL-CM3_89,rcp45,2032,0.8189999 +surrogate_GFDL-CM3_89,rcp45,2033,0.8490000000000001 +surrogate_GFDL-CM3_89,rcp45,2034,0.889 +surrogate_GFDL-CM3_89,rcp45,2035,0.919 +surrogate_GFDL-CM3_89,rcp45,2036,0.9589999 +surrogate_GFDL-CM3_89,rcp45,2037,0.9990000000000001 +surrogate_GFDL-CM3_89,rcp45,2038,1.0290000000000001 +surrogate_GFDL-CM3_89,rcp45,2039,1.069 +surrogate_GFDL-CM3_89,rcp45,2040,1.109 +surrogate_GFDL-CM3_89,rcp45,2041,1.149 +surrogate_GFDL-CM3_89,rcp45,2042,1.189 +surrogate_GFDL-CM3_89,rcp45,2043,1.219 +surrogate_GFDL-CM3_89,rcp45,2044,1.2590000000000001 +surrogate_GFDL-CM3_89,rcp45,2045,1.2990000000000002 +surrogate_GFDL-CM3_89,rcp45,2046,1.329 +surrogate_GFDL-CM3_89,rcp45,2047,1.369 +surrogate_GFDL-CM3_89,rcp45,2048,1.409 +surrogate_GFDL-CM3_89,rcp45,2049,1.439 +surrogate_GFDL-CM3_89,rcp45,2050,1.479 +surrogate_GFDL-CM3_89,rcp45,2051,1.5190000000000001 +surrogate_GFDL-CM3_89,rcp45,2052,1.5490000000000002 +surrogate_GFDL-CM3_89,rcp45,2053,1.589 +surrogate_GFDL-CM3_89,rcp45,2054,1.619 +surrogate_GFDL-CM3_89,rcp45,2055,1.659 +surrogate_GFDL-CM3_89,rcp45,2056,1.689 +surrogate_GFDL-CM3_89,rcp45,2057,1.729 +surrogate_GFDL-CM3_89,rcp45,2058,1.7590000000000001 +surrogate_GFDL-CM3_89,rcp45,2059,1.7890000000000001 +surrogate_GFDL-CM3_89,rcp45,2060,1.829 +surrogate_GFDL-CM3_89,rcp45,2061,1.859 +surrogate_GFDL-CM3_89,rcp45,2062,1.889 +surrogate_GFDL-CM3_89,rcp45,2063,1.919 +surrogate_GFDL-CM3_89,rcp45,2064,1.949 +surrogate_GFDL-CM3_89,rcp45,2065,1.979 +surrogate_GFDL-CM3_89,rcp45,2066,2.009 +surrogate_GFDL-CM3_89,rcp45,2067,2.039 +surrogate_GFDL-CM3_89,rcp45,2068,2.069 +surrogate_GFDL-CM3_89,rcp45,2069,2.089 +surrogate_GFDL-CM3_89,rcp45,2070,2.119 +surrogate_GFDL-CM3_89,rcp45,2071,2.149 +surrogate_GFDL-CM3_89,rcp45,2072,2.169 +surrogate_GFDL-CM3_89,rcp45,2073,2.199 +surrogate_GFDL-CM3_89,rcp45,2074,2.229 +surrogate_GFDL-CM3_89,rcp45,2075,2.249 +surrogate_GFDL-CM3_89,rcp45,2076,2.279 +surrogate_GFDL-CM3_89,rcp45,2077,2.299 +surrogate_GFDL-CM3_89,rcp45,2078,2.319 +surrogate_GFDL-CM3_89,rcp45,2079,2.349 +surrogate_GFDL-CM3_89,rcp45,2080,2.369 +surrogate_GFDL-CM3_89,rcp45,2081,2.3890000000000002 +surrogate_GFDL-CM3_89,rcp45,2082,2.4090000000000003 +surrogate_GFDL-CM3_89,rcp45,2083,2.439 +surrogate_GFDL-CM3_89,rcp45,2084,2.459 +surrogate_GFDL-CM3_89,rcp45,2085,2.479 +surrogate_GFDL-CM3_89,rcp45,2086,2.489 +surrogate_GFDL-CM3_89,rcp45,2087,2.509 +surrogate_GFDL-CM3_89,rcp45,2088,2.519 +surrogate_GFDL-CM3_89,rcp45,2089,2.539 +surrogate_GFDL-CM3_89,rcp45,2090,2.549 +surrogate_GFDL-CM3_89,rcp45,2091,2.559 +surrogate_GFDL-CM3_89,rcp45,2092,2.5789999999999997 +surrogate_GFDL-CM3_89,rcp45,2093,2.5989999999999998 +surrogate_GFDL-CM3_89,rcp45,2094,2.609 +surrogate_GFDL-CM3_89,rcp45,2095,2.6289999999999996 +surrogate_GFDL-CM3_89,rcp45,2096,2.639 +surrogate_GFDL-CM3_89,rcp45,2097,2.6489999999999996 +surrogate_GFDL-CM3_89,rcp45,2098,2.6689999999999996 +surrogate_GFDL-CM3_89,rcp45,2099,2.679 +surrogate_GFDL-CM3_89,rcp45,2100, +surrogate_GFDL-CM3_89,rcp85,1981,-0.401 +surrogate_GFDL-CM3_89,rcp85,1982,-0.381 +surrogate_GFDL-CM3_89,rcp85,1983,-0.381 +surrogate_GFDL-CM3_89,rcp85,1984,-0.381 +surrogate_GFDL-CM3_89,rcp85,1985,-0.371 +surrogate_GFDL-CM3_89,rcp85,1986,-0.361 +surrogate_GFDL-CM3_89,rcp85,1987,-0.35100000000000003 +surrogate_GFDL-CM3_89,rcp85,1988,-0.341 +surrogate_GFDL-CM3_89,rcp85,1989,-0.331 +surrogate_GFDL-CM3_89,rcp85,1990,-0.321 +surrogate_GFDL-CM3_89,rcp85,1991,-0.311 +surrogate_GFDL-CM3_89,rcp85,1992,-0.301 +surrogate_GFDL-CM3_89,rcp85,1993,-0.281 +surrogate_GFDL-CM3_89,rcp85,1994,-0.261 +surrogate_GFDL-CM3_89,rcp85,1995,-0.24100000000000002 +surrogate_GFDL-CM3_89,rcp85,1996,-0.231 +surrogate_GFDL-CM3_89,rcp85,1997,-0.21100000000000002 +surrogate_GFDL-CM3_89,rcp85,1998,-0.191 +surrogate_GFDL-CM3_89,rcp85,1999,-0.171 +surrogate_GFDL-CM3_89,rcp85,2000,-0.151 +surrogate_GFDL-CM3_89,rcp85,2001,-0.131 +surrogate_GFDL-CM3_89,rcp85,2002,-0.111 +surrogate_GFDL-CM3_89,rcp85,2003,-0.071 +surrogate_GFDL-CM3_89,rcp85,2004,-0.040999999999999995 +surrogate_GFDL-CM3_89,rcp85,2005,-0.011000000000000001 +surrogate_GFDL-CM3_89,rcp85,2006,0.019 +surrogate_GFDL-CM3_89,rcp85,2007,0.049 +surrogate_GFDL-CM3_89,rcp85,2008,0.069 +surrogate_GFDL-CM3_89,rcp85,2009,0.099 +surrogate_GFDL-CM3_89,rcp85,2010,0.129 +surrogate_GFDL-CM3_89,rcp85,2011,0.149 +surrogate_GFDL-CM3_89,rcp85,2012,0.179 +surrogate_GFDL-CM3_89,rcp85,2013,0.209 +surrogate_GFDL-CM3_89,rcp85,2014,0.239 +surrogate_GFDL-CM3_89,rcp85,2015,0.26899999999999996 +surrogate_GFDL-CM3_89,rcp85,2016,0.309 +surrogate_GFDL-CM3_89,rcp85,2017,0.33899999999999997 +surrogate_GFDL-CM3_89,rcp85,2018,0.379 +surrogate_GFDL-CM3_89,rcp85,2019,0.409 +surrogate_GFDL-CM3_89,rcp85,2020,0.439 +surrogate_GFDL-CM3_89,rcp85,2021,0.479 +surrogate_GFDL-CM3_89,rcp85,2022,0.519 +surrogate_GFDL-CM3_89,rcp85,2023,0.5589999999999999 +surrogate_GFDL-CM3_89,rcp85,2024,0.599 +surrogate_GFDL-CM3_89,rcp85,2025,0.639 +surrogate_GFDL-CM3_89,rcp85,2026,0.679 +surrogate_GFDL-CM3_89,rcp85,2027,0.7290000000000001 +surrogate_GFDL-CM3_89,rcp85,2028,0.7690001000000001 +surrogate_GFDL-CM3_89,rcp85,2029,0.8190000000000001 +surrogate_GFDL-CM3_89,rcp85,2030,0.8590000000000001 +surrogate_GFDL-CM3_89,rcp85,2031,0.909 +surrogate_GFDL-CM3_89,rcp85,2032,0.9590000000000001 +surrogate_GFDL-CM3_89,rcp85,2033,1.0090000000000001 +surrogate_GFDL-CM3_89,rcp85,2034,1.0590000000000002 +surrogate_GFDL-CM3_89,rcp85,2035,1.109 +surrogate_GFDL-CM3_89,rcp85,2036,1.159 +surrogate_GFDL-CM3_89,rcp85,2037,1.219 +surrogate_GFDL-CM3_89,rcp85,2038,1.2690000000000001 +surrogate_GFDL-CM3_89,rcp85,2039,1.329 +surrogate_GFDL-CM3_89,rcp85,2040,1.389 +surrogate_GFDL-CM3_89,rcp85,2041,1.449 +surrogate_GFDL-CM3_89,rcp85,2042,1.5090000000000001 +surrogate_GFDL-CM3_89,rcp85,2043,1.569 +surrogate_GFDL-CM3_89,rcp85,2044,1.629 +surrogate_GFDL-CM3_89,rcp85,2045,1.689 +surrogate_GFDL-CM3_89,rcp85,2046,1.749 +surrogate_GFDL-CM3_89,rcp85,2047,1.8090000000000002 +surrogate_GFDL-CM3_89,rcp85,2048,1.879 +surrogate_GFDL-CM3_89,rcp85,2049,1.949 +surrogate_GFDL-CM3_89,rcp85,2050,2.029 +surrogate_GFDL-CM3_89,rcp85,2051,2.099 +surrogate_GFDL-CM3_89,rcp85,2052,2.169 +surrogate_GFDL-CM3_89,rcp85,2053,2.239 +surrogate_GFDL-CM3_89,rcp85,2054,2.299 +surrogate_GFDL-CM3_89,rcp85,2055,2.359 +surrogate_GFDL-CM3_89,rcp85,2056,2.4290000000000003 +surrogate_GFDL-CM3_89,rcp85,2057,2.499 +surrogate_GFDL-CM3_89,rcp85,2058,2.569 +surrogate_GFDL-CM3_89,rcp85,2059,2.639 +surrogate_GFDL-CM3_89,rcp85,2060,2.7089999999999996 +surrogate_GFDL-CM3_89,rcp85,2061,2.7889999999999997 +surrogate_GFDL-CM3_89,rcp85,2062,2.859 +surrogate_GFDL-CM3_89,rcp85,2063,2.9389999999999996 +surrogate_GFDL-CM3_89,rcp85,2064,3.0189999999999997 +surrogate_GFDL-CM3_89,rcp85,2065,3.089 +surrogate_GFDL-CM3_89,rcp85,2066,3.1689999999999996 +surrogate_GFDL-CM3_89,rcp85,2067,3.239 +surrogate_GFDL-CM3_89,rcp85,2068,3.319 +surrogate_GFDL-CM3_89,rcp85,2069,3.389 +surrogate_GFDL-CM3_89,rcp85,2070,3.469 +surrogate_GFDL-CM3_89,rcp85,2071,3.549 +surrogate_GFDL-CM3_89,rcp85,2072,3.6289999999999996 +surrogate_GFDL-CM3_89,rcp85,2073,3.7089999999999996 +surrogate_GFDL-CM3_89,rcp85,2074,3.799 +surrogate_GFDL-CM3_89,rcp85,2075,3.8789999999999996 +surrogate_GFDL-CM3_89,rcp85,2076,3.9589999999999996 +surrogate_GFDL-CM3_89,rcp85,2077,4.029 +surrogate_GFDL-CM3_89,rcp85,2078,4.109 +surrogate_GFDL-CM3_89,rcp85,2079,4.178999999999999 +surrogate_GFDL-CM3_89,rcp85,2080,4.2589999999999995 +surrogate_GFDL-CM3_89,rcp85,2081,4.3389999999999995 +surrogate_GFDL-CM3_89,rcp85,2082,4.428999999999999 +surrogate_GFDL-CM3_89,rcp85,2083,4.5089999999999995 +surrogate_GFDL-CM3_89,rcp85,2084,4.599 +surrogate_GFDL-CM3_89,rcp85,2085,4.699 +surrogate_GFDL-CM3_89,rcp85,2086,4.779 +surrogate_GFDL-CM3_89,rcp85,2087,4.888999999999999 +surrogate_GFDL-CM3_89,rcp85,2088,4.989 +surrogate_GFDL-CM3_89,rcp85,2089,5.079 +surrogate_GFDL-CM3_89,rcp85,2090,5.169 +surrogate_GFDL-CM3_89,rcp85,2091,5.2589999999999995 +surrogate_GFDL-CM3_89,rcp85,2092,5.349 +surrogate_GFDL-CM3_89,rcp85,2093,5.439 +surrogate_GFDL-CM3_89,rcp85,2094,5.539 +surrogate_GFDL-CM3_89,rcp85,2095,5.629 +surrogate_GFDL-CM3_89,rcp85,2096,5.729 +surrogate_GFDL-CM3_89,rcp85,2097,5.829 +surrogate_GFDL-CM3_89,rcp85,2098,5.909 +surrogate_GFDL-CM3_89,rcp85,2099,5.999 +surrogate_GFDL-CM3_89,rcp85,2100, +surrogate_GFDL-CM3_94,rcp45,1981,-0.39399999999999996 +surrogate_GFDL-CM3_94,rcp45,1982,-0.374 +surrogate_GFDL-CM3_94,rcp45,1983,-0.374 +surrogate_GFDL-CM3_94,rcp45,1984,-0.374 +surrogate_GFDL-CM3_94,rcp45,1985,-0.364 +surrogate_GFDL-CM3_94,rcp45,1986,-0.354 +surrogate_GFDL-CM3_94,rcp45,1987,-0.344 +surrogate_GFDL-CM3_94,rcp45,1988,-0.33399999999999996 +surrogate_GFDL-CM3_94,rcp45,1989,-0.324 +surrogate_GFDL-CM3_94,rcp45,1990,-0.314 +surrogate_GFDL-CM3_94,rcp45,1991,-0.304 +surrogate_GFDL-CM3_94,rcp45,1992,-0.294 +surrogate_GFDL-CM3_94,rcp45,1993,-0.27399999999999997 +surrogate_GFDL-CM3_94,rcp45,1994,-0.264 +surrogate_GFDL-CM3_94,rcp45,1995,-0.244 +surrogate_GFDL-CM3_94,rcp45,1996,-0.22399999999999998 +surrogate_GFDL-CM3_94,rcp45,1997,-0.214 +surrogate_GFDL-CM3_94,rcp45,1998,-0.19399999999999998 +surrogate_GFDL-CM3_94,rcp45,1999,-0.174 +surrogate_GFDL-CM3_94,rcp45,2000,-0.154 +surrogate_GFDL-CM3_94,rcp45,2001,-0.134 +surrogate_GFDL-CM3_94,rcp45,2002,-0.10400000000000001 +surrogate_GFDL-CM3_94,rcp45,2003,-0.07400000000000001 +surrogate_GFDL-CM3_94,rcp45,2004,-0.044000000000000004 +surrogate_GFDL-CM3_94,rcp45,2005,-0.013999999999999999 +surrogate_GFDL-CM3_94,rcp45,2006,0.016 +surrogate_GFDL-CM3_94,rcp45,2007,0.046 +surrogate_GFDL-CM3_94,rcp45,2008,0.076 +surrogate_GFDL-CM3_94,rcp45,2009,0.106 +surrogate_GFDL-CM3_94,rcp45,2010,0.126 +surrogate_GFDL-CM3_94,rcp45,2011,0.156 +surrogate_GFDL-CM3_94,rcp45,2012,0.18600000000000003 +surrogate_GFDL-CM3_94,rcp45,2013,0.21600000000000003 +surrogate_GFDL-CM3_94,rcp45,2014,0.24600000000000002 +surrogate_GFDL-CM3_94,rcp45,2015,0.266 +surrogate_GFDL-CM3_94,rcp45,2016,0.29600000000000004 +surrogate_GFDL-CM3_94,rcp45,2017,0.336 +surrogate_GFDL-CM3_94,rcp45,2018,0.366 +surrogate_GFDL-CM3_94,rcp45,2019,0.406 +surrogate_GFDL-CM3_94,rcp45,2020,0.436 +surrogate_GFDL-CM3_94,rcp45,2021,0.47600000000000003 +surrogate_GFDL-CM3_94,rcp45,2022,0.506 +surrogate_GFDL-CM3_94,rcp45,2023,0.546 +surrogate_GFDL-CM3_94,rcp45,2024,0.586 +surrogate_GFDL-CM3_94,rcp45,2025,0.616 +surrogate_GFDL-CM3_94,rcp45,2026,0.6559999999999999 +surrogate_GFDL-CM3_94,rcp45,2027,0.6859999999999999 +surrogate_GFDL-CM3_94,rcp45,2028,0.726 +surrogate_GFDL-CM3_94,rcp45,2029,0.7659999999999999 +surrogate_GFDL-CM3_94,rcp45,2030,0.8059999 +surrogate_GFDL-CM3_94,rcp45,2031,0.846 +surrogate_GFDL-CM3_94,rcp45,2032,0.8859999999999999 +surrogate_GFDL-CM3_94,rcp45,2033,0.9259999 +surrogate_GFDL-CM3_94,rcp45,2034,0.966 +surrogate_GFDL-CM3_94,rcp45,2035,1.006 +surrogate_GFDL-CM3_94,rcp45,2036,1.046 +surrogate_GFDL-CM3_94,rcp45,2037,1.0859999999999999 +surrogate_GFDL-CM3_94,rcp45,2038,1.126 +surrogate_GFDL-CM3_94,rcp45,2039,1.166 +surrogate_GFDL-CM3_94,rcp45,2040,1.216 +surrogate_GFDL-CM3_94,rcp45,2041,1.256 +surrogate_GFDL-CM3_94,rcp45,2042,1.296 +surrogate_GFDL-CM3_94,rcp45,2043,1.3359999999999999 +surrogate_GFDL-CM3_94,rcp45,2044,1.386 +surrogate_GFDL-CM3_94,rcp45,2045,1.426 +surrogate_GFDL-CM3_94,rcp45,2046,1.466 +surrogate_GFDL-CM3_94,rcp45,2047,1.506 +surrogate_GFDL-CM3_94,rcp45,2048,1.556 +surrogate_GFDL-CM3_94,rcp45,2049,1.5959999999999999 +surrogate_GFDL-CM3_94,rcp45,2050,1.646 +surrogate_GFDL-CM3_94,rcp45,2051,1.686 +surrogate_GFDL-CM3_94,rcp45,2052,1.726 +surrogate_GFDL-CM3_94,rcp45,2053,1.776 +surrogate_GFDL-CM3_94,rcp45,2054,1.8159999999999998 +surrogate_GFDL-CM3_94,rcp45,2055,1.8559999999999999 +surrogate_GFDL-CM3_94,rcp45,2056,1.896 +surrogate_GFDL-CM3_94,rcp45,2057,1.936 +surrogate_GFDL-CM3_94,rcp45,2058,1.966 +surrogate_GFDL-CM3_94,rcp45,2059,2.006 +surrogate_GFDL-CM3_94,rcp45,2060,2.046 +surrogate_GFDL-CM3_94,rcp45,2061,2.096 +surrogate_GFDL-CM3_94,rcp45,2062,2.136 +surrogate_GFDL-CM3_94,rcp45,2063,2.166 +surrogate_GFDL-CM3_94,rcp45,2064,2.206 +surrogate_GFDL-CM3_94,rcp45,2065,2.246 +surrogate_GFDL-CM3_94,rcp45,2066,2.276 +surrogate_GFDL-CM3_94,rcp45,2067,2.316 +surrogate_GFDL-CM3_94,rcp45,2068,2.356 +surrogate_GFDL-CM3_94,rcp45,2069,2.386 +surrogate_GFDL-CM3_94,rcp45,2070,2.416 +surrogate_GFDL-CM3_94,rcp45,2071,2.4459999999999997 +surrogate_GFDL-CM3_94,rcp45,2072,2.476 +surrogate_GFDL-CM3_94,rcp45,2073,2.496 +surrogate_GFDL-CM3_94,rcp45,2074,2.526 +surrogate_GFDL-CM3_94,rcp45,2075,2.556 +surrogate_GFDL-CM3_94,rcp45,2076,2.5860000000000003 +surrogate_GFDL-CM3_94,rcp45,2077,2.616 +surrogate_GFDL-CM3_94,rcp45,2078,2.636 +surrogate_GFDL-CM3_94,rcp45,2079,2.6660000000000004 +surrogate_GFDL-CM3_94,rcp45,2080,2.6860000000000004 +surrogate_GFDL-CM3_94,rcp45,2081,2.716 +surrogate_GFDL-CM3_94,rcp45,2082,2.736 +surrogate_GFDL-CM3_94,rcp45,2083,2.7560000000000002 +surrogate_GFDL-CM3_94,rcp45,2084,2.7760000000000002 +surrogate_GFDL-CM3_94,rcp45,2085,2.806 +surrogate_GFDL-CM3_94,rcp45,2086,2.826 +surrogate_GFDL-CM3_94,rcp45,2087,2.846 +surrogate_GFDL-CM3_94,rcp45,2088,2.866 +surrogate_GFDL-CM3_94,rcp45,2089,2.8760000000000003 +surrogate_GFDL-CM3_94,rcp45,2090,2.8960000000000004 +surrogate_GFDL-CM3_94,rcp45,2091,2.9160000000000004 +surrogate_GFDL-CM3_94,rcp45,2092,2.926 +surrogate_GFDL-CM3_94,rcp45,2093,2.946 +surrogate_GFDL-CM3_94,rcp45,2094,2.966 +surrogate_GFDL-CM3_94,rcp45,2095,2.9760000000000004 +surrogate_GFDL-CM3_94,rcp45,2096,2.9960000000000004 +surrogate_GFDL-CM3_94,rcp45,2097,3.0060000000000002 +surrogate_GFDL-CM3_94,rcp45,2098,3.0260000000000002 +surrogate_GFDL-CM3_94,rcp45,2099,3.0460000000000003 +surrogate_GFDL-CM3_94,rcp45,2100, +surrogate_GFDL-CM3_94,rcp85,1981,-0.40299999999999997 +surrogate_GFDL-CM3_94,rcp85,1982,-0.39299999999999996 +surrogate_GFDL-CM3_94,rcp85,1983,-0.38299999999999995 +surrogate_GFDL-CM3_94,rcp85,1984,-0.38299999999999995 +surrogate_GFDL-CM3_94,rcp85,1985,-0.38299999999999995 +surrogate_GFDL-CM3_94,rcp85,1986,-0.373 +surrogate_GFDL-CM3_94,rcp85,1987,-0.363 +surrogate_GFDL-CM3_94,rcp85,1988,-0.353 +surrogate_GFDL-CM3_94,rcp85,1989,-0.34299999999999997 +surrogate_GFDL-CM3_94,rcp85,1990,-0.33299999999999996 +surrogate_GFDL-CM3_94,rcp85,1991,-0.32299999999999995 +surrogate_GFDL-CM3_94,rcp85,1992,-0.303 +surrogate_GFDL-CM3_94,rcp85,1993,-0.293 +surrogate_GFDL-CM3_94,rcp85,1994,-0.273 +surrogate_GFDL-CM3_94,rcp85,1995,-0.253 +surrogate_GFDL-CM3_94,rcp85,1996,-0.233 +surrogate_GFDL-CM3_94,rcp85,1997,-0.223 +surrogate_GFDL-CM3_94,rcp85,1998,-0.203 +surrogate_GFDL-CM3_94,rcp85,1999,-0.183 +surrogate_GFDL-CM3_94,rcp85,2000,-0.163 +surrogate_GFDL-CM3_94,rcp85,2001,-0.14300000000000002 +surrogate_GFDL-CM3_94,rcp85,2002,-0.113 +surrogate_GFDL-CM3_94,rcp85,2003,-0.073 +surrogate_GFDL-CM3_94,rcp85,2004,-0.043 +surrogate_GFDL-CM3_94,rcp85,2005,-0.013000000000000001 +surrogate_GFDL-CM3_94,rcp85,2006,0.017 +surrogate_GFDL-CM3_94,rcp85,2007,0.047 +surrogate_GFDL-CM3_94,rcp85,2008,0.077 +surrogate_GFDL-CM3_94,rcp85,2009,0.107 +surrogate_GFDL-CM3_94,rcp85,2010,0.13699999999999998 +surrogate_GFDL-CM3_94,rcp85,2011,0.16699999999999998 +surrogate_GFDL-CM3_94,rcp85,2012,0.19699999999999998 +surrogate_GFDL-CM3_94,rcp85,2013,0.22699999999999998 +surrogate_GFDL-CM3_94,rcp85,2014,0.267 +surrogate_GFDL-CM3_94,rcp85,2015,0.297 +surrogate_GFDL-CM3_94,rcp85,2016,0.337 +surrogate_GFDL-CM3_94,rcp85,2017,0.36700000000000005 +surrogate_GFDL-CM3_94,rcp85,2018,0.40700000000000003 +surrogate_GFDL-CM3_94,rcp85,2019,0.447 +surrogate_GFDL-CM3_94,rcp85,2020,0.48700000000000004 +surrogate_GFDL-CM3_94,rcp85,2021,0.527 +surrogate_GFDL-CM3_94,rcp85,2022,0.5670000000000001 +surrogate_GFDL-CM3_94,rcp85,2023,0.617 +surrogate_GFDL-CM3_94,rcp85,2024,0.657 +surrogate_GFDL-CM3_94,rcp85,2025,0.7070000000000001 +surrogate_GFDL-CM3_94,rcp85,2026,0.747 +surrogate_GFDL-CM3_94,rcp85,2027,0.797 +surrogate_GFDL-CM3_94,rcp85,2028,0.8469999 +surrogate_GFDL-CM3_94,rcp85,2029,0.897 +surrogate_GFDL-CM3_94,rcp85,2030,0.9470000000000001 +surrogate_GFDL-CM3_94,rcp85,2031,1.0070000000000001 +surrogate_GFDL-CM3_94,rcp85,2032,1.057 +surrogate_GFDL-CM3_94,rcp85,2033,1.107 +surrogate_GFDL-CM3_94,rcp85,2034,1.157 +surrogate_GFDL-CM3_94,rcp85,2035,1.217 +surrogate_GFDL-CM3_94,rcp85,2036,1.2670000000000001 +surrogate_GFDL-CM3_94,rcp85,2037,1.327 +surrogate_GFDL-CM3_94,rcp85,2038,1.3969999999999998 +surrogate_GFDL-CM3_94,rcp85,2039,1.4569999999999999 +surrogate_GFDL-CM3_94,rcp85,2040,1.527 +surrogate_GFDL-CM3_94,rcp85,2041,1.587 +surrogate_GFDL-CM3_94,rcp85,2042,1.6569999999999998 +surrogate_GFDL-CM3_94,rcp85,2043,1.7269999999999999 +surrogate_GFDL-CM3_94,rcp85,2044,1.787 +surrogate_GFDL-CM3_94,rcp85,2045,1.857 +surrogate_GFDL-CM3_94,rcp85,2046,1.9269999999999998 +surrogate_GFDL-CM3_94,rcp85,2047,1.9969999999999999 +surrogate_GFDL-CM3_94,rcp85,2048,2.0669999999999997 +surrogate_GFDL-CM3_94,rcp85,2049,2.147 +surrogate_GFDL-CM3_94,rcp85,2050,2.217 +surrogate_GFDL-CM3_94,rcp85,2051,2.2969999999999997 +surrogate_GFDL-CM3_94,rcp85,2052,2.367 +surrogate_GFDL-CM3_94,rcp85,2053,2.457 +surrogate_GFDL-CM3_94,rcp85,2054,2.537 +surrogate_GFDL-CM3_94,rcp85,2055,2.627 +surrogate_GFDL-CM3_94,rcp85,2056,2.717 +surrogate_GFDL-CM3_94,rcp85,2057,2.8169999999999997 +surrogate_GFDL-CM3_94,rcp85,2058,2.907 +surrogate_GFDL-CM3_94,rcp85,2059,2.997 +surrogate_GFDL-CM3_94,rcp85,2060,3.0869999999999997 +surrogate_GFDL-CM3_94,rcp85,2061,3.187 +surrogate_GFDL-CM3_94,rcp85,2062,3.287 +surrogate_GFDL-CM3_94,rcp85,2063,3.397 +surrogate_GFDL-CM3_94,rcp85,2064,3.487 +surrogate_GFDL-CM3_94,rcp85,2065,3.577 +surrogate_GFDL-CM3_94,rcp85,2066,3.677 +surrogate_GFDL-CM3_94,rcp85,2067,3.7769999999999997 +surrogate_GFDL-CM3_94,rcp85,2068,3.867 +surrogate_GFDL-CM3_94,rcp85,2069,3.967 +surrogate_GFDL-CM3_94,rcp85,2070,4.0569999999999995 +surrogate_GFDL-CM3_94,rcp85,2071,4.167 +surrogate_GFDL-CM3_94,rcp85,2072,4.2669999999999995 +surrogate_GFDL-CM3_94,rcp85,2073,4.357 +surrogate_GFDL-CM3_94,rcp85,2074,4.427 +surrogate_GFDL-CM3_94,rcp85,2075,4.507 +surrogate_GFDL-CM3_94,rcp85,2076,4.587 +surrogate_GFDL-CM3_94,rcp85,2077,4.707 +surrogate_GFDL-CM3_94,rcp85,2078,4.8069999999999995 +surrogate_GFDL-CM3_94,rcp85,2079,4.917 +surrogate_GFDL-CM3_94,rcp85,2080,5.007 +surrogate_GFDL-CM3_94,rcp85,2081,5.087 +surrogate_GFDL-CM3_94,rcp85,2082,5.1770000000000005 +surrogate_GFDL-CM3_94,rcp85,2083,5.287000000000001 +surrogate_GFDL-CM3_94,rcp85,2084,5.357 +surrogate_GFDL-CM3_94,rcp85,2085,5.4270000000000005 +surrogate_GFDL-CM3_94,rcp85,2086,5.507000000000001 +surrogate_GFDL-CM3_94,rcp85,2087,5.587000000000001 +surrogate_GFDL-CM3_94,rcp85,2088,5.6770000000000005 +surrogate_GFDL-CM3_94,rcp85,2089,5.767 +surrogate_GFDL-CM3_94,rcp85,2090,5.847 +surrogate_GFDL-CM3_94,rcp85,2091,5.947 +surrogate_GFDL-CM3_94,rcp85,2092,6.037000000000001 +surrogate_GFDL-CM3_94,rcp85,2093,6.127000000000001 +surrogate_GFDL-CM3_94,rcp85,2094,6.207000000000001 +surrogate_GFDL-CM3_94,rcp85,2095,6.287000000000001 +surrogate_GFDL-CM3_94,rcp85,2096,6.367000000000001 +surrogate_GFDL-CM3_94,rcp85,2097,6.447 +surrogate_GFDL-CM3_94,rcp85,2098,6.547000000000001 +surrogate_GFDL-CM3_94,rcp85,2099,6.657 +surrogate_GFDL-CM3_94,rcp85,2100, +surrogate_GFDL-CM3_99,rcp45,1981,-0.40399999999999997 +surrogate_GFDL-CM3_99,rcp45,1982,-0.39399999999999996 +surrogate_GFDL-CM3_99,rcp45,1983,-0.39399999999999996 +surrogate_GFDL-CM3_99,rcp45,1984,-0.39399999999999996 +surrogate_GFDL-CM3_99,rcp45,1985,-0.384 +surrogate_GFDL-CM3_99,rcp45,1986,-0.374 +surrogate_GFDL-CM3_99,rcp45,1987,-0.364 +surrogate_GFDL-CM3_99,rcp45,1988,-0.354 +surrogate_GFDL-CM3_99,rcp45,1989,-0.354 +surrogate_GFDL-CM3_99,rcp45,1990,-0.344 +surrogate_GFDL-CM3_99,rcp45,1991,-0.324 +surrogate_GFDL-CM3_99,rcp45,1992,-0.314 +surrogate_GFDL-CM3_99,rcp45,1993,-0.304 +surrogate_GFDL-CM3_99,rcp45,1994,-0.284 +surrogate_GFDL-CM3_99,rcp45,1995,-0.27399999999999997 +surrogate_GFDL-CM3_99,rcp45,1996,-0.254 +surrogate_GFDL-CM3_99,rcp45,1997,-0.23399999999999999 +surrogate_GFDL-CM3_99,rcp45,1998,-0.214 +surrogate_GFDL-CM3_99,rcp45,1999,-0.19399999999999998 +surrogate_GFDL-CM3_99,rcp45,2000,-0.16399999999999998 +surrogate_GFDL-CM3_99,rcp45,2001,-0.14400000000000002 +surrogate_GFDL-CM3_99,rcp45,2002,-0.114 +surrogate_GFDL-CM3_99,rcp45,2003,-0.084 +surrogate_GFDL-CM3_99,rcp45,2004,-0.044000000000000004 +surrogate_GFDL-CM3_99,rcp45,2005,-0.013999999999999999 +surrogate_GFDL-CM3_99,rcp45,2006,0.016 +surrogate_GFDL-CM3_99,rcp45,2007,0.055999999999999994 +surrogate_GFDL-CM3_99,rcp45,2008,0.086 +surrogate_GFDL-CM3_99,rcp45,2009,0.106 +surrogate_GFDL-CM3_99,rcp45,2010,0.136 +surrogate_GFDL-CM3_99,rcp45,2011,0.166 +surrogate_GFDL-CM3_99,rcp45,2012,0.20600000000000002 +surrogate_GFDL-CM3_99,rcp45,2013,0.24600000000000002 +surrogate_GFDL-CM3_99,rcp45,2014,0.276 +surrogate_GFDL-CM3_99,rcp45,2015,0.316 +surrogate_GFDL-CM3_99,rcp45,2016,0.35600000000000004 +surrogate_GFDL-CM3_99,rcp45,2017,0.396 +surrogate_GFDL-CM3_99,rcp45,2018,0.436 +surrogate_GFDL-CM3_99,rcp45,2019,0.47600000000000003 +surrogate_GFDL-CM3_99,rcp45,2020,0.516 +surrogate_GFDL-CM3_99,rcp45,2021,0.5660000000000001 +surrogate_GFDL-CM3_99,rcp45,2022,0.616 +surrogate_GFDL-CM3_99,rcp45,2023,0.6659999999999999 +surrogate_GFDL-CM3_99,rcp45,2024,0.716 +surrogate_GFDL-CM3_99,rcp45,2025,0.7659999999999999 +surrogate_GFDL-CM3_99,rcp45,2026,0.816 +surrogate_GFDL-CM3_99,rcp45,2027,0.8759999999999999 +surrogate_GFDL-CM3_99,rcp45,2028,0.9260001 +surrogate_GFDL-CM3_99,rcp45,2029,0.976 +surrogate_GFDL-CM3_99,rcp45,2030,1.036 +surrogate_GFDL-CM3_99,rcp45,2031,1.0859999999999999 +surrogate_GFDL-CM3_99,rcp45,2032,1.146 +surrogate_GFDL-CM3_99,rcp45,2033,1.206 +surrogate_GFDL-CM3_99,rcp45,2034,1.256 +surrogate_GFDL-CM3_99,rcp45,2035,1.3159999999999998 +surrogate_GFDL-CM3_99,rcp45,2036,1.376 +surrogate_GFDL-CM3_99,rcp45,2037,1.426 +surrogate_GFDL-CM3_99,rcp45,2038,1.486 +surrogate_GFDL-CM3_99,rcp45,2039,1.536 +surrogate_GFDL-CM3_99,rcp45,2040,1.5959999999999999 +surrogate_GFDL-CM3_99,rcp45,2041,1.656 +surrogate_GFDL-CM3_99,rcp45,2042,1.706 +surrogate_GFDL-CM3_99,rcp45,2043,1.766 +surrogate_GFDL-CM3_99,rcp45,2044,1.8259999999999998 +surrogate_GFDL-CM3_99,rcp45,2045,1.906 +surrogate_GFDL-CM3_99,rcp45,2046,1.976 +surrogate_GFDL-CM3_99,rcp45,2047,2.056 +surrogate_GFDL-CM3_99,rcp45,2048,2.106 +surrogate_GFDL-CM3_99,rcp45,2049,2.156 +surrogate_GFDL-CM3_99,rcp45,2050,2.206 +surrogate_GFDL-CM3_99,rcp45,2051,2.256 +surrogate_GFDL-CM3_99,rcp45,2052,2.306 +surrogate_GFDL-CM3_99,rcp45,2053,2.346 +surrogate_GFDL-CM3_99,rcp45,2054,2.396 +surrogate_GFDL-CM3_99,rcp45,2055,2.4459999999999997 +surrogate_GFDL-CM3_99,rcp45,2056,2.4859999999999998 +surrogate_GFDL-CM3_99,rcp45,2057,2.526 +surrogate_GFDL-CM3_99,rcp45,2058,2.576 +surrogate_GFDL-CM3_99,rcp45,2059,2.616 +surrogate_GFDL-CM3_99,rcp45,2060,2.6660000000000004 +surrogate_GFDL-CM3_99,rcp45,2061,2.7060000000000004 +surrogate_GFDL-CM3_99,rcp45,2062,2.7560000000000002 +surrogate_GFDL-CM3_99,rcp45,2063,2.8160000000000003 +surrogate_GFDL-CM3_99,rcp45,2064,2.866 +surrogate_GFDL-CM3_99,rcp45,2065,2.9160000000000004 +surrogate_GFDL-CM3_99,rcp45,2066,2.9560000000000004 +surrogate_GFDL-CM3_99,rcp45,2067,3.0060000000000002 +surrogate_GFDL-CM3_99,rcp45,2068,3.056 +surrogate_GFDL-CM3_99,rcp45,2069,3.1060000000000003 +surrogate_GFDL-CM3_99,rcp45,2070,3.156 +surrogate_GFDL-CM3_99,rcp45,2071,3.2060000000000004 +surrogate_GFDL-CM3_99,rcp45,2072,3.2460000000000004 +surrogate_GFDL-CM3_99,rcp45,2073,3.286 +surrogate_GFDL-CM3_99,rcp45,2074,3.326 +surrogate_GFDL-CM3_99,rcp45,2075,3.366 +surrogate_GFDL-CM3_99,rcp45,2076,3.406 +surrogate_GFDL-CM3_99,rcp45,2077,3.446 +surrogate_GFDL-CM3_99,rcp45,2078,3.4760000000000004 +surrogate_GFDL-CM3_99,rcp45,2079,3.516 +surrogate_GFDL-CM3_99,rcp45,2080,3.5460000000000003 +surrogate_GFDL-CM3_99,rcp45,2081,3.596 +surrogate_GFDL-CM3_99,rcp45,2082,3.636 +surrogate_GFDL-CM3_99,rcp45,2083,3.6660000000000004 +surrogate_GFDL-CM3_99,rcp45,2084,3.696 +surrogate_GFDL-CM3_99,rcp45,2085,3.7260000000000004 +surrogate_GFDL-CM3_99,rcp45,2086,3.7560000000000002 +surrogate_GFDL-CM3_99,rcp45,2087,3.786 +surrogate_GFDL-CM3_99,rcp45,2088,3.8160000000000003 +surrogate_GFDL-CM3_99,rcp45,2089,3.846 +surrogate_GFDL-CM3_99,rcp45,2090,3.8760000000000003 +surrogate_GFDL-CM3_99,rcp45,2091,3.906 +surrogate_GFDL-CM3_99,rcp45,2092,3.9360000000000004 +surrogate_GFDL-CM3_99,rcp45,2093,3.966 +surrogate_GFDL-CM3_99,rcp45,2094,3.986 +surrogate_GFDL-CM3_99,rcp45,2095,4.016 +surrogate_GFDL-CM3_99,rcp45,2096,4.046 +surrogate_GFDL-CM3_99,rcp45,2097,4.0760000000000005 +surrogate_GFDL-CM3_99,rcp45,2098,4.106 +surrogate_GFDL-CM3_99,rcp45,2099,4.126 +surrogate_GFDL-CM3_99,rcp45,2100, +surrogate_GFDL-CM3_99,rcp85,1981,-0.40700000000000003 +surrogate_GFDL-CM3_99,rcp85,1982,-0.397 +surrogate_GFDL-CM3_99,rcp85,1983,-0.397 +surrogate_GFDL-CM3_99,rcp85,1984,-0.397 +surrogate_GFDL-CM3_99,rcp85,1985,-0.387 +surrogate_GFDL-CM3_99,rcp85,1986,-0.377 +surrogate_GFDL-CM3_99,rcp85,1987,-0.36700000000000005 +surrogate_GFDL-CM3_99,rcp85,1988,-0.35700000000000004 +surrogate_GFDL-CM3_99,rcp85,1989,-0.34700000000000003 +surrogate_GFDL-CM3_99,rcp85,1990,-0.337 +surrogate_GFDL-CM3_99,rcp85,1991,-0.337 +surrogate_GFDL-CM3_99,rcp85,1992,-0.317 +surrogate_GFDL-CM3_99,rcp85,1993,-0.307 +surrogate_GFDL-CM3_99,rcp85,1994,-0.287 +surrogate_GFDL-CM3_99,rcp85,1995,-0.27699999999999997 +surrogate_GFDL-CM3_99,rcp85,1996,-0.257 +surrogate_GFDL-CM3_99,rcp85,1997,-0.237 +surrogate_GFDL-CM3_99,rcp85,1998,-0.217 +surrogate_GFDL-CM3_99,rcp85,1999,-0.19699999999999998 +surrogate_GFDL-CM3_99,rcp85,2000,-0.177 +surrogate_GFDL-CM3_99,rcp85,2001,-0.157 +surrogate_GFDL-CM3_99,rcp85,2002,-0.127 +surrogate_GFDL-CM3_99,rcp85,2003,-0.087 +surrogate_GFDL-CM3_99,rcp85,2004,-0.047 +surrogate_GFDL-CM3_99,rcp85,2005,-0.017 +surrogate_GFDL-CM3_99,rcp85,2006,0.023 +surrogate_GFDL-CM3_99,rcp85,2007,0.053 +surrogate_GFDL-CM3_99,rcp85,2008,0.083 +surrogate_GFDL-CM3_99,rcp85,2009,0.12300000000000001 +surrogate_GFDL-CM3_99,rcp85,2010,0.153 +surrogate_GFDL-CM3_99,rcp85,2011,0.183 +surrogate_GFDL-CM3_99,rcp85,2012,0.223 +surrogate_GFDL-CM3_99,rcp85,2013,0.253 +surrogate_GFDL-CM3_99,rcp85,2014,0.293 +surrogate_GFDL-CM3_99,rcp85,2015,0.33299999999999996 +surrogate_GFDL-CM3_99,rcp85,2016,0.373 +surrogate_GFDL-CM3_99,rcp85,2017,0.413 +surrogate_GFDL-CM3_99,rcp85,2018,0.46299999999999997 +surrogate_GFDL-CM3_99,rcp85,2019,0.503 +surrogate_GFDL-CM3_99,rcp85,2020,0.5529999999999999 +surrogate_GFDL-CM3_99,rcp85,2021,0.603 +surrogate_GFDL-CM3_99,rcp85,2022,0.6530001 +surrogate_GFDL-CM3_99,rcp85,2023,0.703 +surrogate_GFDL-CM3_99,rcp85,2024,0.753 +surrogate_GFDL-CM3_99,rcp85,2025,0.813 +surrogate_GFDL-CM3_99,rcp85,2026,0.863 +surrogate_GFDL-CM3_99,rcp85,2027,0.9229999999999999 +surrogate_GFDL-CM3_99,rcp85,2028,0.983 +surrogate_GFDL-CM3_99,rcp85,2029,1.043 +surrogate_GFDL-CM3_99,rcp85,2030,1.103 +surrogate_GFDL-CM3_99,rcp85,2031,1.173 +surrogate_GFDL-CM3_99,rcp85,2032,1.2329999999999999 +surrogate_GFDL-CM3_99,rcp85,2033,1.3030000000000002 +surrogate_GFDL-CM3_99,rcp85,2034,1.3630000000000002 +surrogate_GFDL-CM3_99,rcp85,2035,1.443 +surrogate_GFDL-CM3_99,rcp85,2036,1.5130000000000001 +surrogate_GFDL-CM3_99,rcp85,2037,1.5930000000000002 +surrogate_GFDL-CM3_99,rcp85,2038,1.663 +surrogate_GFDL-CM3_99,rcp85,2039,1.733 +surrogate_GFDL-CM3_99,rcp85,2040,1.8130000000000002 +surrogate_GFDL-CM3_99,rcp85,2041,1.893 +surrogate_GFDL-CM3_99,rcp85,2042,1.983 +surrogate_GFDL-CM3_99,rcp85,2043,2.073 +surrogate_GFDL-CM3_99,rcp85,2044,2.173 +surrogate_GFDL-CM3_99,rcp85,2045,2.273 +surrogate_GFDL-CM3_99,rcp85,2046,2.353 +surrogate_GFDL-CM3_99,rcp85,2047,2.443 +surrogate_GFDL-CM3_99,rcp85,2048,2.533 +surrogate_GFDL-CM3_99,rcp85,2049,2.623 +surrogate_GFDL-CM3_99,rcp85,2050,2.7030000000000003 +surrogate_GFDL-CM3_99,rcp85,2051,2.783 +surrogate_GFDL-CM3_99,rcp85,2052,2.863 +surrogate_GFDL-CM3_99,rcp85,2053,2.983 +surrogate_GFDL-CM3_99,rcp85,2054,3.083 +surrogate_GFDL-CM3_99,rcp85,2055,3.173 +surrogate_GFDL-CM3_99,rcp85,2056,3.273 +surrogate_GFDL-CM3_99,rcp85,2057,3.373 +surrogate_GFDL-CM3_99,rcp85,2058,3.463 +surrogate_GFDL-CM3_99,rcp85,2059,3.583 +surrogate_GFDL-CM3_99,rcp85,2060,3.713 +surrogate_GFDL-CM3_99,rcp85,2061,3.803 +surrogate_GFDL-CM3_99,rcp85,2062,3.903 +surrogate_GFDL-CM3_99,rcp85,2063,3.9930000000000003 +surrogate_GFDL-CM3_99,rcp85,2064,4.123 +surrogate_GFDL-CM3_99,rcp85,2065,4.263 +surrogate_GFDL-CM3_99,rcp85,2066,4.423 +surrogate_GFDL-CM3_99,rcp85,2067,4.603 +surrogate_GFDL-CM3_99,rcp85,2068,4.753 +surrogate_GFDL-CM3_99,rcp85,2069,4.863 +surrogate_GFDL-CM3_99,rcp85,2070,4.9830000000000005 +surrogate_GFDL-CM3_99,rcp85,2071,5.093 +surrogate_GFDL-CM3_99,rcp85,2072,5.202999999999999 +surrogate_GFDL-CM3_99,rcp85,2073,5.313 +surrogate_GFDL-CM3_99,rcp85,2074,5.422999999999999 +surrogate_GFDL-CM3_99,rcp85,2075,5.553 +surrogate_GFDL-CM3_99,rcp85,2076,5.702999999999999 +surrogate_GFDL-CM3_99,rcp85,2077,5.8629999999999995 +surrogate_GFDL-CM3_99,rcp85,2078,6.042999999999999 +surrogate_GFDL-CM3_99,rcp85,2079,6.242999999999999 +surrogate_GFDL-CM3_99,rcp85,2080,6.403 +surrogate_GFDL-CM3_99,rcp85,2081,6.5729999999999995 +surrogate_GFDL-CM3_99,rcp85,2082,6.723 +surrogate_GFDL-CM3_99,rcp85,2083,6.882999999999999 +surrogate_GFDL-CM3_99,rcp85,2084,7.0329999999999995 +surrogate_GFDL-CM3_99,rcp85,2085,7.183 +surrogate_GFDL-CM3_99,rcp85,2086,7.303 +surrogate_GFDL-CM3_99,rcp85,2087,7.433 +surrogate_GFDL-CM3_99,rcp85,2088,7.553 +surrogate_GFDL-CM3_99,rcp85,2089,7.773 +surrogate_GFDL-CM3_99,rcp85,2090,7.902999 +surrogate_GFDL-CM3_99,rcp85,2091,8.033 +surrogate_GFDL-CM3_99,rcp85,2092,8.163 +surrogate_GFDL-CM3_99,rcp85,2093,8.283 +surrogate_GFDL-CM3_99,rcp85,2094,8.402999999999999 +surrogate_GFDL-CM3_99,rcp85,2095,8.513 +surrogate_GFDL-CM3_99,rcp85,2096,8.652999999999999 +surrogate_GFDL-CM3_99,rcp85,2097,8.873 +surrogate_GFDL-CM3_99,rcp85,2098,9.073 +surrogate_GFDL-CM3_99,rcp85,2099,9.243 +surrogate_GFDL-CM3_99,rcp85,2100, +surrogate_GFDL-ESM2G_01,rcp45,1981,-0.41 +surrogate_GFDL-ESM2G_01,rcp45,1982,-0.39 +surrogate_GFDL-ESM2G_01,rcp45,1983,-0.38 +surrogate_GFDL-ESM2G_01,rcp45,1984,-0.37 +surrogate_GFDL-ESM2G_01,rcp45,1985,-0.36 +surrogate_GFDL-ESM2G_01,rcp45,1986,-0.34 +surrogate_GFDL-ESM2G_01,rcp45,1987,-0.33 +surrogate_GFDL-ESM2G_01,rcp45,1988,-0.31 +surrogate_GFDL-ESM2G_01,rcp45,1989,-0.29 +surrogate_GFDL-ESM2G_01,rcp45,1990,-0.28 +surrogate_GFDL-ESM2G_01,rcp45,1991,-0.26 +surrogate_GFDL-ESM2G_01,rcp45,1992,-0.25 +surrogate_GFDL-ESM2G_01,rcp45,1993,-0.22 +surrogate_GFDL-ESM2G_01,rcp45,1994,-0.19 +surrogate_GFDL-ESM2G_01,rcp45,1995,-0.17 +surrogate_GFDL-ESM2G_01,rcp45,1996,-0.14 +surrogate_GFDL-ESM2G_01,rcp45,1997,-0.12 +surrogate_GFDL-ESM2G_01,rcp45,1998,-0.11 +surrogate_GFDL-ESM2G_01,rcp45,1999,-0.09 +surrogate_GFDL-ESM2G_01,rcp45,2000,-0.08 +surrogate_GFDL-ESM2G_01,rcp45,2001,-0.07 +surrogate_GFDL-ESM2G_01,rcp45,2002,-0.05 +surrogate_GFDL-ESM2G_01,rcp45,2003,-0.04 +surrogate_GFDL-ESM2G_01,rcp45,2004,-0.02 +surrogate_GFDL-ESM2G_01,rcp45,2005,-1.49e-09 +surrogate_GFDL-ESM2G_01,rcp45,2006,0.01 +surrogate_GFDL-ESM2G_01,rcp45,2007,0.02 +surrogate_GFDL-ESM2G_01,rcp45,2008,0.04 +surrogate_GFDL-ESM2G_01,rcp45,2009,0.05 +surrogate_GFDL-ESM2G_01,rcp45,2010,0.06 +surrogate_GFDL-ESM2G_01,rcp45,2011,0.07 +surrogate_GFDL-ESM2G_01,rcp45,2012,0.08 +surrogate_GFDL-ESM2G_01,rcp45,2013,0.09 +surrogate_GFDL-ESM2G_01,rcp45,2014,0.1 +surrogate_GFDL-ESM2G_01,rcp45,2015,0.12 +surrogate_GFDL-ESM2G_01,rcp45,2016,0.13 +surrogate_GFDL-ESM2G_01,rcp45,2017,0.14 +surrogate_GFDL-ESM2G_01,rcp45,2018,0.15 +surrogate_GFDL-ESM2G_01,rcp45,2019,0.17 +surrogate_GFDL-ESM2G_01,rcp45,2020,0.18 +surrogate_GFDL-ESM2G_01,rcp45,2021,0.19 +surrogate_GFDL-ESM2G_01,rcp45,2022,0.2 +surrogate_GFDL-ESM2G_01,rcp45,2023,0.22 +surrogate_GFDL-ESM2G_01,rcp45,2024,0.23 +surrogate_GFDL-ESM2G_01,rcp45,2025,0.24 +surrogate_GFDL-ESM2G_01,rcp45,2026,0.25 +surrogate_GFDL-ESM2G_01,rcp45,2027,0.27 +surrogate_GFDL-ESM2G_01,rcp45,2028,0.28 +surrogate_GFDL-ESM2G_01,rcp45,2029,0.29 +surrogate_GFDL-ESM2G_01,rcp45,2030,0.3 +surrogate_GFDL-ESM2G_01,rcp45,2031,0.32 +surrogate_GFDL-ESM2G_01,rcp45,2032,0.33 +surrogate_GFDL-ESM2G_01,rcp45,2033,0.34 +surrogate_GFDL-ESM2G_01,rcp45,2034,0.35 +surrogate_GFDL-ESM2G_01,rcp45,2035,0.36 +surrogate_GFDL-ESM2G_01,rcp45,2036,0.38 +surrogate_GFDL-ESM2G_01,rcp45,2037,0.39 +surrogate_GFDL-ESM2G_01,rcp45,2038,0.4 +surrogate_GFDL-ESM2G_01,rcp45,2039,0.41 +surrogate_GFDL-ESM2G_01,rcp45,2040,0.42 +surrogate_GFDL-ESM2G_01,rcp45,2041,0.44 +surrogate_GFDL-ESM2G_01,rcp45,2042,0.45 +surrogate_GFDL-ESM2G_01,rcp45,2043,0.46 +surrogate_GFDL-ESM2G_01,rcp45,2044,0.47 +surrogate_GFDL-ESM2G_01,rcp45,2045,0.48 +surrogate_GFDL-ESM2G_01,rcp45,2046,0.49 +surrogate_GFDL-ESM2G_01,rcp45,2047,0.5 +surrogate_GFDL-ESM2G_01,rcp45,2048,0.51 +surrogate_GFDL-ESM2G_01,rcp45,2049,0.52 +surrogate_GFDL-ESM2G_01,rcp45,2050,0.53 +surrogate_GFDL-ESM2G_01,rcp45,2051,0.54 +surrogate_GFDL-ESM2G_01,rcp45,2052,0.55 +surrogate_GFDL-ESM2G_01,rcp45,2053,0.56 +surrogate_GFDL-ESM2G_01,rcp45,2054,0.57 +surrogate_GFDL-ESM2G_01,rcp45,2055,0.58 +surrogate_GFDL-ESM2G_01,rcp45,2056,0.59 +surrogate_GFDL-ESM2G_01,rcp45,2057,0.59 +surrogate_GFDL-ESM2G_01,rcp45,2058,0.6 +surrogate_GFDL-ESM2G_01,rcp45,2059,0.61 +surrogate_GFDL-ESM2G_01,rcp45,2060,0.61 +surrogate_GFDL-ESM2G_01,rcp45,2061,0.62 +surrogate_GFDL-ESM2G_01,rcp45,2062,0.63 +surrogate_GFDL-ESM2G_01,rcp45,2063,0.63 +surrogate_GFDL-ESM2G_01,rcp45,2064,0.64 +surrogate_GFDL-ESM2G_01,rcp45,2065,0.64 +surrogate_GFDL-ESM2G_01,rcp45,2066,0.65 +surrogate_GFDL-ESM2G_01,rcp45,2067,0.65 +surrogate_GFDL-ESM2G_01,rcp45,2068,0.66 +surrogate_GFDL-ESM2G_01,rcp45,2069,0.66 +surrogate_GFDL-ESM2G_01,rcp45,2070,0.66 +surrogate_GFDL-ESM2G_01,rcp45,2071,0.67 +surrogate_GFDL-ESM2G_01,rcp45,2072,0.67 +surrogate_GFDL-ESM2G_01,rcp45,2073,0.67 +surrogate_GFDL-ESM2G_01,rcp45,2074,0.67 +surrogate_GFDL-ESM2G_01,rcp45,2075,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2076,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2077,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2078,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2079,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2080,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2081,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2082,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2083,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2084,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2085,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2086,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2087,0.68 +surrogate_GFDL-ESM2G_01,rcp45,2088,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2089,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2090,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2091,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2092,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2093,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2094,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2095,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2096,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2097,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2098,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2099,0.69 +surrogate_GFDL-ESM2G_01,rcp45,2100, +surrogate_GFDL-ESM2G_01,rcp85,1981,-0.39799999999999996 +surrogate_GFDL-ESM2G_01,rcp85,1982,-0.37799999999999995 +surrogate_GFDL-ESM2G_01,rcp85,1983,-0.368 +surrogate_GFDL-ESM2G_01,rcp85,1984,-0.358 +surrogate_GFDL-ESM2G_01,rcp85,1985,-0.348 +surrogate_GFDL-ESM2G_01,rcp85,1986,-0.33799999999999997 +surrogate_GFDL-ESM2G_01,rcp85,1987,-0.318 +surrogate_GFDL-ESM2G_01,rcp85,1988,-0.308 +surrogate_GFDL-ESM2G_01,rcp85,1989,-0.298 +surrogate_GFDL-ESM2G_01,rcp85,1990,-0.278 +surrogate_GFDL-ESM2G_01,rcp85,1991,-0.268 +surrogate_GFDL-ESM2G_01,rcp85,1992,-0.248 +surrogate_GFDL-ESM2G_01,rcp85,1993,-0.218 +surrogate_GFDL-ESM2G_01,rcp85,1994,-0.188 +surrogate_GFDL-ESM2G_01,rcp85,1995,-0.168 +surrogate_GFDL-ESM2G_01,rcp85,1996,-0.14800000000000002 +surrogate_GFDL-ESM2G_01,rcp85,1997,-0.11800000000000001 +surrogate_GFDL-ESM2G_01,rcp85,1998,-0.10800000000000001 +surrogate_GFDL-ESM2G_01,rcp85,1999,-0.08800000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2000,-0.078 +surrogate_GFDL-ESM2G_01,rcp85,2001,-0.068 +surrogate_GFDL-ESM2G_01,rcp85,2002,-0.057999999999999996 +surrogate_GFDL-ESM2G_01,rcp85,2003,-0.038 +surrogate_GFDL-ESM2G_01,rcp85,2004,-0.018000000000000002 +surrogate_GFDL-ESM2G_01,rcp85,2005,-0.008 +surrogate_GFDL-ESM2G_01,rcp85,2006,0.012 +surrogate_GFDL-ESM2G_01,rcp85,2007,0.022000000000000002 +surrogate_GFDL-ESM2G_01,rcp85,2008,0.042 +surrogate_GFDL-ESM2G_01,rcp85,2009,0.052000000000000005 +surrogate_GFDL-ESM2G_01,rcp85,2010,0.062 +surrogate_GFDL-ESM2G_01,rcp85,2011,0.08199999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2012,0.092 +surrogate_GFDL-ESM2G_01,rcp85,2013,0.102 +surrogate_GFDL-ESM2G_01,rcp85,2014,0.122 +surrogate_GFDL-ESM2G_01,rcp85,2015,0.142 +surrogate_GFDL-ESM2G_01,rcp85,2016,0.152 +surrogate_GFDL-ESM2G_01,rcp85,2017,0.172 +surrogate_GFDL-ESM2G_01,rcp85,2018,0.182 +surrogate_GFDL-ESM2G_01,rcp85,2019,0.20199999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2020,0.212 +surrogate_GFDL-ESM2G_01,rcp85,2021,0.23199999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2022,0.252 +surrogate_GFDL-ESM2G_01,rcp85,2023,0.272 +surrogate_GFDL-ESM2G_01,rcp85,2024,0.292 +surrogate_GFDL-ESM2G_01,rcp85,2025,0.302 +surrogate_GFDL-ESM2G_01,rcp85,2026,0.322 +surrogate_GFDL-ESM2G_01,rcp85,2027,0.342 +surrogate_GFDL-ESM2G_01,rcp85,2028,0.36200000000000004 +surrogate_GFDL-ESM2G_01,rcp85,2029,0.382 +surrogate_GFDL-ESM2G_01,rcp85,2030,0.402 +surrogate_GFDL-ESM2G_01,rcp85,2031,0.42200000000000004 +surrogate_GFDL-ESM2G_01,rcp85,2032,0.452 +surrogate_GFDL-ESM2G_01,rcp85,2033,0.47200000000000003 +surrogate_GFDL-ESM2G_01,rcp85,2034,0.49200000000000005 +surrogate_GFDL-ESM2G_01,rcp85,2035,0.512 +surrogate_GFDL-ESM2G_01,rcp85,2036,0.532 +surrogate_GFDL-ESM2G_01,rcp85,2037,0.552 +surrogate_GFDL-ESM2G_01,rcp85,2038,0.5820000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2039,0.602 +surrogate_GFDL-ESM2G_01,rcp85,2040,0.622 +surrogate_GFDL-ESM2G_01,rcp85,2041,0.652 +surrogate_GFDL-ESM2G_01,rcp85,2042,0.672 +surrogate_GFDL-ESM2G_01,rcp85,2043,0.6920000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2044,0.722 +surrogate_GFDL-ESM2G_01,rcp85,2045,0.742 +surrogate_GFDL-ESM2G_01,rcp85,2046,0.772 +surrogate_GFDL-ESM2G_01,rcp85,2047,0.792 +surrogate_GFDL-ESM2G_01,rcp85,2048,0.8220000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2049,0.8419999 +surrogate_GFDL-ESM2G_01,rcp85,2050,0.872 +surrogate_GFDL-ESM2G_01,rcp85,2051,0.892 +surrogate_GFDL-ESM2G_01,rcp85,2052,0.922 +surrogate_GFDL-ESM2G_01,rcp85,2053,0.9520000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2054,0.9720001 +surrogate_GFDL-ESM2G_01,rcp85,2055,1.002 +surrogate_GFDL-ESM2G_01,rcp85,2056,1.022 +surrogate_GFDL-ESM2G_01,rcp85,2057,1.052 +surrogate_GFDL-ESM2G_01,rcp85,2058,1.082 +surrogate_GFDL-ESM2G_01,rcp85,2059,1.112 +surrogate_GFDL-ESM2G_01,rcp85,2060,1.1320000000000001 +surrogate_GFDL-ESM2G_01,rcp85,2061,1.162 +surrogate_GFDL-ESM2G_01,rcp85,2062,1.192 +surrogate_GFDL-ESM2G_01,rcp85,2063,1.222 +surrogate_GFDL-ESM2G_01,rcp85,2064,1.242 +surrogate_GFDL-ESM2G_01,rcp85,2065,1.272 +surrogate_GFDL-ESM2G_01,rcp85,2066,1.3019999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2067,1.3319999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2068,1.3619999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2069,1.382 +surrogate_GFDL-ESM2G_01,rcp85,2070,1.412 +surrogate_GFDL-ESM2G_01,rcp85,2071,1.442 +surrogate_GFDL-ESM2G_01,rcp85,2072,1.472 +surrogate_GFDL-ESM2G_01,rcp85,2073,1.5019999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2074,1.5319999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2075,1.5519999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2076,1.5819999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2077,1.6119999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2078,1.642 +surrogate_GFDL-ESM2G_01,rcp85,2079,1.672 +surrogate_GFDL-ESM2G_01,rcp85,2080,1.702 +surrogate_GFDL-ESM2G_01,rcp85,2081,1.732 +surrogate_GFDL-ESM2G_01,rcp85,2082,1.7519999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2083,1.7819999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2084,1.8119999999999998 +surrogate_GFDL-ESM2G_01,rcp85,2085,1.8419999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2086,1.8719999999999999 +surrogate_GFDL-ESM2G_01,rcp85,2087,1.902 +surrogate_GFDL-ESM2G_01,rcp85,2088,1.932 +surrogate_GFDL-ESM2G_01,rcp85,2089,1.962 +surrogate_GFDL-ESM2G_01,rcp85,2090,1.992 +surrogate_GFDL-ESM2G_01,rcp85,2091,2.022 +surrogate_GFDL-ESM2G_01,rcp85,2092,2.042 +surrogate_GFDL-ESM2G_01,rcp85,2093,2.072 +surrogate_GFDL-ESM2G_01,rcp85,2094,2.092 +surrogate_GFDL-ESM2G_01,rcp85,2095,2.122 +surrogate_GFDL-ESM2G_01,rcp85,2096,2.1519999999999997 +surrogate_GFDL-ESM2G_01,rcp85,2097,2.1719999999999997 +surrogate_GFDL-ESM2G_01,rcp85,2098,2.202 +surrogate_GFDL-ESM2G_01,rcp85,2099,2.222 +surrogate_GFDL-ESM2G_01,rcp85,2100, +surrogate_GFDL-ESM2G_06,rcp45,1981, +surrogate_GFDL-ESM2G_06,rcp45,1982, +surrogate_GFDL-ESM2G_06,rcp45,1983, +surrogate_GFDL-ESM2G_06,rcp45,1984, +surrogate_GFDL-ESM2G_06,rcp45,1985, +surrogate_GFDL-ESM2G_06,rcp45,1986, +surrogate_GFDL-ESM2G_06,rcp45,1987, +surrogate_GFDL-ESM2G_06,rcp45,1988, +surrogate_GFDL-ESM2G_06,rcp45,1989, +surrogate_GFDL-ESM2G_06,rcp45,1990, +surrogate_GFDL-ESM2G_06,rcp45,1991, +surrogate_GFDL-ESM2G_06,rcp45,1992, +surrogate_GFDL-ESM2G_06,rcp45,1993, +surrogate_GFDL-ESM2G_06,rcp45,1994, +surrogate_GFDL-ESM2G_06,rcp45,1995, +surrogate_GFDL-ESM2G_06,rcp45,1996, +surrogate_GFDL-ESM2G_06,rcp45,1997, +surrogate_GFDL-ESM2G_06,rcp45,1998, +surrogate_GFDL-ESM2G_06,rcp45,1999, +surrogate_GFDL-ESM2G_06,rcp45,2000, +surrogate_GFDL-ESM2G_06,rcp45,2001, +surrogate_GFDL-ESM2G_06,rcp45,2002, +surrogate_GFDL-ESM2G_06,rcp45,2003, +surrogate_GFDL-ESM2G_06,rcp45,2004, +surrogate_GFDL-ESM2G_06,rcp45,2005, +surrogate_GFDL-ESM2G_06,rcp45,2006, +surrogate_GFDL-ESM2G_06,rcp45,2007, +surrogate_GFDL-ESM2G_06,rcp45,2008, +surrogate_GFDL-ESM2G_06,rcp45,2009, +surrogate_GFDL-ESM2G_06,rcp45,2010, +surrogate_GFDL-ESM2G_06,rcp45,2011, +surrogate_GFDL-ESM2G_06,rcp45,2012, +surrogate_GFDL-ESM2G_06,rcp45,2013, +surrogate_GFDL-ESM2G_06,rcp45,2014, +surrogate_GFDL-ESM2G_06,rcp45,2015, +surrogate_GFDL-ESM2G_06,rcp45,2016, +surrogate_GFDL-ESM2G_06,rcp45,2017, +surrogate_GFDL-ESM2G_06,rcp45,2018, +surrogate_GFDL-ESM2G_06,rcp45,2019, +surrogate_GFDL-ESM2G_06,rcp45,2020, +surrogate_GFDL-ESM2G_06,rcp45,2021, +surrogate_GFDL-ESM2G_06,rcp45,2022, +surrogate_GFDL-ESM2G_06,rcp45,2023, +surrogate_GFDL-ESM2G_06,rcp45,2024, +surrogate_GFDL-ESM2G_06,rcp45,2025, +surrogate_GFDL-ESM2G_06,rcp45,2026, +surrogate_GFDL-ESM2G_06,rcp45,2027, +surrogate_GFDL-ESM2G_06,rcp45,2028, +surrogate_GFDL-ESM2G_06,rcp45,2029, +surrogate_GFDL-ESM2G_06,rcp45,2030, +surrogate_GFDL-ESM2G_06,rcp45,2031, +surrogate_GFDL-ESM2G_06,rcp45,2032, +surrogate_GFDL-ESM2G_06,rcp45,2033, +surrogate_GFDL-ESM2G_06,rcp45,2034, +surrogate_GFDL-ESM2G_06,rcp45,2035, +surrogate_GFDL-ESM2G_06,rcp45,2036, +surrogate_GFDL-ESM2G_06,rcp45,2037, +surrogate_GFDL-ESM2G_06,rcp45,2038, +surrogate_GFDL-ESM2G_06,rcp45,2039, +surrogate_GFDL-ESM2G_06,rcp45,2040, +surrogate_GFDL-ESM2G_06,rcp45,2041, +surrogate_GFDL-ESM2G_06,rcp45,2042, +surrogate_GFDL-ESM2G_06,rcp45,2043, +surrogate_GFDL-ESM2G_06,rcp45,2044, +surrogate_GFDL-ESM2G_06,rcp45,2045, +surrogate_GFDL-ESM2G_06,rcp45,2046, +surrogate_GFDL-ESM2G_06,rcp45,2047, +surrogate_GFDL-ESM2G_06,rcp45,2048, +surrogate_GFDL-ESM2G_06,rcp45,2049, +surrogate_GFDL-ESM2G_06,rcp45,2050, +surrogate_GFDL-ESM2G_06,rcp45,2051, +surrogate_GFDL-ESM2G_06,rcp45,2052, +surrogate_GFDL-ESM2G_06,rcp45,2053, +surrogate_GFDL-ESM2G_06,rcp45,2054, +surrogate_GFDL-ESM2G_06,rcp45,2055, +surrogate_GFDL-ESM2G_06,rcp45,2056, +surrogate_GFDL-ESM2G_06,rcp45,2057, +surrogate_GFDL-ESM2G_06,rcp45,2058, +surrogate_GFDL-ESM2G_06,rcp45,2059, +surrogate_GFDL-ESM2G_06,rcp45,2060, +surrogate_GFDL-ESM2G_06,rcp45,2061, +surrogate_GFDL-ESM2G_06,rcp45,2062, +surrogate_GFDL-ESM2G_06,rcp45,2063, +surrogate_GFDL-ESM2G_06,rcp45,2064, +surrogate_GFDL-ESM2G_06,rcp45,2065, +surrogate_GFDL-ESM2G_06,rcp45,2066, +surrogate_GFDL-ESM2G_06,rcp45,2067, +surrogate_GFDL-ESM2G_06,rcp45,2068, +surrogate_GFDL-ESM2G_06,rcp45,2069, +surrogate_GFDL-ESM2G_06,rcp45,2070, +surrogate_GFDL-ESM2G_06,rcp45,2071, +surrogate_GFDL-ESM2G_06,rcp45,2072, +surrogate_GFDL-ESM2G_06,rcp45,2073, +surrogate_GFDL-ESM2G_06,rcp45,2074, +surrogate_GFDL-ESM2G_06,rcp45,2075, +surrogate_GFDL-ESM2G_06,rcp45,2076, +surrogate_GFDL-ESM2G_06,rcp45,2077, +surrogate_GFDL-ESM2G_06,rcp45,2078, +surrogate_GFDL-ESM2G_06,rcp45,2079, +surrogate_GFDL-ESM2G_06,rcp45,2080, +surrogate_GFDL-ESM2G_06,rcp45,2081, +surrogate_GFDL-ESM2G_06,rcp45,2082, +surrogate_GFDL-ESM2G_06,rcp45,2083, +surrogate_GFDL-ESM2G_06,rcp45,2084, +surrogate_GFDL-ESM2G_06,rcp45,2085, +surrogate_GFDL-ESM2G_06,rcp45,2086, +surrogate_GFDL-ESM2G_06,rcp45,2087, +surrogate_GFDL-ESM2G_06,rcp45,2088, +surrogate_GFDL-ESM2G_06,rcp45,2089, +surrogate_GFDL-ESM2G_06,rcp45,2090, +surrogate_GFDL-ESM2G_06,rcp45,2091, +surrogate_GFDL-ESM2G_06,rcp45,2092, +surrogate_GFDL-ESM2G_06,rcp45,2093, +surrogate_GFDL-ESM2G_06,rcp45,2094, +surrogate_GFDL-ESM2G_06,rcp45,2095, +surrogate_GFDL-ESM2G_06,rcp45,2096, +surrogate_GFDL-ESM2G_06,rcp45,2097, +surrogate_GFDL-ESM2G_06,rcp45,2098, +surrogate_GFDL-ESM2G_06,rcp45,2099, +surrogate_GFDL-ESM2G_06,rcp45,2100, +surrogate_GFDL-ESM2G_06,rcp85,1981,-0.38799999999999996 +surrogate_GFDL-ESM2G_06,rcp85,1982,-0.37799999999999995 +surrogate_GFDL-ESM2G_06,rcp85,1983,-0.368 +surrogate_GFDL-ESM2G_06,rcp85,1984,-0.358 +surrogate_GFDL-ESM2G_06,rcp85,1985,-0.348 +surrogate_GFDL-ESM2G_06,rcp85,1986,-0.33799999999999997 +surrogate_GFDL-ESM2G_06,rcp85,1987,-0.32799999999999996 +surrogate_GFDL-ESM2G_06,rcp85,1988,-0.318 +surrogate_GFDL-ESM2G_06,rcp85,1989,-0.298 +surrogate_GFDL-ESM2G_06,rcp85,1990,-0.28800000000000003 +surrogate_GFDL-ESM2G_06,rcp85,1991,-0.268 +surrogate_GFDL-ESM2G_06,rcp85,1992,-0.258 +surrogate_GFDL-ESM2G_06,rcp85,1993,-0.228 +surrogate_GFDL-ESM2G_06,rcp85,1994,-0.20800000000000002 +surrogate_GFDL-ESM2G_06,rcp85,1995,-0.17800000000000002 +surrogate_GFDL-ESM2G_06,rcp85,1996,-0.158 +surrogate_GFDL-ESM2G_06,rcp85,1997,-0.138 +surrogate_GFDL-ESM2G_06,rcp85,1998,-0.11800000000000001 +surrogate_GFDL-ESM2G_06,rcp85,1999,-0.10800000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2000,-0.098 +surrogate_GFDL-ESM2G_06,rcp85,2001,-0.08800000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2002,-0.068 +surrogate_GFDL-ESM2G_06,rcp85,2003,-0.038 +surrogate_GFDL-ESM2G_06,rcp85,2004,-0.018000000000000002 +surrogate_GFDL-ESM2G_06,rcp85,2005,-0.008 +surrogate_GFDL-ESM2G_06,rcp85,2006,0.012 +surrogate_GFDL-ESM2G_06,rcp85,2007,0.032 +surrogate_GFDL-ESM2G_06,rcp85,2008,0.042 +surrogate_GFDL-ESM2G_06,rcp85,2009,0.062 +surrogate_GFDL-ESM2G_06,rcp85,2010,0.07200000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2011,0.08199999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2012,0.102 +surrogate_GFDL-ESM2G_06,rcp85,2013,0.11199999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2014,0.132 +surrogate_GFDL-ESM2G_06,rcp85,2015,0.152 +surrogate_GFDL-ESM2G_06,rcp85,2016,0.162 +surrogate_GFDL-ESM2G_06,rcp85,2017,0.182 +surrogate_GFDL-ESM2G_06,rcp85,2018,0.20199999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2019,0.212 +surrogate_GFDL-ESM2G_06,rcp85,2020,0.23199999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2021,0.252 +surrogate_GFDL-ESM2G_06,rcp85,2022,0.262 +surrogate_GFDL-ESM2G_06,rcp85,2023,0.282 +surrogate_GFDL-ESM2G_06,rcp85,2024,0.302 +surrogate_GFDL-ESM2G_06,rcp85,2025,0.322 +surrogate_GFDL-ESM2G_06,rcp85,2026,0.342 +surrogate_GFDL-ESM2G_06,rcp85,2027,0.36200000000000004 +surrogate_GFDL-ESM2G_06,rcp85,2028,0.382 +surrogate_GFDL-ESM2G_06,rcp85,2029,0.41200000000000003 +surrogate_GFDL-ESM2G_06,rcp85,2030,0.43200000000000005 +surrogate_GFDL-ESM2G_06,rcp85,2031,0.452 +surrogate_GFDL-ESM2G_06,rcp85,2032,0.47200000000000003 +surrogate_GFDL-ESM2G_06,rcp85,2033,0.502 +surrogate_GFDL-ESM2G_06,rcp85,2034,0.522 +surrogate_GFDL-ESM2G_06,rcp85,2035,0.542 +surrogate_GFDL-ESM2G_06,rcp85,2036,0.5720000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2037,0.602 +surrogate_GFDL-ESM2G_06,rcp85,2038,0.622 +surrogate_GFDL-ESM2G_06,rcp85,2039,0.652 +surrogate_GFDL-ESM2G_06,rcp85,2040,0.682 +surrogate_GFDL-ESM2G_06,rcp85,2041,0.7020000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2042,0.732 +surrogate_GFDL-ESM2G_06,rcp85,2043,0.762 +surrogate_GFDL-ESM2G_06,rcp85,2044,0.782 +surrogate_GFDL-ESM2G_06,rcp85,2045,0.812 +surrogate_GFDL-ESM2G_06,rcp85,2046,0.8320000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2047,0.862 +surrogate_GFDL-ESM2G_06,rcp85,2048,0.892 +surrogate_GFDL-ESM2G_06,rcp85,2049,0.922 +surrogate_GFDL-ESM2G_06,rcp85,2050,0.9520000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2051,0.9820001 +surrogate_GFDL-ESM2G_06,rcp85,2052,1.012 +surrogate_GFDL-ESM2G_06,rcp85,2053,1.042 +surrogate_GFDL-ESM2G_06,rcp85,2054,1.072 +surrogate_GFDL-ESM2G_06,rcp85,2055,1.102 +surrogate_GFDL-ESM2G_06,rcp85,2056,1.1320000000000001 +surrogate_GFDL-ESM2G_06,rcp85,2057,1.162 +surrogate_GFDL-ESM2G_06,rcp85,2058,1.192 +surrogate_GFDL-ESM2G_06,rcp85,2059,1.222 +surrogate_GFDL-ESM2G_06,rcp85,2060,1.252 +surrogate_GFDL-ESM2G_06,rcp85,2061,1.2819999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2062,1.3119999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2063,1.3419999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2064,1.3719999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2065,1.412 +surrogate_GFDL-ESM2G_06,rcp85,2066,1.442 +surrogate_GFDL-ESM2G_06,rcp85,2067,1.472 +surrogate_GFDL-ESM2G_06,rcp85,2068,1.5019999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2069,1.5319999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2070,1.5719999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2071,1.6019999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2072,1.632 +surrogate_GFDL-ESM2G_06,rcp85,2073,1.662 +surrogate_GFDL-ESM2G_06,rcp85,2074,1.692 +surrogate_GFDL-ESM2G_06,rcp85,2075,1.722 +surrogate_GFDL-ESM2G_06,rcp85,2076,1.7619999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2077,1.7919999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2078,1.8219999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2079,1.8519999999999999 +surrogate_GFDL-ESM2G_06,rcp85,2080,1.882 +surrogate_GFDL-ESM2G_06,rcp85,2081,1.912 +surrogate_GFDL-ESM2G_06,rcp85,2082,1.952 +surrogate_GFDL-ESM2G_06,rcp85,2083,1.982 +surrogate_GFDL-ESM2G_06,rcp85,2084,2.012 +surrogate_GFDL-ESM2G_06,rcp85,2085,2.042 +surrogate_GFDL-ESM2G_06,rcp85,2086,2.082 +surrogate_GFDL-ESM2G_06,rcp85,2087,2.112 +surrogate_GFDL-ESM2G_06,rcp85,2088,2.142 +surrogate_GFDL-ESM2G_06,rcp85,2089,2.1719999999999997 +surrogate_GFDL-ESM2G_06,rcp85,2090,2.202 +surrogate_GFDL-ESM2G_06,rcp85,2091,2.242 +surrogate_GFDL-ESM2G_06,rcp85,2092,2.272 +surrogate_GFDL-ESM2G_06,rcp85,2093,2.302 +surrogate_GFDL-ESM2G_06,rcp85,2094,2.332 +surrogate_GFDL-ESM2G_06,rcp85,2095,2.362 +surrogate_GFDL-ESM2G_06,rcp85,2096,2.392 +surrogate_GFDL-ESM2G_06,rcp85,2097,2.432 +surrogate_GFDL-ESM2G_06,rcp85,2098,2.4619999999999997 +surrogate_GFDL-ESM2G_06,rcp85,2099,2.4819999999999998 +surrogate_GFDL-ESM2G_06,rcp85,2100, +surrogate_GFDL-ESM2G_11,rcp45,1981,-0.382 +surrogate_GFDL-ESM2G_11,rcp45,1982,-0.37200000000000005 +surrogate_GFDL-ESM2G_11,rcp45,1983,-0.36200000000000004 +surrogate_GFDL-ESM2G_11,rcp45,1984,-0.35200000000000004 +surrogate_GFDL-ESM2G_11,rcp45,1985,-0.342 +surrogate_GFDL-ESM2G_11,rcp45,1986,-0.332 +surrogate_GFDL-ESM2G_11,rcp45,1987,-0.322 +surrogate_GFDL-ESM2G_11,rcp45,1988,-0.302 +surrogate_GFDL-ESM2G_11,rcp45,1989,-0.292 +surrogate_GFDL-ESM2G_11,rcp45,1990,-0.282 +surrogate_GFDL-ESM2G_11,rcp45,1991,-0.262 +surrogate_GFDL-ESM2G_11,rcp45,1992,-0.252 +surrogate_GFDL-ESM2G_11,rcp45,1993,-0.222 +surrogate_GFDL-ESM2G_11,rcp45,1994,-0.20199999999999999 +surrogate_GFDL-ESM2G_11,rcp45,1995,-0.182 +surrogate_GFDL-ESM2G_11,rcp45,1996,-0.162 +surrogate_GFDL-ESM2G_11,rcp45,1997,-0.142 +surrogate_GFDL-ESM2G_11,rcp45,1998,-0.122 +surrogate_GFDL-ESM2G_11,rcp45,1999,-0.11199999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2000,-0.102 +surrogate_GFDL-ESM2G_11,rcp45,2001,-0.08199999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2002,-0.062 +surrogate_GFDL-ESM2G_11,rcp45,2003,-0.042 +surrogate_GFDL-ESM2G_11,rcp45,2004,-0.022000000000000002 +surrogate_GFDL-ESM2G_11,rcp45,2005,-0.002 +surrogate_GFDL-ESM2G_11,rcp45,2006,0.008 +surrogate_GFDL-ESM2G_11,rcp45,2007,0.027999999999999997 +surrogate_GFDL-ESM2G_11,rcp45,2008,0.048 +surrogate_GFDL-ESM2G_11,rcp45,2009,0.057999999999999996 +surrogate_GFDL-ESM2G_11,rcp45,2010,0.068 +surrogate_GFDL-ESM2G_11,rcp45,2011,0.08800000000000001 +surrogate_GFDL-ESM2G_11,rcp45,2012,0.098 +surrogate_GFDL-ESM2G_11,rcp45,2013,0.10800000000000001 +surrogate_GFDL-ESM2G_11,rcp45,2014,0.128 +surrogate_GFDL-ESM2G_11,rcp45,2015,0.138 +surrogate_GFDL-ESM2G_11,rcp45,2016,0.14800000000000002 +surrogate_GFDL-ESM2G_11,rcp45,2017,0.168 +surrogate_GFDL-ESM2G_11,rcp45,2018,0.17800000000000002 +surrogate_GFDL-ESM2G_11,rcp45,2019,0.198 +surrogate_GFDL-ESM2G_11,rcp45,2020,0.20800000000000002 +surrogate_GFDL-ESM2G_11,rcp45,2021,0.228 +surrogate_GFDL-ESM2G_11,rcp45,2022,0.23800000000000002 +surrogate_GFDL-ESM2G_11,rcp45,2023,0.258 +surrogate_GFDL-ESM2G_11,rcp45,2024,0.268 +surrogate_GFDL-ESM2G_11,rcp45,2025,0.28800000000000003 +surrogate_GFDL-ESM2G_11,rcp45,2026,0.298 +surrogate_GFDL-ESM2G_11,rcp45,2027,0.318 +surrogate_GFDL-ESM2G_11,rcp45,2028,0.32799999999999996 +surrogate_GFDL-ESM2G_11,rcp45,2029,0.348 +surrogate_GFDL-ESM2G_11,rcp45,2030,0.358 +surrogate_GFDL-ESM2G_11,rcp45,2031,0.37799999999999995 +surrogate_GFDL-ESM2G_11,rcp45,2032,0.38799999999999996 +surrogate_GFDL-ESM2G_11,rcp45,2033,0.408 +surrogate_GFDL-ESM2G_11,rcp45,2034,0.418 +surrogate_GFDL-ESM2G_11,rcp45,2035,0.43799999999999994 +surrogate_GFDL-ESM2G_11,rcp45,2036,0.44799999999999995 +surrogate_GFDL-ESM2G_11,rcp45,2037,0.46799999999999997 +surrogate_GFDL-ESM2G_11,rcp45,2038,0.478 +surrogate_GFDL-ESM2G_11,rcp45,2039,0.498 +surrogate_GFDL-ESM2G_11,rcp45,2040,0.508 +surrogate_GFDL-ESM2G_11,rcp45,2041,0.528 +surrogate_GFDL-ESM2G_11,rcp45,2042,0.5479999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2043,0.5579999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2044,0.5779999 +surrogate_GFDL-ESM2G_11,rcp45,2045,0.588 +surrogate_GFDL-ESM2G_11,rcp45,2046,0.608 +surrogate_GFDL-ESM2G_11,rcp45,2047,0.618 +surrogate_GFDL-ESM2G_11,rcp45,2048,0.638 +surrogate_GFDL-ESM2G_11,rcp45,2049,0.648 +surrogate_GFDL-ESM2G_11,rcp45,2050,0.6579999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2051,0.6779999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2052,0.688 +surrogate_GFDL-ESM2G_11,rcp45,2053,0.698 +surrogate_GFDL-ESM2G_11,rcp45,2054,0.708 +surrogate_GFDL-ESM2G_11,rcp45,2055,0.718 +surrogate_GFDL-ESM2G_11,rcp45,2056,0.728 +surrogate_GFDL-ESM2G_11,rcp45,2057,0.738 +surrogate_GFDL-ESM2G_11,rcp45,2058,0.748 +surrogate_GFDL-ESM2G_11,rcp45,2059,0.758 +surrogate_GFDL-ESM2G_11,rcp45,2060,0.7679999 +surrogate_GFDL-ESM2G_11,rcp45,2061,0.778 +surrogate_GFDL-ESM2G_11,rcp45,2062,0.7879999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2063,0.7979999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2064,0.8079999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2065,0.8079999999999999 +surrogate_GFDL-ESM2G_11,rcp45,2066,0.818 +surrogate_GFDL-ESM2G_11,rcp45,2067,0.8279999 +surrogate_GFDL-ESM2G_11,rcp45,2068,0.8279999 +surrogate_GFDL-ESM2G_11,rcp45,2069,0.838 +surrogate_GFDL-ESM2G_11,rcp45,2070,0.838 +surrogate_GFDL-ESM2G_11,rcp45,2071,0.848 +surrogate_GFDL-ESM2G_11,rcp45,2072,0.848 +surrogate_GFDL-ESM2G_11,rcp45,2073,0.858 +surrogate_GFDL-ESM2G_11,rcp45,2074,0.858 +surrogate_GFDL-ESM2G_11,rcp45,2075,0.868 +surrogate_GFDL-ESM2G_11,rcp45,2076,0.868 +surrogate_GFDL-ESM2G_11,rcp45,2077,0.868 +surrogate_GFDL-ESM2G_11,rcp45,2078,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2079,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2080,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2081,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2082,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2083,0.878 +surrogate_GFDL-ESM2G_11,rcp45,2084,0.888 +surrogate_GFDL-ESM2G_11,rcp45,2085,0.888 +surrogate_GFDL-ESM2G_11,rcp45,2086,0.888 +surrogate_GFDL-ESM2G_11,rcp45,2087,0.888 +surrogate_GFDL-ESM2G_11,rcp45,2088,0.888 +surrogate_GFDL-ESM2G_11,rcp45,2089,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2090,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2091,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2092,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2093,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2094,0.8979999 +surrogate_GFDL-ESM2G_11,rcp45,2095,0.9079999 +surrogate_GFDL-ESM2G_11,rcp45,2096,0.9079999 +surrogate_GFDL-ESM2G_11,rcp45,2097,0.9079999 +surrogate_GFDL-ESM2G_11,rcp45,2098,0.9079999 +surrogate_GFDL-ESM2G_11,rcp45,2099,0.9079999 +surrogate_GFDL-ESM2G_11,rcp45,2100, +surrogate_GFDL-ESM2G_11,rcp85,1981,-0.385 +surrogate_GFDL-ESM2G_11,rcp85,1982,-0.365 +surrogate_GFDL-ESM2G_11,rcp85,1983,-0.355 +surrogate_GFDL-ESM2G_11,rcp85,1984,-0.355 +surrogate_GFDL-ESM2G_11,rcp85,1985,-0.345 +surrogate_GFDL-ESM2G_11,rcp85,1986,-0.335 +surrogate_GFDL-ESM2G_11,rcp85,1987,-0.325 +surrogate_GFDL-ESM2G_11,rcp85,1988,-0.315 +surrogate_GFDL-ESM2G_11,rcp85,1989,-0.295 +surrogate_GFDL-ESM2G_11,rcp85,1990,-0.285 +surrogate_GFDL-ESM2G_11,rcp85,1991,-0.275 +surrogate_GFDL-ESM2G_11,rcp85,1992,-0.255 +surrogate_GFDL-ESM2G_11,rcp85,1993,-0.235 +surrogate_GFDL-ESM2G_11,rcp85,1994,-0.205 +surrogate_GFDL-ESM2G_11,rcp85,1995,-0.185 +surrogate_GFDL-ESM2G_11,rcp85,1996,-0.165 +surrogate_GFDL-ESM2G_11,rcp85,1997,-0.145 +surrogate_GFDL-ESM2G_11,rcp85,1998,-0.125 +surrogate_GFDL-ESM2G_11,rcp85,1999,-0.115 +surrogate_GFDL-ESM2G_11,rcp85,2000,-0.105 +surrogate_GFDL-ESM2G_11,rcp85,2001,-0.085 +surrogate_GFDL-ESM2G_11,rcp85,2002,-0.065 +surrogate_GFDL-ESM2G_11,rcp85,2003,-0.045 +surrogate_GFDL-ESM2G_11,rcp85,2004,-0.025 +surrogate_GFDL-ESM2G_11,rcp85,2005,-0.005 +surrogate_GFDL-ESM2G_11,rcp85,2006,0.015 +surrogate_GFDL-ESM2G_11,rcp85,2007,0.025 +surrogate_GFDL-ESM2G_11,rcp85,2008,0.045 +surrogate_GFDL-ESM2G_11,rcp85,2009,0.065 +surrogate_GFDL-ESM2G_11,rcp85,2010,0.075 +surrogate_GFDL-ESM2G_11,rcp85,2011,0.095 +surrogate_GFDL-ESM2G_11,rcp85,2012,0.105 +surrogate_GFDL-ESM2G_11,rcp85,2013,0.125 +surrogate_GFDL-ESM2G_11,rcp85,2014,0.135 +surrogate_GFDL-ESM2G_11,rcp85,2015,0.155 +surrogate_GFDL-ESM2G_11,rcp85,2016,0.175 +surrogate_GFDL-ESM2G_11,rcp85,2017,0.185 +surrogate_GFDL-ESM2G_11,rcp85,2018,0.205 +surrogate_GFDL-ESM2G_11,rcp85,2019,0.225 +surrogate_GFDL-ESM2G_11,rcp85,2020,0.245 +surrogate_GFDL-ESM2G_11,rcp85,2021,0.265 +surrogate_GFDL-ESM2G_11,rcp85,2022,0.285 +surrogate_GFDL-ESM2G_11,rcp85,2023,0.305 +surrogate_GFDL-ESM2G_11,rcp85,2024,0.325 +surrogate_GFDL-ESM2G_11,rcp85,2025,0.345 +surrogate_GFDL-ESM2G_11,rcp85,2026,0.365 +surrogate_GFDL-ESM2G_11,rcp85,2027,0.385 +surrogate_GFDL-ESM2G_11,rcp85,2028,0.415 +surrogate_GFDL-ESM2G_11,rcp85,2029,0.435 +surrogate_GFDL-ESM2G_11,rcp85,2030,0.455 +surrogate_GFDL-ESM2G_11,rcp85,2031,0.475 +surrogate_GFDL-ESM2G_11,rcp85,2032,0.505 +surrogate_GFDL-ESM2G_11,rcp85,2033,0.525 +surrogate_GFDL-ESM2G_11,rcp85,2034,0.555 +surrogate_GFDL-ESM2G_11,rcp85,2035,0.575 +surrogate_GFDL-ESM2G_11,rcp85,2036,0.605 +surrogate_GFDL-ESM2G_11,rcp85,2037,0.625 +surrogate_GFDL-ESM2G_11,rcp85,2038,0.655 +surrogate_GFDL-ESM2G_11,rcp85,2039,0.685 +surrogate_GFDL-ESM2G_11,rcp85,2040,0.705 +surrogate_GFDL-ESM2G_11,rcp85,2041,0.735 +surrogate_GFDL-ESM2G_11,rcp85,2042,0.765 +surrogate_GFDL-ESM2G_11,rcp85,2043,0.795 +surrogate_GFDL-ESM2G_11,rcp85,2044,0.8249999 +surrogate_GFDL-ESM2G_11,rcp85,2045,0.855 +surrogate_GFDL-ESM2G_11,rcp85,2046,0.885 +surrogate_GFDL-ESM2G_11,rcp85,2047,0.915 +surrogate_GFDL-ESM2G_11,rcp85,2048,0.9449999 +surrogate_GFDL-ESM2G_11,rcp85,2049,0.975 +surrogate_GFDL-ESM2G_11,rcp85,2050,1.005 +surrogate_GFDL-ESM2G_11,rcp85,2051,1.035 +surrogate_GFDL-ESM2G_11,rcp85,2052,1.065 +surrogate_GFDL-ESM2G_11,rcp85,2053,1.095 +surrogate_GFDL-ESM2G_11,rcp85,2054,1.125 +surrogate_GFDL-ESM2G_11,rcp85,2055,1.155 +surrogate_GFDL-ESM2G_11,rcp85,2056,1.185 +surrogate_GFDL-ESM2G_11,rcp85,2057,1.215 +surrogate_GFDL-ESM2G_11,rcp85,2058,1.245 +surrogate_GFDL-ESM2G_11,rcp85,2059,1.285 +surrogate_GFDL-ESM2G_11,rcp85,2060,1.315 +surrogate_GFDL-ESM2G_11,rcp85,2061,1.345 +surrogate_GFDL-ESM2G_11,rcp85,2062,1.375 +surrogate_GFDL-ESM2G_11,rcp85,2063,1.415 +surrogate_GFDL-ESM2G_11,rcp85,2064,1.445 +surrogate_GFDL-ESM2G_11,rcp85,2065,1.475 +surrogate_GFDL-ESM2G_11,rcp85,2066,1.515 +surrogate_GFDL-ESM2G_11,rcp85,2067,1.545 +surrogate_GFDL-ESM2G_11,rcp85,2068,1.575 +surrogate_GFDL-ESM2G_11,rcp85,2069,1.615 +surrogate_GFDL-ESM2G_11,rcp85,2070,1.645 +surrogate_GFDL-ESM2G_11,rcp85,2071,1.685 +surrogate_GFDL-ESM2G_11,rcp85,2072,1.715 +surrogate_GFDL-ESM2G_11,rcp85,2073,1.745 +surrogate_GFDL-ESM2G_11,rcp85,2074,1.785 +surrogate_GFDL-ESM2G_11,rcp85,2075,1.815 +surrogate_GFDL-ESM2G_11,rcp85,2076,1.845 +surrogate_GFDL-ESM2G_11,rcp85,2077,1.885 +surrogate_GFDL-ESM2G_11,rcp85,2078,1.915 +surrogate_GFDL-ESM2G_11,rcp85,2079,1.945 +surrogate_GFDL-ESM2G_11,rcp85,2080,1.975 +surrogate_GFDL-ESM2G_11,rcp85,2081,2.015 +surrogate_GFDL-ESM2G_11,rcp85,2082,2.045 +surrogate_GFDL-ESM2G_11,rcp85,2083,2.075 +surrogate_GFDL-ESM2G_11,rcp85,2084,2.115 +surrogate_GFDL-ESM2G_11,rcp85,2085,2.155 +surrogate_GFDL-ESM2G_11,rcp85,2086,2.185 +surrogate_GFDL-ESM2G_11,rcp85,2087,2.215 +surrogate_GFDL-ESM2G_11,rcp85,2088,2.255 +surrogate_GFDL-ESM2G_11,rcp85,2089,2.285 +surrogate_GFDL-ESM2G_11,rcp85,2090,2.315 +surrogate_GFDL-ESM2G_11,rcp85,2091,2.355 +surrogate_GFDL-ESM2G_11,rcp85,2092,2.385 +surrogate_GFDL-ESM2G_11,rcp85,2093,2.415 +surrogate_GFDL-ESM2G_11,rcp85,2094,2.455 +surrogate_GFDL-ESM2G_11,rcp85,2095,2.485 +surrogate_GFDL-ESM2G_11,rcp85,2096,2.515 +surrogate_GFDL-ESM2G_11,rcp85,2097,2.545 +surrogate_GFDL-ESM2G_11,rcp85,2098,2.575 +surrogate_GFDL-ESM2G_11,rcp85,2099,2.615 +surrogate_GFDL-ESM2G_11,rcp85,2100, +surrogate_MRI-CGCM3_01,rcp45,1981,-0.41 +surrogate_MRI-CGCM3_01,rcp45,1982,-0.39 +surrogate_MRI-CGCM3_01,rcp45,1983,-0.38 +surrogate_MRI-CGCM3_01,rcp45,1984,-0.37 +surrogate_MRI-CGCM3_01,rcp45,1985,-0.36 +surrogate_MRI-CGCM3_01,rcp45,1986,-0.34 +surrogate_MRI-CGCM3_01,rcp45,1987,-0.33 +surrogate_MRI-CGCM3_01,rcp45,1988,-0.31 +surrogate_MRI-CGCM3_01,rcp45,1989,-0.29 +surrogate_MRI-CGCM3_01,rcp45,1990,-0.28 +surrogate_MRI-CGCM3_01,rcp45,1991,-0.26 +surrogate_MRI-CGCM3_01,rcp45,1992,-0.25 +surrogate_MRI-CGCM3_01,rcp45,1993,-0.22 +surrogate_MRI-CGCM3_01,rcp45,1994,-0.19 +surrogate_MRI-CGCM3_01,rcp45,1995,-0.17 +surrogate_MRI-CGCM3_01,rcp45,1996,-0.14 +surrogate_MRI-CGCM3_01,rcp45,1997,-0.12 +surrogate_MRI-CGCM3_01,rcp45,1998,-0.11 +surrogate_MRI-CGCM3_01,rcp45,1999,-0.09 +surrogate_MRI-CGCM3_01,rcp45,2000,-0.08 +surrogate_MRI-CGCM3_01,rcp45,2001,-0.07 +surrogate_MRI-CGCM3_01,rcp45,2002,-0.05 +surrogate_MRI-CGCM3_01,rcp45,2003,-0.04 +surrogate_MRI-CGCM3_01,rcp45,2004,-0.02 +surrogate_MRI-CGCM3_01,rcp45,2005,-1.49e-09 +surrogate_MRI-CGCM3_01,rcp45,2006,0.01 +surrogate_MRI-CGCM3_01,rcp45,2007,0.02 +surrogate_MRI-CGCM3_01,rcp45,2008,0.04 +surrogate_MRI-CGCM3_01,rcp45,2009,0.05 +surrogate_MRI-CGCM3_01,rcp45,2010,0.06 +surrogate_MRI-CGCM3_01,rcp45,2011,0.07 +surrogate_MRI-CGCM3_01,rcp45,2012,0.08 +surrogate_MRI-CGCM3_01,rcp45,2013,0.09 +surrogate_MRI-CGCM3_01,rcp45,2014,0.1 +surrogate_MRI-CGCM3_01,rcp45,2015,0.12 +surrogate_MRI-CGCM3_01,rcp45,2016,0.13 +surrogate_MRI-CGCM3_01,rcp45,2017,0.14 +surrogate_MRI-CGCM3_01,rcp45,2018,0.15 +surrogate_MRI-CGCM3_01,rcp45,2019,0.17 +surrogate_MRI-CGCM3_01,rcp45,2020,0.18 +surrogate_MRI-CGCM3_01,rcp45,2021,0.19 +surrogate_MRI-CGCM3_01,rcp45,2022,0.2 +surrogate_MRI-CGCM3_01,rcp45,2023,0.22 +surrogate_MRI-CGCM3_01,rcp45,2024,0.23 +surrogate_MRI-CGCM3_01,rcp45,2025,0.24 +surrogate_MRI-CGCM3_01,rcp45,2026,0.25 +surrogate_MRI-CGCM3_01,rcp45,2027,0.27 +surrogate_MRI-CGCM3_01,rcp45,2028,0.28 +surrogate_MRI-CGCM3_01,rcp45,2029,0.29 +surrogate_MRI-CGCM3_01,rcp45,2030,0.3 +surrogate_MRI-CGCM3_01,rcp45,2031,0.32 +surrogate_MRI-CGCM3_01,rcp45,2032,0.33 +surrogate_MRI-CGCM3_01,rcp45,2033,0.34 +surrogate_MRI-CGCM3_01,rcp45,2034,0.35 +surrogate_MRI-CGCM3_01,rcp45,2035,0.36 +surrogate_MRI-CGCM3_01,rcp45,2036,0.38 +surrogate_MRI-CGCM3_01,rcp45,2037,0.39 +surrogate_MRI-CGCM3_01,rcp45,2038,0.4 +surrogate_MRI-CGCM3_01,rcp45,2039,0.41 +surrogate_MRI-CGCM3_01,rcp45,2040,0.42 +surrogate_MRI-CGCM3_01,rcp45,2041,0.44 +surrogate_MRI-CGCM3_01,rcp45,2042,0.45 +surrogate_MRI-CGCM3_01,rcp45,2043,0.46 +surrogate_MRI-CGCM3_01,rcp45,2044,0.47 +surrogate_MRI-CGCM3_01,rcp45,2045,0.48 +surrogate_MRI-CGCM3_01,rcp45,2046,0.49 +surrogate_MRI-CGCM3_01,rcp45,2047,0.5 +surrogate_MRI-CGCM3_01,rcp45,2048,0.51 +surrogate_MRI-CGCM3_01,rcp45,2049,0.52 +surrogate_MRI-CGCM3_01,rcp45,2050,0.53 +surrogate_MRI-CGCM3_01,rcp45,2051,0.54 +surrogate_MRI-CGCM3_01,rcp45,2052,0.55 +surrogate_MRI-CGCM3_01,rcp45,2053,0.56 +surrogate_MRI-CGCM3_01,rcp45,2054,0.57 +surrogate_MRI-CGCM3_01,rcp45,2055,0.58 +surrogate_MRI-CGCM3_01,rcp45,2056,0.59 +surrogate_MRI-CGCM3_01,rcp45,2057,0.59 +surrogate_MRI-CGCM3_01,rcp45,2058,0.6 +surrogate_MRI-CGCM3_01,rcp45,2059,0.61 +surrogate_MRI-CGCM3_01,rcp45,2060,0.61 +surrogate_MRI-CGCM3_01,rcp45,2061,0.62 +surrogate_MRI-CGCM3_01,rcp45,2062,0.63 +surrogate_MRI-CGCM3_01,rcp45,2063,0.63 +surrogate_MRI-CGCM3_01,rcp45,2064,0.64 +surrogate_MRI-CGCM3_01,rcp45,2065,0.64 +surrogate_MRI-CGCM3_01,rcp45,2066,0.65 +surrogate_MRI-CGCM3_01,rcp45,2067,0.65 +surrogate_MRI-CGCM3_01,rcp45,2068,0.66 +surrogate_MRI-CGCM3_01,rcp45,2069,0.66 +surrogate_MRI-CGCM3_01,rcp45,2070,0.66 +surrogate_MRI-CGCM3_01,rcp45,2071,0.67 +surrogate_MRI-CGCM3_01,rcp45,2072,0.67 +surrogate_MRI-CGCM3_01,rcp45,2073,0.67 +surrogate_MRI-CGCM3_01,rcp45,2074,0.67 +surrogate_MRI-CGCM3_01,rcp45,2075,0.68 +surrogate_MRI-CGCM3_01,rcp45,2076,0.68 +surrogate_MRI-CGCM3_01,rcp45,2077,0.68 +surrogate_MRI-CGCM3_01,rcp45,2078,0.68 +surrogate_MRI-CGCM3_01,rcp45,2079,0.68 +surrogate_MRI-CGCM3_01,rcp45,2080,0.68 +surrogate_MRI-CGCM3_01,rcp45,2081,0.68 +surrogate_MRI-CGCM3_01,rcp45,2082,0.68 +surrogate_MRI-CGCM3_01,rcp45,2083,0.68 +surrogate_MRI-CGCM3_01,rcp45,2084,0.68 +surrogate_MRI-CGCM3_01,rcp45,2085,0.68 +surrogate_MRI-CGCM3_01,rcp45,2086,0.68 +surrogate_MRI-CGCM3_01,rcp45,2087,0.68 +surrogate_MRI-CGCM3_01,rcp45,2088,0.69 +surrogate_MRI-CGCM3_01,rcp45,2089,0.69 +surrogate_MRI-CGCM3_01,rcp45,2090,0.69 +surrogate_MRI-CGCM3_01,rcp45,2091,0.69 +surrogate_MRI-CGCM3_01,rcp45,2092,0.69 +surrogate_MRI-CGCM3_01,rcp45,2093,0.69 +surrogate_MRI-CGCM3_01,rcp45,2094,0.69 +surrogate_MRI-CGCM3_01,rcp45,2095,0.69 +surrogate_MRI-CGCM3_01,rcp45,2096,0.69 +surrogate_MRI-CGCM3_01,rcp45,2097,0.69 +surrogate_MRI-CGCM3_01,rcp45,2098,0.69 +surrogate_MRI-CGCM3_01,rcp45,2099,0.69 +surrogate_MRI-CGCM3_01,rcp45,2100, +surrogate_MRI-CGCM3_01,rcp85,1981,-0.39799999999999996 +surrogate_MRI-CGCM3_01,rcp85,1982,-0.37799999999999995 +surrogate_MRI-CGCM3_01,rcp85,1983,-0.368 +surrogate_MRI-CGCM3_01,rcp85,1984,-0.358 +surrogate_MRI-CGCM3_01,rcp85,1985,-0.348 +surrogate_MRI-CGCM3_01,rcp85,1986,-0.33799999999999997 +surrogate_MRI-CGCM3_01,rcp85,1987,-0.318 +surrogate_MRI-CGCM3_01,rcp85,1988,-0.308 +surrogate_MRI-CGCM3_01,rcp85,1989,-0.298 +surrogate_MRI-CGCM3_01,rcp85,1990,-0.278 +surrogate_MRI-CGCM3_01,rcp85,1991,-0.268 +surrogate_MRI-CGCM3_01,rcp85,1992,-0.248 +surrogate_MRI-CGCM3_01,rcp85,1993,-0.218 +surrogate_MRI-CGCM3_01,rcp85,1994,-0.188 +surrogate_MRI-CGCM3_01,rcp85,1995,-0.168 +surrogate_MRI-CGCM3_01,rcp85,1996,-0.14800000000000002 +surrogate_MRI-CGCM3_01,rcp85,1997,-0.11800000000000001 +surrogate_MRI-CGCM3_01,rcp85,1998,-0.10800000000000001 +surrogate_MRI-CGCM3_01,rcp85,1999,-0.08800000000000001 +surrogate_MRI-CGCM3_01,rcp85,2000,-0.078 +surrogate_MRI-CGCM3_01,rcp85,2001,-0.068 +surrogate_MRI-CGCM3_01,rcp85,2002,-0.057999999999999996 +surrogate_MRI-CGCM3_01,rcp85,2003,-0.038 +surrogate_MRI-CGCM3_01,rcp85,2004,-0.018000000000000002 +surrogate_MRI-CGCM3_01,rcp85,2005,-0.008 +surrogate_MRI-CGCM3_01,rcp85,2006,0.012 +surrogate_MRI-CGCM3_01,rcp85,2007,0.022000000000000002 +surrogate_MRI-CGCM3_01,rcp85,2008,0.042 +surrogate_MRI-CGCM3_01,rcp85,2009,0.052000000000000005 +surrogate_MRI-CGCM3_01,rcp85,2010,0.062 +surrogate_MRI-CGCM3_01,rcp85,2011,0.08199999999999999 +surrogate_MRI-CGCM3_01,rcp85,2012,0.092 +surrogate_MRI-CGCM3_01,rcp85,2013,0.102 +surrogate_MRI-CGCM3_01,rcp85,2014,0.122 +surrogate_MRI-CGCM3_01,rcp85,2015,0.142 +surrogate_MRI-CGCM3_01,rcp85,2016,0.152 +surrogate_MRI-CGCM3_01,rcp85,2017,0.172 +surrogate_MRI-CGCM3_01,rcp85,2018,0.182 +surrogate_MRI-CGCM3_01,rcp85,2019,0.20199999999999999 +surrogate_MRI-CGCM3_01,rcp85,2020,0.212 +surrogate_MRI-CGCM3_01,rcp85,2021,0.23199999999999998 +surrogate_MRI-CGCM3_01,rcp85,2022,0.252 +surrogate_MRI-CGCM3_01,rcp85,2023,0.272 +surrogate_MRI-CGCM3_01,rcp85,2024,0.292 +surrogate_MRI-CGCM3_01,rcp85,2025,0.302 +surrogate_MRI-CGCM3_01,rcp85,2026,0.322 +surrogate_MRI-CGCM3_01,rcp85,2027,0.342 +surrogate_MRI-CGCM3_01,rcp85,2028,0.36200000000000004 +surrogate_MRI-CGCM3_01,rcp85,2029,0.382 +surrogate_MRI-CGCM3_01,rcp85,2030,0.402 +surrogate_MRI-CGCM3_01,rcp85,2031,0.42200000000000004 +surrogate_MRI-CGCM3_01,rcp85,2032,0.452 +surrogate_MRI-CGCM3_01,rcp85,2033,0.47200000000000003 +surrogate_MRI-CGCM3_01,rcp85,2034,0.49200000000000005 +surrogate_MRI-CGCM3_01,rcp85,2035,0.512 +surrogate_MRI-CGCM3_01,rcp85,2036,0.532 +surrogate_MRI-CGCM3_01,rcp85,2037,0.552 +surrogate_MRI-CGCM3_01,rcp85,2038,0.5820000000000001 +surrogate_MRI-CGCM3_01,rcp85,2039,0.602 +surrogate_MRI-CGCM3_01,rcp85,2040,0.622 +surrogate_MRI-CGCM3_01,rcp85,2041,0.652 +surrogate_MRI-CGCM3_01,rcp85,2042,0.672 +surrogate_MRI-CGCM3_01,rcp85,2043,0.6920000000000001 +surrogate_MRI-CGCM3_01,rcp85,2044,0.722 +surrogate_MRI-CGCM3_01,rcp85,2045,0.742 +surrogate_MRI-CGCM3_01,rcp85,2046,0.772 +surrogate_MRI-CGCM3_01,rcp85,2047,0.792 +surrogate_MRI-CGCM3_01,rcp85,2048,0.8220000000000001 +surrogate_MRI-CGCM3_01,rcp85,2049,0.8419999 +surrogate_MRI-CGCM3_01,rcp85,2050,0.872 +surrogate_MRI-CGCM3_01,rcp85,2051,0.892 +surrogate_MRI-CGCM3_01,rcp85,2052,0.922 +surrogate_MRI-CGCM3_01,rcp85,2053,0.9520000000000001 +surrogate_MRI-CGCM3_01,rcp85,2054,0.9720001 +surrogate_MRI-CGCM3_01,rcp85,2055,1.002 +surrogate_MRI-CGCM3_01,rcp85,2056,1.022 +surrogate_MRI-CGCM3_01,rcp85,2057,1.052 +surrogate_MRI-CGCM3_01,rcp85,2058,1.082 +surrogate_MRI-CGCM3_01,rcp85,2059,1.112 +surrogate_MRI-CGCM3_01,rcp85,2060,1.1320000000000001 +surrogate_MRI-CGCM3_01,rcp85,2061,1.162 +surrogate_MRI-CGCM3_01,rcp85,2062,1.192 +surrogate_MRI-CGCM3_01,rcp85,2063,1.222 +surrogate_MRI-CGCM3_01,rcp85,2064,1.242 +surrogate_MRI-CGCM3_01,rcp85,2065,1.272 +surrogate_MRI-CGCM3_01,rcp85,2066,1.3019999999999998 +surrogate_MRI-CGCM3_01,rcp85,2067,1.3319999999999999 +surrogate_MRI-CGCM3_01,rcp85,2068,1.3619999999999999 +surrogate_MRI-CGCM3_01,rcp85,2069,1.382 +surrogate_MRI-CGCM3_01,rcp85,2070,1.412 +surrogate_MRI-CGCM3_01,rcp85,2071,1.442 +surrogate_MRI-CGCM3_01,rcp85,2072,1.472 +surrogate_MRI-CGCM3_01,rcp85,2073,1.5019999999999998 +surrogate_MRI-CGCM3_01,rcp85,2074,1.5319999999999998 +surrogate_MRI-CGCM3_01,rcp85,2075,1.5519999999999998 +surrogate_MRI-CGCM3_01,rcp85,2076,1.5819999999999999 +surrogate_MRI-CGCM3_01,rcp85,2077,1.6119999999999999 +surrogate_MRI-CGCM3_01,rcp85,2078,1.642 +surrogate_MRI-CGCM3_01,rcp85,2079,1.672 +surrogate_MRI-CGCM3_01,rcp85,2080,1.702 +surrogate_MRI-CGCM3_01,rcp85,2081,1.732 +surrogate_MRI-CGCM3_01,rcp85,2082,1.7519999999999998 +surrogate_MRI-CGCM3_01,rcp85,2083,1.7819999999999998 +surrogate_MRI-CGCM3_01,rcp85,2084,1.8119999999999998 +surrogate_MRI-CGCM3_01,rcp85,2085,1.8419999999999999 +surrogate_MRI-CGCM3_01,rcp85,2086,1.8719999999999999 +surrogate_MRI-CGCM3_01,rcp85,2087,1.902 +surrogate_MRI-CGCM3_01,rcp85,2088,1.932 +surrogate_MRI-CGCM3_01,rcp85,2089,1.962 +surrogate_MRI-CGCM3_01,rcp85,2090,1.992 +surrogate_MRI-CGCM3_01,rcp85,2091,2.022 +surrogate_MRI-CGCM3_01,rcp85,2092,2.042 +surrogate_MRI-CGCM3_01,rcp85,2093,2.072 +surrogate_MRI-CGCM3_01,rcp85,2094,2.092 +surrogate_MRI-CGCM3_01,rcp85,2095,2.122 +surrogate_MRI-CGCM3_01,rcp85,2096,2.1519999999999997 +surrogate_MRI-CGCM3_01,rcp85,2097,2.1719999999999997 +surrogate_MRI-CGCM3_01,rcp85,2098,2.202 +surrogate_MRI-CGCM3_01,rcp85,2099,2.222 +surrogate_MRI-CGCM3_01,rcp85,2100, +surrogate_MRI-CGCM3_06,rcp45,1981,-0.38299999999999995 +surrogate_MRI-CGCM3_06,rcp45,1982,-0.373 +surrogate_MRI-CGCM3_06,rcp45,1983,-0.353 +surrogate_MRI-CGCM3_06,rcp45,1984,-0.353 +surrogate_MRI-CGCM3_06,rcp45,1985,-0.34299999999999997 +surrogate_MRI-CGCM3_06,rcp45,1986,-0.33299999999999996 +surrogate_MRI-CGCM3_06,rcp45,1987,-0.313 +surrogate_MRI-CGCM3_06,rcp45,1988,-0.303 +surrogate_MRI-CGCM3_06,rcp45,1989,-0.293 +surrogate_MRI-CGCM3_06,rcp45,1990,-0.273 +surrogate_MRI-CGCM3_06,rcp45,1991,-0.263 +surrogate_MRI-CGCM3_06,rcp45,1992,-0.243 +surrogate_MRI-CGCM3_06,rcp45,1993,-0.223 +surrogate_MRI-CGCM3_06,rcp45,1994,-0.193 +surrogate_MRI-CGCM3_06,rcp45,1995,-0.17300000000000001 +surrogate_MRI-CGCM3_06,rcp45,1996,-0.153 +surrogate_MRI-CGCM3_06,rcp45,1997,-0.133 +surrogate_MRI-CGCM3_06,rcp45,1998,-0.113 +surrogate_MRI-CGCM3_06,rcp45,1999,-0.10300000000000001 +surrogate_MRI-CGCM3_06,rcp45,2000,-0.09300000000000001 +surrogate_MRI-CGCM3_06,rcp45,2001,-0.083 +surrogate_MRI-CGCM3_06,rcp45,2002,-0.063 +surrogate_MRI-CGCM3_06,rcp45,2003,-0.043 +surrogate_MRI-CGCM3_06,rcp45,2004,-0.023 +surrogate_MRI-CGCM3_06,rcp45,2005,-0.003 +surrogate_MRI-CGCM3_06,rcp45,2006,0.017 +surrogate_MRI-CGCM3_06,rcp45,2007,0.027000000000000003 +surrogate_MRI-CGCM3_06,rcp45,2008,0.047 +surrogate_MRI-CGCM3_06,rcp45,2009,0.057 +surrogate_MRI-CGCM3_06,rcp45,2010,0.067 +surrogate_MRI-CGCM3_06,rcp45,2011,0.087 +surrogate_MRI-CGCM3_06,rcp45,2012,0.09699999999999999 +surrogate_MRI-CGCM3_06,rcp45,2013,0.107 +surrogate_MRI-CGCM3_06,rcp45,2014,0.127 +surrogate_MRI-CGCM3_06,rcp45,2015,0.13699999999999998 +surrogate_MRI-CGCM3_06,rcp45,2016,0.147 +surrogate_MRI-CGCM3_06,rcp45,2017,0.157 +surrogate_MRI-CGCM3_06,rcp45,2018,0.177 +surrogate_MRI-CGCM3_06,rcp45,2019,0.187 +surrogate_MRI-CGCM3_06,rcp45,2020,0.19699999999999998 +surrogate_MRI-CGCM3_06,rcp45,2021,0.207 +surrogate_MRI-CGCM3_06,rcp45,2022,0.22699999999999998 +surrogate_MRI-CGCM3_06,rcp45,2023,0.237 +surrogate_MRI-CGCM3_06,rcp45,2024,0.247 +surrogate_MRI-CGCM3_06,rcp45,2025,0.267 +surrogate_MRI-CGCM3_06,rcp45,2026,0.27699999999999997 +surrogate_MRI-CGCM3_06,rcp45,2027,0.297 +surrogate_MRI-CGCM3_06,rcp45,2028,0.307 +surrogate_MRI-CGCM3_06,rcp45,2029,0.327 +surrogate_MRI-CGCM3_06,rcp45,2030,0.337 +surrogate_MRI-CGCM3_06,rcp45,2031,0.34700000000000003 +surrogate_MRI-CGCM3_06,rcp45,2032,0.36700000000000005 +surrogate_MRI-CGCM3_06,rcp45,2033,0.377 +surrogate_MRI-CGCM3_06,rcp45,2034,0.387 +surrogate_MRI-CGCM3_06,rcp45,2035,0.40700000000000003 +surrogate_MRI-CGCM3_06,rcp45,2036,0.41700000000000004 +surrogate_MRI-CGCM3_06,rcp45,2037,0.43700000000000006 +surrogate_MRI-CGCM3_06,rcp45,2038,0.447 +surrogate_MRI-CGCM3_06,rcp45,2039,0.457 +surrogate_MRI-CGCM3_06,rcp45,2040,0.47700000000000004 +surrogate_MRI-CGCM3_06,rcp45,2041,0.48700000000000004 +surrogate_MRI-CGCM3_06,rcp45,2042,0.49700000000000005 +surrogate_MRI-CGCM3_06,rcp45,2043,0.507 +surrogate_MRI-CGCM3_06,rcp45,2044,0.527 +surrogate_MRI-CGCM3_06,rcp45,2045,0.537 +surrogate_MRI-CGCM3_06,rcp45,2046,0.547 +surrogate_MRI-CGCM3_06,rcp45,2047,0.557 +surrogate_MRI-CGCM3_06,rcp45,2048,0.5770000000000001 +surrogate_MRI-CGCM3_06,rcp45,2049,0.5870000000000001 +surrogate_MRI-CGCM3_06,rcp45,2050,0.597 +surrogate_MRI-CGCM3_06,rcp45,2051,0.607 +surrogate_MRI-CGCM3_06,rcp45,2052,0.627 +surrogate_MRI-CGCM3_06,rcp45,2053,0.637 +surrogate_MRI-CGCM3_06,rcp45,2054,0.647 +surrogate_MRI-CGCM3_06,rcp45,2055,0.657 +surrogate_MRI-CGCM3_06,rcp45,2056,0.667 +surrogate_MRI-CGCM3_06,rcp45,2057,0.677 +surrogate_MRI-CGCM3_06,rcp45,2058,0.687 +surrogate_MRI-CGCM3_06,rcp45,2059,0.6970000000000001 +surrogate_MRI-CGCM3_06,rcp45,2060,0.7070000000000001 +surrogate_MRI-CGCM3_06,rcp45,2061,0.7170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2062,0.7170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2063,0.727 +surrogate_MRI-CGCM3_06,rcp45,2064,0.737 +surrogate_MRI-CGCM3_06,rcp45,2065,0.737 +surrogate_MRI-CGCM3_06,rcp45,2066,0.747 +surrogate_MRI-CGCM3_06,rcp45,2067,0.757 +surrogate_MRI-CGCM3_06,rcp45,2068,0.757 +surrogate_MRI-CGCM3_06,rcp45,2069,0.767 +surrogate_MRI-CGCM3_06,rcp45,2070,0.767 +surrogate_MRI-CGCM3_06,rcp45,2071,0.777 +surrogate_MRI-CGCM3_06,rcp45,2072,0.777 +surrogate_MRI-CGCM3_06,rcp45,2073,0.777 +surrogate_MRI-CGCM3_06,rcp45,2074,0.787 +surrogate_MRI-CGCM3_06,rcp45,2075,0.787 +surrogate_MRI-CGCM3_06,rcp45,2076,0.787 +surrogate_MRI-CGCM3_06,rcp45,2077,0.797 +surrogate_MRI-CGCM3_06,rcp45,2078,0.797 +surrogate_MRI-CGCM3_06,rcp45,2079,0.797 +surrogate_MRI-CGCM3_06,rcp45,2080,0.797 +surrogate_MRI-CGCM3_06,rcp45,2081,0.797 +surrogate_MRI-CGCM3_06,rcp45,2082,0.797 +surrogate_MRI-CGCM3_06,rcp45,2083,0.807 +surrogate_MRI-CGCM3_06,rcp45,2084,0.807 +surrogate_MRI-CGCM3_06,rcp45,2085,0.807 +surrogate_MRI-CGCM3_06,rcp45,2086,0.807 +surrogate_MRI-CGCM3_06,rcp45,2087,0.807 +surrogate_MRI-CGCM3_06,rcp45,2088,0.8170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2089,0.8170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2090,0.8170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2091,0.8170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2092,0.8170000000000001 +surrogate_MRI-CGCM3_06,rcp45,2093,0.8270000000000001 +surrogate_MRI-CGCM3_06,rcp45,2094,0.8270000000000001 +surrogate_MRI-CGCM3_06,rcp45,2095,0.8270000000000001 +surrogate_MRI-CGCM3_06,rcp45,2096,0.8270000000000001 +surrogate_MRI-CGCM3_06,rcp45,2097,0.8370000000000001 +surrogate_MRI-CGCM3_06,rcp45,2098,0.8370000000000001 +surrogate_MRI-CGCM3_06,rcp45,2099,0.8370000000000001 +surrogate_MRI-CGCM3_06,rcp45,2100, +surrogate_MRI-CGCM3_06,rcp85,1981,-0.38799999999999996 +surrogate_MRI-CGCM3_06,rcp85,1982,-0.37799999999999995 +surrogate_MRI-CGCM3_06,rcp85,1983,-0.368 +surrogate_MRI-CGCM3_06,rcp85,1984,-0.358 +surrogate_MRI-CGCM3_06,rcp85,1985,-0.348 +surrogate_MRI-CGCM3_06,rcp85,1986,-0.33799999999999997 +surrogate_MRI-CGCM3_06,rcp85,1987,-0.32799999999999996 +surrogate_MRI-CGCM3_06,rcp85,1988,-0.318 +surrogate_MRI-CGCM3_06,rcp85,1989,-0.298 +surrogate_MRI-CGCM3_06,rcp85,1990,-0.28800000000000003 +surrogate_MRI-CGCM3_06,rcp85,1991,-0.268 +surrogate_MRI-CGCM3_06,rcp85,1992,-0.258 +surrogate_MRI-CGCM3_06,rcp85,1993,-0.228 +surrogate_MRI-CGCM3_06,rcp85,1994,-0.20800000000000002 +surrogate_MRI-CGCM3_06,rcp85,1995,-0.17800000000000002 +surrogate_MRI-CGCM3_06,rcp85,1996,-0.158 +surrogate_MRI-CGCM3_06,rcp85,1997,-0.138 +surrogate_MRI-CGCM3_06,rcp85,1998,-0.11800000000000001 +surrogate_MRI-CGCM3_06,rcp85,1999,-0.10800000000000001 +surrogate_MRI-CGCM3_06,rcp85,2000,-0.098 +surrogate_MRI-CGCM3_06,rcp85,2001,-0.08800000000000001 +surrogate_MRI-CGCM3_06,rcp85,2002,-0.068 +surrogate_MRI-CGCM3_06,rcp85,2003,-0.038 +surrogate_MRI-CGCM3_06,rcp85,2004,-0.018000000000000002 +surrogate_MRI-CGCM3_06,rcp85,2005,-0.008 +surrogate_MRI-CGCM3_06,rcp85,2006,0.012 +surrogate_MRI-CGCM3_06,rcp85,2007,0.032 +surrogate_MRI-CGCM3_06,rcp85,2008,0.042 +surrogate_MRI-CGCM3_06,rcp85,2009,0.062 +surrogate_MRI-CGCM3_06,rcp85,2010,0.07200000000000001 +surrogate_MRI-CGCM3_06,rcp85,2011,0.08199999999999999 +surrogate_MRI-CGCM3_06,rcp85,2012,0.102 +surrogate_MRI-CGCM3_06,rcp85,2013,0.11199999999999999 +surrogate_MRI-CGCM3_06,rcp85,2014,0.132 +surrogate_MRI-CGCM3_06,rcp85,2015,0.152 +surrogate_MRI-CGCM3_06,rcp85,2016,0.162 +surrogate_MRI-CGCM3_06,rcp85,2017,0.182 +surrogate_MRI-CGCM3_06,rcp85,2018,0.20199999999999999 +surrogate_MRI-CGCM3_06,rcp85,2019,0.212 +surrogate_MRI-CGCM3_06,rcp85,2020,0.23199999999999998 +surrogate_MRI-CGCM3_06,rcp85,2021,0.252 +surrogate_MRI-CGCM3_06,rcp85,2022,0.262 +surrogate_MRI-CGCM3_06,rcp85,2023,0.282 +surrogate_MRI-CGCM3_06,rcp85,2024,0.302 +surrogate_MRI-CGCM3_06,rcp85,2025,0.322 +surrogate_MRI-CGCM3_06,rcp85,2026,0.342 +surrogate_MRI-CGCM3_06,rcp85,2027,0.36200000000000004 +surrogate_MRI-CGCM3_06,rcp85,2028,0.382 +surrogate_MRI-CGCM3_06,rcp85,2029,0.41200000000000003 +surrogate_MRI-CGCM3_06,rcp85,2030,0.43200000000000005 +surrogate_MRI-CGCM3_06,rcp85,2031,0.452 +surrogate_MRI-CGCM3_06,rcp85,2032,0.47200000000000003 +surrogate_MRI-CGCM3_06,rcp85,2033,0.502 +surrogate_MRI-CGCM3_06,rcp85,2034,0.522 +surrogate_MRI-CGCM3_06,rcp85,2035,0.542 +surrogate_MRI-CGCM3_06,rcp85,2036,0.5720000000000001 +surrogate_MRI-CGCM3_06,rcp85,2037,0.602 +surrogate_MRI-CGCM3_06,rcp85,2038,0.622 +surrogate_MRI-CGCM3_06,rcp85,2039,0.652 +surrogate_MRI-CGCM3_06,rcp85,2040,0.682 +surrogate_MRI-CGCM3_06,rcp85,2041,0.7020000000000001 +surrogate_MRI-CGCM3_06,rcp85,2042,0.732 +surrogate_MRI-CGCM3_06,rcp85,2043,0.762 +surrogate_MRI-CGCM3_06,rcp85,2044,0.782 +surrogate_MRI-CGCM3_06,rcp85,2045,0.812 +surrogate_MRI-CGCM3_06,rcp85,2046,0.8320000000000001 +surrogate_MRI-CGCM3_06,rcp85,2047,0.862 +surrogate_MRI-CGCM3_06,rcp85,2048,0.892 +surrogate_MRI-CGCM3_06,rcp85,2049,0.922 +surrogate_MRI-CGCM3_06,rcp85,2050,0.9520000000000001 +surrogate_MRI-CGCM3_06,rcp85,2051,0.9820001 +surrogate_MRI-CGCM3_06,rcp85,2052,1.012 +surrogate_MRI-CGCM3_06,rcp85,2053,1.042 +surrogate_MRI-CGCM3_06,rcp85,2054,1.072 +surrogate_MRI-CGCM3_06,rcp85,2055,1.102 +surrogate_MRI-CGCM3_06,rcp85,2056,1.1320000000000001 +surrogate_MRI-CGCM3_06,rcp85,2057,1.162 +surrogate_MRI-CGCM3_06,rcp85,2058,1.192 +surrogate_MRI-CGCM3_06,rcp85,2059,1.222 +surrogate_MRI-CGCM3_06,rcp85,2060,1.252 +surrogate_MRI-CGCM3_06,rcp85,2061,1.2819999999999998 +surrogate_MRI-CGCM3_06,rcp85,2062,1.3119999999999998 +surrogate_MRI-CGCM3_06,rcp85,2063,1.3419999999999999 +surrogate_MRI-CGCM3_06,rcp85,2064,1.3719999999999999 +surrogate_MRI-CGCM3_06,rcp85,2065,1.412 +surrogate_MRI-CGCM3_06,rcp85,2066,1.442 +surrogate_MRI-CGCM3_06,rcp85,2067,1.472 +surrogate_MRI-CGCM3_06,rcp85,2068,1.5019999999999998 +surrogate_MRI-CGCM3_06,rcp85,2069,1.5319999999999998 +surrogate_MRI-CGCM3_06,rcp85,2070,1.5719999999999998 +surrogate_MRI-CGCM3_06,rcp85,2071,1.6019999999999999 +surrogate_MRI-CGCM3_06,rcp85,2072,1.632 +surrogate_MRI-CGCM3_06,rcp85,2073,1.662 +surrogate_MRI-CGCM3_06,rcp85,2074,1.692 +surrogate_MRI-CGCM3_06,rcp85,2075,1.722 +surrogate_MRI-CGCM3_06,rcp85,2076,1.7619999999999998 +surrogate_MRI-CGCM3_06,rcp85,2077,1.7919999999999998 +surrogate_MRI-CGCM3_06,rcp85,2078,1.8219999999999998 +surrogate_MRI-CGCM3_06,rcp85,2079,1.8519999999999999 +surrogate_MRI-CGCM3_06,rcp85,2080,1.882 +surrogate_MRI-CGCM3_06,rcp85,2081,1.912 +surrogate_MRI-CGCM3_06,rcp85,2082,1.952 +surrogate_MRI-CGCM3_06,rcp85,2083,1.982 +surrogate_MRI-CGCM3_06,rcp85,2084,2.012 +surrogate_MRI-CGCM3_06,rcp85,2085,2.042 +surrogate_MRI-CGCM3_06,rcp85,2086,2.082 +surrogate_MRI-CGCM3_06,rcp85,2087,2.112 +surrogate_MRI-CGCM3_06,rcp85,2088,2.142 +surrogate_MRI-CGCM3_06,rcp85,2089,2.1719999999999997 +surrogate_MRI-CGCM3_06,rcp85,2090,2.202 +surrogate_MRI-CGCM3_06,rcp85,2091,2.242 +surrogate_MRI-CGCM3_06,rcp85,2092,2.272 +surrogate_MRI-CGCM3_06,rcp85,2093,2.302 +surrogate_MRI-CGCM3_06,rcp85,2094,2.332 +surrogate_MRI-CGCM3_06,rcp85,2095,2.362 +surrogate_MRI-CGCM3_06,rcp85,2096,2.392 +surrogate_MRI-CGCM3_06,rcp85,2097,2.432 +surrogate_MRI-CGCM3_06,rcp85,2098,2.4619999999999997 +surrogate_MRI-CGCM3_06,rcp85,2099,2.4819999999999998 +surrogate_MRI-CGCM3_06,rcp85,2100, +surrogate_MRI-CGCM3_11,rcp45,1981,-0.382 +surrogate_MRI-CGCM3_11,rcp45,1982,-0.37200000000000005 +surrogate_MRI-CGCM3_11,rcp45,1983,-0.36200000000000004 +surrogate_MRI-CGCM3_11,rcp45,1984,-0.35200000000000004 +surrogate_MRI-CGCM3_11,rcp45,1985,-0.342 +surrogate_MRI-CGCM3_11,rcp45,1986,-0.332 +surrogate_MRI-CGCM3_11,rcp45,1987,-0.322 +surrogate_MRI-CGCM3_11,rcp45,1988,-0.302 +surrogate_MRI-CGCM3_11,rcp45,1989,-0.292 +surrogate_MRI-CGCM3_11,rcp45,1990,-0.282 +surrogate_MRI-CGCM3_11,rcp45,1991,-0.262 +surrogate_MRI-CGCM3_11,rcp45,1992,-0.252 +surrogate_MRI-CGCM3_11,rcp45,1993,-0.222 +surrogate_MRI-CGCM3_11,rcp45,1994,-0.20199999999999999 +surrogate_MRI-CGCM3_11,rcp45,1995,-0.182 +surrogate_MRI-CGCM3_11,rcp45,1996,-0.162 +surrogate_MRI-CGCM3_11,rcp45,1997,-0.142 +surrogate_MRI-CGCM3_11,rcp45,1998,-0.122 +surrogate_MRI-CGCM3_11,rcp45,1999,-0.11199999999999999 +surrogate_MRI-CGCM3_11,rcp45,2000,-0.102 +surrogate_MRI-CGCM3_11,rcp45,2001,-0.08199999999999999 +surrogate_MRI-CGCM3_11,rcp45,2002,-0.062 +surrogate_MRI-CGCM3_11,rcp45,2003,-0.042 +surrogate_MRI-CGCM3_11,rcp45,2004,-0.022000000000000002 +surrogate_MRI-CGCM3_11,rcp45,2005,-0.002 +surrogate_MRI-CGCM3_11,rcp45,2006,0.008 +surrogate_MRI-CGCM3_11,rcp45,2007,0.027999999999999997 +surrogate_MRI-CGCM3_11,rcp45,2008,0.048 +surrogate_MRI-CGCM3_11,rcp45,2009,0.057999999999999996 +surrogate_MRI-CGCM3_11,rcp45,2010,0.068 +surrogate_MRI-CGCM3_11,rcp45,2011,0.08800000000000001 +surrogate_MRI-CGCM3_11,rcp45,2012,0.098 +surrogate_MRI-CGCM3_11,rcp45,2013,0.10800000000000001 +surrogate_MRI-CGCM3_11,rcp45,2014,0.128 +surrogate_MRI-CGCM3_11,rcp45,2015,0.138 +surrogate_MRI-CGCM3_11,rcp45,2016,0.14800000000000002 +surrogate_MRI-CGCM3_11,rcp45,2017,0.168 +surrogate_MRI-CGCM3_11,rcp45,2018,0.17800000000000002 +surrogate_MRI-CGCM3_11,rcp45,2019,0.198 +surrogate_MRI-CGCM3_11,rcp45,2020,0.20800000000000002 +surrogate_MRI-CGCM3_11,rcp45,2021,0.228 +surrogate_MRI-CGCM3_11,rcp45,2022,0.23800000000000002 +surrogate_MRI-CGCM3_11,rcp45,2023,0.258 +surrogate_MRI-CGCM3_11,rcp45,2024,0.268 +surrogate_MRI-CGCM3_11,rcp45,2025,0.28800000000000003 +surrogate_MRI-CGCM3_11,rcp45,2026,0.298 +surrogate_MRI-CGCM3_11,rcp45,2027,0.318 +surrogate_MRI-CGCM3_11,rcp45,2028,0.32799999999999996 +surrogate_MRI-CGCM3_11,rcp45,2029,0.348 +surrogate_MRI-CGCM3_11,rcp45,2030,0.358 +surrogate_MRI-CGCM3_11,rcp45,2031,0.37799999999999995 +surrogate_MRI-CGCM3_11,rcp45,2032,0.38799999999999996 +surrogate_MRI-CGCM3_11,rcp45,2033,0.408 +surrogate_MRI-CGCM3_11,rcp45,2034,0.418 +surrogate_MRI-CGCM3_11,rcp45,2035,0.43799999999999994 +surrogate_MRI-CGCM3_11,rcp45,2036,0.44799999999999995 +surrogate_MRI-CGCM3_11,rcp45,2037,0.46799999999999997 +surrogate_MRI-CGCM3_11,rcp45,2038,0.478 +surrogate_MRI-CGCM3_11,rcp45,2039,0.498 +surrogate_MRI-CGCM3_11,rcp45,2040,0.508 +surrogate_MRI-CGCM3_11,rcp45,2041,0.528 +surrogate_MRI-CGCM3_11,rcp45,2042,0.5479999999999999 +surrogate_MRI-CGCM3_11,rcp45,2043,0.5579999999999999 +surrogate_MRI-CGCM3_11,rcp45,2044,0.5779999 +surrogate_MRI-CGCM3_11,rcp45,2045,0.588 +surrogate_MRI-CGCM3_11,rcp45,2046,0.608 +surrogate_MRI-CGCM3_11,rcp45,2047,0.618 +surrogate_MRI-CGCM3_11,rcp45,2048,0.638 +surrogate_MRI-CGCM3_11,rcp45,2049,0.648 +surrogate_MRI-CGCM3_11,rcp45,2050,0.6579999999999999 +surrogate_MRI-CGCM3_11,rcp45,2051,0.6779999999999999 +surrogate_MRI-CGCM3_11,rcp45,2052,0.688 +surrogate_MRI-CGCM3_11,rcp45,2053,0.698 +surrogate_MRI-CGCM3_11,rcp45,2054,0.708 +surrogate_MRI-CGCM3_11,rcp45,2055,0.718 +surrogate_MRI-CGCM3_11,rcp45,2056,0.728 +surrogate_MRI-CGCM3_11,rcp45,2057,0.738 +surrogate_MRI-CGCM3_11,rcp45,2058,0.748 +surrogate_MRI-CGCM3_11,rcp45,2059,0.758 +surrogate_MRI-CGCM3_11,rcp45,2060,0.7679999 +surrogate_MRI-CGCM3_11,rcp45,2061,0.778 +surrogate_MRI-CGCM3_11,rcp45,2062,0.7879999999999999 +surrogate_MRI-CGCM3_11,rcp45,2063,0.7979999999999999 +surrogate_MRI-CGCM3_11,rcp45,2064,0.8079999999999999 +surrogate_MRI-CGCM3_11,rcp45,2065,0.8079999999999999 +surrogate_MRI-CGCM3_11,rcp45,2066,0.818 +surrogate_MRI-CGCM3_11,rcp45,2067,0.8279999 +surrogate_MRI-CGCM3_11,rcp45,2068,0.8279999 +surrogate_MRI-CGCM3_11,rcp45,2069,0.838 +surrogate_MRI-CGCM3_11,rcp45,2070,0.838 +surrogate_MRI-CGCM3_11,rcp45,2071,0.848 +surrogate_MRI-CGCM3_11,rcp45,2072,0.848 +surrogate_MRI-CGCM3_11,rcp45,2073,0.858 +surrogate_MRI-CGCM3_11,rcp45,2074,0.858 +surrogate_MRI-CGCM3_11,rcp45,2075,0.868 +surrogate_MRI-CGCM3_11,rcp45,2076,0.868 +surrogate_MRI-CGCM3_11,rcp45,2077,0.868 +surrogate_MRI-CGCM3_11,rcp45,2078,0.878 +surrogate_MRI-CGCM3_11,rcp45,2079,0.878 +surrogate_MRI-CGCM3_11,rcp45,2080,0.878 +surrogate_MRI-CGCM3_11,rcp45,2081,0.878 +surrogate_MRI-CGCM3_11,rcp45,2082,0.878 +surrogate_MRI-CGCM3_11,rcp45,2083,0.878 +surrogate_MRI-CGCM3_11,rcp45,2084,0.888 +surrogate_MRI-CGCM3_11,rcp45,2085,0.888 +surrogate_MRI-CGCM3_11,rcp45,2086,0.888 +surrogate_MRI-CGCM3_11,rcp45,2087,0.888 +surrogate_MRI-CGCM3_11,rcp45,2088,0.888 +surrogate_MRI-CGCM3_11,rcp45,2089,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2090,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2091,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2092,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2093,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2094,0.8979999 +surrogate_MRI-CGCM3_11,rcp45,2095,0.9079999 +surrogate_MRI-CGCM3_11,rcp45,2096,0.9079999 +surrogate_MRI-CGCM3_11,rcp45,2097,0.9079999 +surrogate_MRI-CGCM3_11,rcp45,2098,0.9079999 +surrogate_MRI-CGCM3_11,rcp45,2099,0.9079999 +surrogate_MRI-CGCM3_11,rcp45,2100, +surrogate_MRI-CGCM3_11,rcp85,1981,-0.385 +surrogate_MRI-CGCM3_11,rcp85,1982,-0.365 +surrogate_MRI-CGCM3_11,rcp85,1983,-0.355 +surrogate_MRI-CGCM3_11,rcp85,1984,-0.355 +surrogate_MRI-CGCM3_11,rcp85,1985,-0.345 +surrogate_MRI-CGCM3_11,rcp85,1986,-0.335 +surrogate_MRI-CGCM3_11,rcp85,1987,-0.325 +surrogate_MRI-CGCM3_11,rcp85,1988,-0.315 +surrogate_MRI-CGCM3_11,rcp85,1989,-0.295 +surrogate_MRI-CGCM3_11,rcp85,1990,-0.285 +surrogate_MRI-CGCM3_11,rcp85,1991,-0.275 +surrogate_MRI-CGCM3_11,rcp85,1992,-0.255 +surrogate_MRI-CGCM3_11,rcp85,1993,-0.235 +surrogate_MRI-CGCM3_11,rcp85,1994,-0.205 +surrogate_MRI-CGCM3_11,rcp85,1995,-0.185 +surrogate_MRI-CGCM3_11,rcp85,1996,-0.165 +surrogate_MRI-CGCM3_11,rcp85,1997,-0.145 +surrogate_MRI-CGCM3_11,rcp85,1998,-0.125 +surrogate_MRI-CGCM3_11,rcp85,1999,-0.115 +surrogate_MRI-CGCM3_11,rcp85,2000,-0.105 +surrogate_MRI-CGCM3_11,rcp85,2001,-0.085 +surrogate_MRI-CGCM3_11,rcp85,2002,-0.065 +surrogate_MRI-CGCM3_11,rcp85,2003,-0.045 +surrogate_MRI-CGCM3_11,rcp85,2004,-0.025 +surrogate_MRI-CGCM3_11,rcp85,2005,-0.005 +surrogate_MRI-CGCM3_11,rcp85,2006,0.015 +surrogate_MRI-CGCM3_11,rcp85,2007,0.025 +surrogate_MRI-CGCM3_11,rcp85,2008,0.045 +surrogate_MRI-CGCM3_11,rcp85,2009,0.065 +surrogate_MRI-CGCM3_11,rcp85,2010,0.075 +surrogate_MRI-CGCM3_11,rcp85,2011,0.095 +surrogate_MRI-CGCM3_11,rcp85,2012,0.105 +surrogate_MRI-CGCM3_11,rcp85,2013,0.125 +surrogate_MRI-CGCM3_11,rcp85,2014,0.135 +surrogate_MRI-CGCM3_11,rcp85,2015,0.155 +surrogate_MRI-CGCM3_11,rcp85,2016,0.175 +surrogate_MRI-CGCM3_11,rcp85,2017,0.185 +surrogate_MRI-CGCM3_11,rcp85,2018,0.205 +surrogate_MRI-CGCM3_11,rcp85,2019,0.225 +surrogate_MRI-CGCM3_11,rcp85,2020,0.245 +surrogate_MRI-CGCM3_11,rcp85,2021,0.265 +surrogate_MRI-CGCM3_11,rcp85,2022,0.285 +surrogate_MRI-CGCM3_11,rcp85,2023,0.305 +surrogate_MRI-CGCM3_11,rcp85,2024,0.325 +surrogate_MRI-CGCM3_11,rcp85,2025,0.345 +surrogate_MRI-CGCM3_11,rcp85,2026,0.365 +surrogate_MRI-CGCM3_11,rcp85,2027,0.385 +surrogate_MRI-CGCM3_11,rcp85,2028,0.415 +surrogate_MRI-CGCM3_11,rcp85,2029,0.435 +surrogate_MRI-CGCM3_11,rcp85,2030,0.455 +surrogate_MRI-CGCM3_11,rcp85,2031,0.475 +surrogate_MRI-CGCM3_11,rcp85,2032,0.505 +surrogate_MRI-CGCM3_11,rcp85,2033,0.525 +surrogate_MRI-CGCM3_11,rcp85,2034,0.555 +surrogate_MRI-CGCM3_11,rcp85,2035,0.575 +surrogate_MRI-CGCM3_11,rcp85,2036,0.605 +surrogate_MRI-CGCM3_11,rcp85,2037,0.625 +surrogate_MRI-CGCM3_11,rcp85,2038,0.655 +surrogate_MRI-CGCM3_11,rcp85,2039,0.685 +surrogate_MRI-CGCM3_11,rcp85,2040,0.705 +surrogate_MRI-CGCM3_11,rcp85,2041,0.735 +surrogate_MRI-CGCM3_11,rcp85,2042,0.765 +surrogate_MRI-CGCM3_11,rcp85,2043,0.795 +surrogate_MRI-CGCM3_11,rcp85,2044,0.8249999 +surrogate_MRI-CGCM3_11,rcp85,2045,0.855 +surrogate_MRI-CGCM3_11,rcp85,2046,0.885 +surrogate_MRI-CGCM3_11,rcp85,2047,0.915 +surrogate_MRI-CGCM3_11,rcp85,2048,0.9449999 +surrogate_MRI-CGCM3_11,rcp85,2049,0.975 +surrogate_MRI-CGCM3_11,rcp85,2050,1.005 +surrogate_MRI-CGCM3_11,rcp85,2051,1.035 +surrogate_MRI-CGCM3_11,rcp85,2052,1.065 +surrogate_MRI-CGCM3_11,rcp85,2053,1.095 +surrogate_MRI-CGCM3_11,rcp85,2054,1.125 +surrogate_MRI-CGCM3_11,rcp85,2055,1.155 +surrogate_MRI-CGCM3_11,rcp85,2056,1.185 +surrogate_MRI-CGCM3_11,rcp85,2057,1.215 +surrogate_MRI-CGCM3_11,rcp85,2058,1.245 +surrogate_MRI-CGCM3_11,rcp85,2059,1.285 +surrogate_MRI-CGCM3_11,rcp85,2060,1.315 +surrogate_MRI-CGCM3_11,rcp85,2061,1.345 +surrogate_MRI-CGCM3_11,rcp85,2062,1.375 +surrogate_MRI-CGCM3_11,rcp85,2063,1.415 +surrogate_MRI-CGCM3_11,rcp85,2064,1.445 +surrogate_MRI-CGCM3_11,rcp85,2065,1.475 +surrogate_MRI-CGCM3_11,rcp85,2066,1.515 +surrogate_MRI-CGCM3_11,rcp85,2067,1.545 +surrogate_MRI-CGCM3_11,rcp85,2068,1.575 +surrogate_MRI-CGCM3_11,rcp85,2069,1.615 +surrogate_MRI-CGCM3_11,rcp85,2070,1.645 +surrogate_MRI-CGCM3_11,rcp85,2071,1.685 +surrogate_MRI-CGCM3_11,rcp85,2072,1.715 +surrogate_MRI-CGCM3_11,rcp85,2073,1.745 +surrogate_MRI-CGCM3_11,rcp85,2074,1.785 +surrogate_MRI-CGCM3_11,rcp85,2075,1.815 +surrogate_MRI-CGCM3_11,rcp85,2076,1.845 +surrogate_MRI-CGCM3_11,rcp85,2077,1.885 +surrogate_MRI-CGCM3_11,rcp85,2078,1.915 +surrogate_MRI-CGCM3_11,rcp85,2079,1.945 +surrogate_MRI-CGCM3_11,rcp85,2080,1.975 +surrogate_MRI-CGCM3_11,rcp85,2081,2.015 +surrogate_MRI-CGCM3_11,rcp85,2082,2.045 +surrogate_MRI-CGCM3_11,rcp85,2083,2.075 +surrogate_MRI-CGCM3_11,rcp85,2084,2.115 +surrogate_MRI-CGCM3_11,rcp85,2085,2.155 +surrogate_MRI-CGCM3_11,rcp85,2086,2.185 +surrogate_MRI-CGCM3_11,rcp85,2087,2.215 +surrogate_MRI-CGCM3_11,rcp85,2088,2.255 +surrogate_MRI-CGCM3_11,rcp85,2089,2.285 +surrogate_MRI-CGCM3_11,rcp85,2090,2.315 +surrogate_MRI-CGCM3_11,rcp85,2091,2.355 +surrogate_MRI-CGCM3_11,rcp85,2092,2.385 +surrogate_MRI-CGCM3_11,rcp85,2093,2.415 +surrogate_MRI-CGCM3_11,rcp85,2094,2.455 +surrogate_MRI-CGCM3_11,rcp85,2095,2.485 +surrogate_MRI-CGCM3_11,rcp85,2096,2.515 +surrogate_MRI-CGCM3_11,rcp85,2097,2.545 +surrogate_MRI-CGCM3_11,rcp85,2098,2.575 +surrogate_MRI-CGCM3_11,rcp85,2099,2.615 +surrogate_MRI-CGCM3_11,rcp85,2100, diff --git a/data/external/README.md b/data/external/README.md new file mode 100644 index 0000000..f4b93ab --- /dev/null +++ b/data/external/README.md @@ -0,0 +1,19 @@ +# Reference data + +Files read by the test suite and the examples, kept apart from both. + +## `GMTanom_all_temp_2001_2010_smooth.csv` + +Reference data, built from: https://doi.org/10.5281/zenodo.6416119, `data/4_damage_function/GMST/GMTanom_all_temp_2001_2010_smooth`. Carleton et al. (2022), QJE. CC BY 4.0. + +Columns `gcm,rcp,year,temp`, 33 GCMs under rcp45 and rcp85, 1981 to 2100. Anomaly relative to 2001-2010. md5 `de9b41cd3b6a55cbe96c4ad14aed9ddf`. + +`finding_gwl_bins.R` in the inequality repository rebases each `(gcm, rcp)` to 1986-2005 and adds 0.61 C for the shift to pre-industrial, citing AR5 WG1 TS.2.2.1. Both are settings of `examples/warming_levels/ar5_cmip5_smme.toml`. + +Smoothing is recorded nowhere. Largest year-on-year change is 0.22 C, in the surrogates under rcp85 late in the century, and 0.08 C among the 21 models. + +`surrogate_GFDL-ESM2G_06` has no temperature under rcp45 in any year, and the script above drops it. The other surrogates have none for 2100. + +## `inequality_gwl_bins.csv` + +The models at each warming level in the Inequality Paper, as its extraction hardcodes them, one `(gcm, rcp)` member a row. Read on 2026-11-26 from the inequality repository, branch `elliot_wip` at `4dd6b9c`, `3_extraction/extract_physical_impacts/inequality_extract_mort_impacts.sh`, the binlist at line 25 and the case arms over lines 42 to 107. The `a` and `b` suffixes there split one level by rcp, and are merged here. No surrogate appears in any list. `tests/integration/test_warming_levels_paper.py` derives the same members from the table above, with the settings of `examples/warming_levels/ar5_cmip5_smme.toml`. diff --git a/data/external/inequality_gwl_bins.csv b/data/external/inequality_gwl_bins.csv new file mode 100644 index 0000000..764d1f9 --- /dev/null +++ b/data/external/inequality_gwl_bins.csv @@ -0,0 +1,71 @@ +# The models at each warming level in the Inequality Paper, as its +# extraction hardcodes them. Read on 2026-11-26 from the inequality +# repository, branch elliot_wip at 4dd6b9c, +# 3_extraction/extract_physical_impacts/inequality_extract_mort_impacts.sh, +# binlist at line 25 and the case arms over lines 42 to 107. The a and b +# suffixes there are one level split by rcp, and are merged here. A row +# is one (gcm, rcp) member. No surrogate appears in any list. +period,level,rcp,gcm +2040-2059,1.5,rcp45,GFDL-ESM2G +2040-2059,1.5,rcp45,GFDL-ESM2M +2040-2059,1.5,rcp45,inmcm4 +2040-2059,1.5,rcp45,MRI-CGCM3 +2040-2059,1.5,rcp45,NorESM1-M +2040-2059,1.5,rcp85,inmcm4 +2040-2059,2,rcp45,ACCESS1-0 +2040-2059,2,rcp45,bcc-csm1-1 +2040-2059,2,rcp45,BNU-ESM +2040-2059,2,rcp45,CCSM4 +2040-2059,2,rcp45,CESM1-BGC +2040-2059,2,rcp45,CNRM-CM5 +2040-2059,2,rcp45,CSIRO-Mk3-6-0 +2040-2059,2,rcp45,IPSL-CM5A-LR +2040-2059,2,rcp45,IPSL-CM5A-MR +2040-2059,2,rcp45,MIROC5 +2040-2059,2,rcp45,MPI-ESM-LR +2040-2059,2,rcp45,MPI-ESM-MR +2040-2059,2,rcp85,bcc-csm1-1 +2040-2059,2,rcp85,CNRM-CM5 +2040-2059,2,rcp85,GFDL-ESM2G +2040-2059,2,rcp85,GFDL-ESM2M +2040-2059,2,rcp85,MIROC5 +2040-2059,2,rcp85,MPI-ESM-MR +2040-2059,2,rcp85,MRI-CGCM3 +2040-2059,2,rcp85,NorESM1-M +2040-2059,3,rcp85,CanESM2 +2040-2059,3,rcp85,GFDL-CM3 +2040-2059,3,rcp85,MIROC-ESM +2040-2059,3,rcp85,MIROC-ESM-CHEM +2080-2099,1.5,rcp45,GFDL-ESM2G +2080-2099,2,rcp45,bcc-csm1-1 +2080-2099,2,rcp45,CESM1-BGC +2080-2099,2,rcp45,GFDL-ESM2M +2080-2099,2,rcp45,inmcm4 +2080-2099,2,rcp45,MPI-ESM-LR +2080-2099,2,rcp45,MRI-CGCM3 +2080-2099,2,rcp45,NorESM1-M +2080-2099,3,rcp45,ACCESS1-0 +2080-2099,3,rcp45,BNU-ESM +2080-2099,3,rcp45,CanESM2 +2080-2099,3,rcp45,CSIRO-Mk3-6-0 +2080-2099,3,rcp45,IPSL-CM5A-LR +2080-2099,3,rcp45,IPSL-CM5A-MR +2080-2099,3,rcp45,MIROC-ESM +2080-2099,3,rcp45,MIROC-ESM-CHEM +2080-2099,3,rcp85,GFDL-ESM2M +2080-2099,3,rcp85,inmcm4 +2080-2099,4,rcp85,bcc-csm1-1 +2080-2099,4,rcp85,CCSM4 +2080-2099,4,rcp85,CESM1-BGC +2080-2099,4,rcp85,CNRM-CM5 +2080-2099,4,rcp85,MIROC5 +2080-2099,4,rcp85,MPI-ESM-LR +2080-2099,4,rcp85,MPI-ESM-MR +2080-2099,4,rcp85,MRI-CGCM3 +2080-2099,4,rcp85,NorESM1-M +2080-2099,5,rcp85,BNU-ESM +2080-2099,5,rcp85,CanESM2 +2080-2099,5,rcp85,GFDL-CM3 +2080-2099,5,rcp85,IPSL-CM5A-LR +2080-2099,5,rcp85,IPSL-CM5A-MR +2080-2099,5,rcp85,MIROC-ESM diff --git a/docs/make_reference.py b/docs/make_reference.py index 337553f..bb7568e 100644 --- a/docs/make_reference.py +++ b/docs/make_reference.py @@ -48,13 +48,17 @@ "pooled_statistics", "mixture_quantile", "read_model_weights", + "fetch_model_weights", "ModelWeights", + "regroup", + "target_basis", "UnweightedModelWeightsWarning", ], "Warming levels": [ "read_gmst", "GMSTTable", "assign_warming_levels", + "members_that_join", "Period", "WarmingLevels", "LevelWindow", diff --git a/docs/reference.md b/docs/reference.md index 5efb422..b196e3a 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -31,13 +31,15 @@ fetch_weights( ) -> WeightsArtifact ``` -Fetch a published weight artifact and return it ready to apply. +The published weight artifact ``name`` as a `WeightsArtifact` +ready for `apply_weights`, verified and cached. -``name`` is normally a registry name; with ``record`` given (a Zenodo -record id or DOI) the registry is bypassed and ``name`` only labels -the cache entry. The result is a `WeightsArtifact`, directly -consumable by `apply_weights`. ``refresh`` re-downloads even when a -verified cached copy exists. +``name`` is a registry name. With ``record`` given, a Zenodo record +id or DOI, the registry is not read, ``name`` only labels the cache +entry, and ``parquet`` and ``manifest`` name the record's files. +``refresh`` downloads again even when a verified cached copy exists. +Raises if ``name`` is in no registry, if a cached copy fails its +check, or if a download fails either checksum. ### `list_cached` @@ -45,7 +47,8 @@ verified cached copy exists. list_cached(cache_dir: str | Path | None = None) -> list[dict[str, Any]] ``` -Cached artifacts: name, record, path, and size in bytes. +The cached weight artifacts, each a dict of 'name', 'record', +'path' and 'size_bytes'. Cached model weights are not listed. ### `clear_cache` @@ -57,7 +60,8 @@ clear_cache( ) -> int ``` -Remove cached artifacts; all of them, or just ``name``. Returns count. +Removes the cached weight artifacts, or only those called ``name``, +and returns how many it removed. Cached model weights stay. ### `WeightsArtifact` @@ -72,12 +76,14 @@ class WeightsArtifact: A weights frame plus the metadata needed to apply it safely. -``partial_coverage`` is the generation-time coverage accounting for -polygon-mode artifacts (threshold, count, per-unit shortfalls, -whether the target set was a subset). None means the artifact -carries no accounting: hand-built artifacts and pre-accounting -manifests. Generated polygon artifacts always carry it, count zero -included, so a real artifact cannot lose the marking by accident. +``partial_coverage`` is the record of partially covered source units +that every generated polygon artifact carries, a count of zero +included. It holds the threshold, the count, the units below the +threshold and whether the targets were a subset. `apply_weights` +refuses an artifact whose count is not zero unless +``allow_partial_coverage`` is set. It is None for an artifact built +by hand, a grid artifact and one loaded from a manifest without the +record, and such an artifact is not refused. #### `WeightsArtifact.normalization` @@ -102,12 +108,11 @@ WeightsArtifact.load( ) -> WeightsArtifact ``` -Load a written artifact (parquet + manifest sidecar). - -Reconstructs the schema from the manifest's recorded column roles. -Manifests written before those fields existed cannot be applied; -regenerate the weights or construct the artifact in memory via -`from_result`. +The artifact written as ``{stem}.parquet`` and +``{stem}.manifest.json`` in ``output_dir``, a local directory or a +``gs://`` prefix. The schema is rebuilt from the column roles the +manifest records. Raises if the manifest does not record them, as +a manifest from an older version of the package does not. #### `WeightsArtifact.from_table` @@ -127,47 +132,37 @@ WeightsArtifact.from_table( ) -> WeightsArtifact ``` -Build an artifact from a weight table produced elsewhere. - -``table`` is a frame, or a path to a CSV or parquet file, with -one row per (region, source unit) and one normalized weight -column per weight. No manifest is needed: what the manifest -would record is passed here. - -``weights`` maps each weight name to its column, for example -``{"pop": "popwt"}``; columns are renamed to the ``{name}wt`` -form `apply_weights` reads. ``source`` becomes the artifact's -``source_version``, which `apply_weights` compares against the -data's ``data_version``. - -When ``source`` names a grid (``grid-0.25deg-center-[-180,180)``, -the form `GridSpec.source_version` writes), source units are -grid cells. Without ``cell_ix`` / ``cell_iy`` they are derived -from a longitude and a latitude column (spelled +An artifact built from a weight table made elsewhere, with +what a manifest would record passed as arguments. + +``table`` is a frame, or the path of a CSV or parquet file, with +one row per (region, source unit) and one normalized column per +weight. ``weights`` maps each weight name to its column, for +example ``{"pop": "popwt"}``, and the columns are renamed to the +``{name}wt`` form `apply_weights` reads. ``source`` becomes the +artifact's ``source_version``, which `apply_weights` compares +with the data's ``data_version`` as an exact string. + +When ``source`` names a grid in the form `GridSpec.source_version` +writes, such as ``grid-0.25deg-center-[-180,180)``, the source +units are grid cells. Without ``cell_ix`` and ``cell_iy`` they are +found from a longitude and a latitude column, spelled ``cell_lon``/``cell_lat``, ``lon``/``lat``, -``longitude``/``latitude`` or ``pix_cent_x``/``pix_cent_y``). +``longitude``/``latitude`` or ``pix_cent_x``/``pix_cent_y``. Longitudes are wrapped into the grid's convention first, so the 180.125 centroid CIL files carry becomes -179.875, and every -point must sit on a cell centroid. - -Given ``cell_ix`` / ``cell_iy`` are used as they are, after a -bounds check. When a longitude or latitude column is also -present, each row's index must map back to that centroid on the -named grid, which catches indices built on a different grid of -the same shape (a [0,360) table read as [-180,180), shifted by -half the columns, or latitudes counted from the north). When -neither column is present the indices are taken on trust: the -only defense is that ``source`` names the grid they were built -on exactly, since `apply_weights` compares it to the data's -version as a literal string and nothing checks the geography. - -Any other ``source`` is a polygon source version and -``source_keys`` names the id columns of its units. - -With ``check`` the table must have no duplicated (region, -source unit) rows and every weight must sum to 1 within each -normalization group (`check_sum_to_one`); both failures raise -naming the offending groups. +point must sit on a cell centroid. A table's own ``cell_ix`` and +``cell_iy`` are used as they are after a bounds check, and must +map back to its longitude or latitude column when it has one. +With neither column, nothing checks that the indices were built +on the grid ``source`` names. + +Any other ``source`` is a polygon source version, and +``source_keys`` names the id columns of its units. With +``check``, the table must have no duplicated (region, source +unit) rows and every weight must sum to 1 within each +normalization group. Both failures raise naming the offending +groups. ### `apply_weights` @@ -193,11 +188,11 @@ Aggregate source-level ``data`` to the artifact's target units. ``data`` must carry the artifact's source key columns (exact names), ``value_col``, and for ratio kind ``denominator_col``. Every other -column is a passthrough dimension: aggregation happens independently +column is a passthrough dimension. Aggregation happens independently per combination of dimension values, and the output keeps those columns. Columns that are labels of the source unit rather than -dimensions (a country tag, a display name) behave as dimensions too; -drop them beforehand if they should not appear in the output. Rows +dimensions (a country tag, a display name) behave as dimensions too, +so drop them beforehand if they should not appear in the output. Rows duplicated on (source keys + dimensions) would double count and raise. ``data_version`` states the geometry version the data was built @@ -205,36 +200,37 @@ against and is compared to the artifact's recorded source version. ``group_col`` optionally names a data column to run the mass balance per group (typically the country) as well as globally. ``restrict_to_sources`` limits the weight frame to an explicit source -universe for subset runs; the coverage checks stay fully strict within +universe for subset runs. The coverage checks stay fully strict within that universe. +Every row of the output carries ``weight_share``, the share of its +target's weight basis behind the value, exactly 1 when every unit of +the target that carries basis contributed. The basis is the +artifact's raw column of the weight, its population or crop area, so +a unit with no crop area takes nothing from a target's share, and a +target with no basis at all, fed by the area fallback alone, is +measured by its weights. ``AppliedResult.targets`` lists the targets +the weights have that are not in the output, with the reason, and +the partial ones. A sum over no value is NaN, not zero. + ### `SourceUnitPolicies` ```python class SourceUnitPolicies ``` -What to do with source units that cannot flow through an application run. - -Mirrors the null-geometry and unknown-id pattern on `RegionsConfig`: -"error" (default) aborts and names the offending units; "skip" excludes -them, records them in the manifest under `source_coverage`, and logs a -warning. Nothing is ever dropped without one or the other. - -The three cases, detected by `validate.check_source_coverage`: +What to do with source units that cannot take part in applying the +weights, the ``[policies]`` of a pipeline config and the ``policies`` +of `apply_weights`. - on_unmatched : units present in the data being aggregated but - absent from the weight file. Their values - cannot reach any target. - on_zero_weight : units present in the weight file whose weights - are all zero or NaN. Rows exist but carry no - mass to any target. - on_absent_from_data: units present in the weight file but missing - from the data. Their targets silently lose the - contribution the weights promised. - -Consumed by the application layer and the polygon weight builder; not -referenced from the run `Config` yet. +Each key is "error" or "skip". "error" raises naming the units. +"skip" leaves them out with a warning, and the result lists them in +its ``coverage``. ``on_unmatched`` is for units in the data that are +not in the weight file, whose values cannot reach any target. +``on_zero_weight`` is for units in the weight file whose weights are +all zero or NaN. ``on_absent_from_data`` is for units in the weight +file that the data does not have, whose targets lose what the +weights gave them. A pydantic model. Its keys are listed under `[policies]` of [The pipeline config](#the-pipeline-config), and `apply_weights` takes them as arguments. @@ -251,50 +247,35 @@ read_netcdf_grid( ) -> tuple[pd.DataFrame, str] ``` -Read a NetCDF on a regular lat-lon grid into a cell table. - -Returns ``(cells, grid)``. ``cells`` has one row per cell and -slice, with ``cell_ix`` and ``cell_iy`` on the grid, one column per -variable, and any other dimension (time, say) as a column, as -`read_netcdf_leaf` does. ``grid`` is the identity string, for -example ``grid-0.25deg-center-[-180,180)``; pass it to -`apply_weights` as ``data_version``. - -``lat`` and ``lon`` name the file's 1-D coordinate variables, each -the coordinate of a dimension of the same name; every variable must -have both. Coordinate names are never guessed. - -The grid is ``grid`` if given, as the identity string or a -`GridSpec`, and otherwise derived from the coordinates -(`infer_grid_version`). With ``grid``, longitudes are wrapped into -its convention, so a [0,360) file can be put on a [-180,180) grid. -Either way each coordinate is mapped to its cell index and back to a -centroid, and the read raises if any value is not a cell centre on -that grid. No data is moved or reordered: indices come from each -row's own coordinates, so the order of the axes does not matter. -Nothing is regridded or snapped. - -A subset whose longitudes all lie in [0,180], such as a cut of -Europe, Asia or Africa, always needs ``grid``. The same coordinates -are valid on both longitude conventions, so nothing in the file can -say which one your weights were built on. The error for this case -is not a bug; it prints the two calls that would work. A file with a -coordinate beyond 180 or below 0 is not affected. - -Limit: cells must be square. The grid identity holds one -resolution, so a file whose latitude and longitude steps differ -raises instead of being read. The identity's spelling is fixed by -the weight files already on Zenodo. Allowing two steps would change -`GridSpec`, `GridConfig`, the manifest, `validate` and the BigQuery -backend, and would still not read Gaussian grids or grids with -latitude points on the poles, whose latitude step does not divide -180 degrees. - -Cells masked (NaN) in every slice are left out, as -`DailyGrid.to_cells` does, so `apply_weights` reports a weighted -cell that has no data instead of averaging around it. A cell masked -in some slices and not others raises. Two coordinates that land on -the same cell (a longitude of both -180 and 180) raise. +``(cells, grid)`` from a NetCDF on a regular lat-lon grid. + +``cells`` has one row per cell and slice, with ``cell_ix`` and +``cell_iy`` on the grid, one column per variable, and any other +dimension, such as time, as a column. ``grid`` is the identity +string, for example ``grid-0.25deg-center-[-180,180)``, to pass to +`apply_weights` as ``data_version``. ``lat`` and ``lon`` name the +file's 1-D coordinate variables, each the coordinate of a dimension +of the same name, and every variable must have both. + +The grid is ``grid`` if given, as the identity string or a generated +`GridSpec`, and otherwise `infer_grid_version` derives it from the +coordinates. With ``grid``, longitudes are wrapped into its +convention, so a [0,360) file can be put on a [-180,180) grid. The +indices come from each row's own coordinates, so the order of the +axes does not matter, and nothing is regridded or snapped. + +A file whose longitudes all lie in [0,180], such as a cut of Europe, +Asia or Africa, fits both longitude conventions and needs ``grid``. +Without it the error prints the two calls that would work. Without +``grid``, a file whose latitude and longitude steps differ also +raises, since a grid identity holds one resolution. + +Cells masked (NaN) in every slice are left out, as in +`DailyGrid.to_cells`, and `apply_weights` reports a weighted cell +that has no data. Raises if a variable or coordinate is missing, if +any coordinate is not a cell centre on the grid, if two coordinates +land on one cell, such as longitudes of both -180 and 180, or if a +cell is masked in some slices and not others. ### `OutputSchema` @@ -306,10 +287,9 @@ class OutputSchema: normalization: Normalization = 'per_destination' ``` -Resolved column layout for one run: id fields + source units + weights. - -Defaults reproduce the grid layout exactly: grid-cell source units and -per_destination normalization. +Resolved column layout for one run, the id fields, then the source +units, then three columns for each weight. By default the source +units are grid cells and the normalization is per_destination. #### `OutputSchema.columns` @@ -356,11 +336,10 @@ class SourceUnits: Identifier layout for the source side of a weights frame. -``key_columns`` identify one source unit (join and duplicate-check -keys). ``meta_columns`` are carried alongside but are not part of the -identity (the grid case carries cell centroids). ``dtype_items`` holds -(column, dtype) pairs for every column, as a tuple so the dataclass -stays frozen and hashable. +``key_columns`` identify one source unit, and are the keys of joins +and duplicate checks. ``meta_columns`` are carried alongside but are +not part of the identity, as the grid case carries cell centroids. +``dtype_items`` holds (column, dtype) pairs for every column. #### `SourceUnits.columns` @@ -405,6 +384,7 @@ summarize_samples( include_mean: bool = True, weight_col: str | None = None, include_n_members: bool = False, + model_dims: Sequence[str] | None = None, quantile_method: str, summation: str, ) -> pd.DataFrame @@ -420,46 +400,48 @@ columns pass through. ``window`` is an inclusive (start, end) pair on ``weight_col`` names a per-member weight, constant across the member's time rows. Weights must be finite and non-negative, and a -zero weight drops the member. Weights are not renormalized within -a model, so in an -unbalanced sample a model's total weight grows with how often it -appears. Leaving ``weight_col`` unset with a ``gcm`` sample -dimension warns with `UnweightedModelWeightsWarning`. - -Returns a long frame: identity columns, 'statistic', ``value_col``. -Labels are 'mean' and 'qNN' in percent ('q05', 'q95', 'q2.5'). - -``include_n_members`` adds an integer 'n_members' column after -``value_col``: the members of the identity group that entered the -statistic, so those with a window mean that is not NaN and, when -weighted, a weight above zero. ``data`` must not already have a -column of that name. - -``quantile_method`` is "linear", "lower_step" or "inverted_cdf", -and has no default. "linear" interpolates between members and is -refused with weights. "lower_step" is the left step inverse of the -weighted distribution, as the historical extraction tool computed -it. It returns the member one below the one whose cumulative weight -share reaches q, with every member weighted equally when -``weight_col`` is unset. It differs from "linear" even when every -weight is equal, except at 0.5, which is then the plain median, and -a quantile below the first step is ``-inf``. "inverted_cdf" -returns, weighted or not, the smallest member value whose -cumulative weight share reaches q, so never ``-inf``. +zero weight drops the member. Weights are not renormalized within a +model, so in an unbalanced sample a model's total weight grows with +how often it appears. Leaving ``weight_col`` unset with a ``gcm`` +sample dimension warns with `UnweightedModelWeightsWarning`. + +Returns a long frame with the identity columns, 'statistic' and +``value_col``. Labels are 'mean' and 'qNN' in percent ('q05', 'q95', +'q2.5'). + +``include_n_members`` adds two integer columns after ``value_col``. +'n_members' is the samples behind a statistic, the members with a +window mean that is not NaN and, when weighted, a weight above zero, +so each batch of a model counts once. 'n_models' is the climate +models among them, the distinct values of ``model_dims``, which it +then has to name, such as ``["gcm"]``. ``data`` must not already +have columns of those names. + +``quantile_method`` is "inverted_cdf", "linear" or "lower_step", +and has no default. "inverted_cdf" is the estimator of a quantile. +It returns, weighted or not, the smallest member value whose +cumulative weight share reaches q, always a value a member has. +"linear" interpolates between two members and can return a number +no member holds. It is refused with weights. "lower_step" is for +reproducing the historical extraction tool, not for estimating a +quantile. It returns the member one below the one "inverted_cdf" +returns, so it is biased low at every quantile, except at 0.5 with +members that count equally, where it is the plain median. A +quantile at or below the first member's share is ``-inf``, and with +``weight_col`` unset every member counts the same. ``summation`` is "fast" or "exact", and has no default. "fast" is the vectorised sum, whose last bits depend on the order of the rows. "exact" takes the means from exactly rounded sums, whatever -the order. Under "inverted_cdf" or "exact" an infinite statistic -raises. +the order. An infinite member value raises, and so does a statistic +that comes out infinite other than the step's ``-inf``. The statistics are float64 whatever the dtype of ``value_col``. A column of another dtype is widened before the window mean, and a nullable one comes back with NaN where it had no value. -Raises if ``data`` already has a 'statistic' column or -quantile-named columns. Statistics of per-unit quantiles are wrong; -see the module docstring. +Raises if ``data`` already has a 'statistic' column, or a column +named for a statistic, such as 'q05', 'mean' or 'deaths_q95'. ### `window_means` @@ -477,26 +459,21 @@ window_means( Mean over each time window, per combination of the other columns. -The first half of `summarize_samples`, split out so a pipeline can -reduce each leaf before pooling. It never crosses sample members, so -reducing early and pooling later gives the same statistics. +It is the first half of `summarize_samples` and never mixes sample +members, so taking it leaf by leaf and pooling later gives the same +statistics. ``time_col`` is replaced by ``window_col``, labelled like +"2040-2059", or by the year alone for a one-year window. -``time_col`` is replaced by ``window_col``, labelled like "2040-2059", -or by the year alone for a one-year window. Data that already has -``window_col`` is refused: its time dimension is gone, so to change -windows rerun from the unreduced data. Rows repeated on every column -but ``value_col`` are refused too, in any year, including years no -window covers. +Raises if ``data`` already has ``window_col``, since its years are +gone and other windows need the unreduced data. Rows repeated on +every column but ``value_col`` raise too, in any year, including +years no window covers, and so does an infinite value in a window. ``summation`` has no default. "exact" takes each mean from an -exactly rounded sum, and "fast" is the pandas mean. An infinite -value gives an infinite mean either way, and it is the statistics -that refuse it. - -The mean is float64 whatever the dtype of ``value_col``. A float32 -column is widened before the mean and not after, because a float32 -mean stored as float64 still holds seven digits. A nullable column -comes back with NaN where it had no value. +exactly rounded sum, and "fast" is the pandas mean. The mean is +float64 whatever the dtype of ``value_col``, and a column of another +dtype is widened before the mean is taken. A nullable column comes +back with NaN where it had no value. ### `pooled_statistics` @@ -510,6 +487,7 @@ pooled_statistics( include_mean: bool = True, weight_col: str | None = None, include_n_members: bool = False, + model_dims: Sequence[str] | None = None, quantile_method: str, summation: str, ) -> pd.DataFrame @@ -519,9 +497,10 @@ Statistics over the pooled sample, for data reduced by `window_means`. The second half of `summarize_samples`. The window column is an ordinary identity column here. ``weight_col``, -``include_n_members``, ``quantile_method`` and ``summation`` behave -the same, and the same input is refused. Returns identity columns, -'statistic', ``value_col``, then 'n_members' if asked for. +``include_n_members``, ``model_dims``, ``quantile_method`` and +``summation`` behave the same, and the same input is refused. +Returns identity columns, 'statistic', ``value_col``, then +'n_members' and 'n_models' if asked for. ### `mixture_quantile` @@ -541,9 +520,9 @@ variance component is a point mass at its mean. The quantile is the smallest x whose mixture CDF reaches ``q``. ``q`` may be a scalar or an array. The result has the leading shape followed by the shape of ``q``, and is a plain float when both are -scalar. ``q = 0`` and ``q = 1`` return the ends of the support: -infinite when any weighted component has positive variance, -otherwise the smallest or largest point mass. +scalar. ``q = 0`` and ``q = 1`` return the ends of the support, +which are infinite when any weighted component has positive variance +and otherwise the smallest or largest point mass. ### `read_model_weights` @@ -555,6 +534,25 @@ Read a weights table. The file is read once, and the hash is of the bytes the rows were parsed from. Raises if two rows match the same member. +### `fetch_model_weights` + +```python +fetch_model_weights( + rcp: str, + *, + record: str = MODEL_WEIGHTS_RECORD, + base_url: str | None = None, + cache_dir: str | Path | None = None, + refresh: bool = False, +) +``` + +The published climate model weights of ``rcp``, as +`read_model_weights` reads them, from the file +``_SMME_weights.tsv`` of their Zenodo record. The download is +checked against the md5 the record declares and cached with it, and +a cached copy that no longer matches raises. + ### `ModelWeights` ```python @@ -593,7 +591,8 @@ ModelWeights.attach(members: pd.Series) -> pd.Series ``` The weight of each row's member, as float64 on the index of -``members``. Raises if a member has no row in the table. +``members``. Raises if a member has no row in the table, or a +row names no member. #### `ModelWeights.record` @@ -601,12 +600,50 @@ The weight of each row's member, as float64 on the index of ModelWeights.record(members: Iterable[str]) -> dict ``` -The manifest entry of a run, given one member value per leaf -that was pooled. ``members`` holds each model attached, with its -table row, its weight and its number of leaves. -``unmatched_rows`` holds the rows no member matched with their -weights, so the two together are the whole table. Raises if a -member has no row. +The manifest entry of a run, given the member of each leaf +that was pooled. Its 'members' holds each member with its table +row, its weight and its number of leaves, and 'unmatched_rows' +the weight of every row no member matched, so the two together +cover the whole table. Raises if a member has no row. + +### `regroup` + +```python +regroup( + reduced: pd.DataFrame, + *, + id_fields: Sequence[str], + by: Sequence[str], + kind: Literal['extensive', 'intensive'], + value_col: str, + summation: str, + basis: pd.DataFrame | None = None, +) -> pd.DataFrame +``` + +``reduced`` with its targets grouped by the id fields ``by``, one +value a group and every other column, so that a country is the sum +or the mean of its states in each window and sample member. + +"extensive" sums the values and takes no ``basis``. "intensive" +takes the mean weighted by each target's basis, the frame +`target_basis` gives, over the targets with a value. A group with no +value is NaN, and so is an intensive group whose targets with a +value have a basis of zero. ``summation`` is "fast" or "exact", as +for the statistics. Raises if ``by`` is not among ``id_fields``, if +``basis`` is given for "extensive" or left out for "intensive", or +if a row's target has no basis. + +### `target_basis` + +```python +target_basis(artifact: WeightsArtifact, weight: str) -> pd.DataFrame +``` + +Each target's weight basis, the sum of the raw column of +``weight`` over its rows, its population or its crop area, as the id +fields and a column 'basis'. A row with no basis counts as none. +Raises if the artifact has no raw column for the weight. ### `UnweightedModelWeightsWarning` @@ -701,6 +738,7 @@ assign_warming_levels( half_width: float, periods: Sequence[Period], smoothing: str, + members: Iterable[Sequence[str]], ) -> WarmingLevels ``` @@ -715,8 +753,29 @@ on a shared end goes to the level declared first. ``smoothing`` says how the series in the table was smoothed, in words, and goes into the record as it is. Nothing is smoothed -here. Raises if a member lacks a value for a year of the reference -period or of a ``gmst_span``. +here. ``members`` are the members that join, each one value for +each member column, and have no default. A member of the table that +is not among them is at no level, and the record lists it. Raises if a +member that joins has no row, or lacks a value for a year of the +reference period or of a ``gmst_span``. + +### `members_that_join` + +```python +members_that_join( + join: str | Mapping[str, Sequence[str]], + declared: Iterable[Sequence[str]], + member_cols: Sequence[str], +) -> list[tuple[str, ...]] +``` + +The members of ``declared`` that join a warming level, in their +order. ``join`` is "declared", under which every one of them joins, +or a mapping of member columns to the values that join, under which +a member joins when its value in each column named is listed. +Raises if a column named is not a member column, if a list is empty +or repeats a value, or if a value listed is held by no member of +``declared``. ### `Period` @@ -729,8 +788,7 @@ class Period: A calendar period. ``gmst_span`` is the years the temperature is averaged over to pick a member's level, and ``impact_span`` the years of the impacts that go under that level. Both include their -first and last year. They are given apart because a product may -average its impacts over other years than its temperature. +first and last year, and the two may differ. #### `Period.label` @@ -753,12 +811,15 @@ class WarmingLevels: smoothing: str means: dict[tuple[str, ...], tuple[float, ...]] levels: dict[tuple[str, ...], tuple[Optional[float], ...]] + excluded: tuple[tuple[str, ...], ...] = () ``` -The level of every member of a temperature table in every -period, and what decided it. ``means`` and ``levels`` hold one -value a period for each member, in the order of ``periods``. A -level is None where the member's mean lies in no band. +The level of each assessed member of a temperature table in +every period, and what decided it. ``means`` and ``levels`` hold +one value a period for each assessed member, in the order of +``periods``. A level is None where the member's mean lies in no +band. ``excluded`` are the members of the table that do not join, +which are at no level. #### `WarmingLevels.member_cols` @@ -793,7 +854,8 @@ WarmingLevels.windows_of(member: Sequence[str]) -> tuple[LevelWindow, ...] ``` The periods in which a member has a level, in the order of -``periods``. Raises if the member has no row in the table. +``periods``, none for a member that does not join. Raises if the +member has no row in the table. #### `WarmingLevels.record` @@ -802,9 +864,10 @@ WarmingLevels.record(members: Optional[Iterable[Sequence[str]]] = None) -> dict ``` What a manifest says of a run, as plain values. ``members`` -are those the run used, and every member of the table if it is -left out. The rest of the table is listed under -``unused_members``. Raises if a member has no row. +are the members of the run, the members that join if it is left +out. Every member of the table that does not join is under +``excluded`` with the reason. Raises if a member of the run has +no row in the table, or a member that joins is not in the run. ### `LevelWindow` @@ -835,41 +898,33 @@ read_netcdf_leaf( ) -> pd.DataFrame ``` -Read one NetCDF leaf into a long frame. - -``variables`` are the data variables to carry (one for extensive or -intensive application; numerator and denominator for ratio). -``region_dim`` is the file's name for the region dimension, declared -in config rather than assumed; it is renamed to ``region_col``, the -weights artifact's source key column. Everything else flattens to -ordinary columns. - -Some trees carry no coordinate on the region dimension and store -the region ids in a separate variable instead (the mortality trees -keep them in ``regions``). Without a coordinate the region column -would come out as positional integers, so ``region_labels`` names -that variable and its values become the region coordinate before -flattening. Declared like everything else: the reader does not -guess which variable holds the ids. - -``kind`` optionally names the aggregation kind the caller intends, -enabling the units backstop: a variable whose ``units`` attribute -contains a percent sign is a ratio, and summing a ratio across -regions is meaningless, so reading it under ``kind="extensive"`` -raises. This catches exactly one failure (percent-labeled ratios -declared extensive, like a "% GDP" levels file); it cannot catch -ratios with percent-free unit strings, missing units attributes, or -the same mistake arriving through parquet and csv leaves, which -carry no units metadata. The kind declaration itself remains the -caller's responsibility. - -In the mortality and labor Monte Carlo trees, the effect of -climate change is ``rebased`` from a ``...-combined.nc4`` file -minus ``rebased`` from its ``-histclim`` sibling; the value on its -own is not it. No adaptation is the exception and stands alone. -The Climate Impact Lab memo "The art of rebasing and histclim" has -the reasoning; the Mexico example (examples/rates) shows the -subtraction. +One NetCDF leaf as a long frame, one row per combination of the +dimensions of ``variables``. + +``variables`` are the data variables to carry, one for extensive or +intensive application and the numerator and denominator for ratio. +``region_dim`` is the file's name for the region dimension, and it +is renamed to ``region_col``, the weights artifact's source key +column. Some trees have no coordinate on the region dimension and +keep the region ids in a separate variable, as the mortality trees +do in ``regions``. ``region_labels`` names that variable, and its +values become the region coordinate. Without it such a region +column comes out as positional integers. + +With ``kind="extensive"`` the read raises if a variable's ``units`` +attribute contains a percent sign, since that variable is a ratio. A +ratio whose units have no percent sign, or that has no units, is not +caught. Also raises if a variable is missing, if ``region_dim`` is +not one of their dimensions, if ``region_labels`` is missing or not +on ``region_dim`` alone, or if ``region_col`` is already a column. + +In the mortality and labor Monte Carlo trees the effect of climate +change is ``rebased`` from a ``...-combined.nc4`` file minus +``rebased`` from its ``-histclim`` sibling, and the value of one +file alone is not it. No adaptation is the exception and stands +alone. The Climate Impact Lab memo "The art of rebasing and +histclim" gives the reasoning, and the Mexico example in +examples/rates shows the subtraction. ### `read_gradient_leaf` @@ -884,12 +939,14 @@ read_gradient_leaf( ) -> GradientLeaf ``` -Read one year of a delta-method leaf. +One year of a delta-method leaf as a `GradientLeaf`. -Uses netCDF4 directly: the covariance matrix is stored with the -coefficient dimension repeated, which xarray does not accept. The -files are chunked one year per chunk, so a single-year read moves -one chunk, not the whole file. +``variable`` holds the gradients, with coefficient and year as its +first two dimensions in either order. ``vcv_variable`` holds the +covariance matrix, and ``value_variable`` the stored variance, read +when present. Raises if the file has no ``year``, if the gradient's +first dimensions are not coefficient and year, or if the covariance +matrix is not square or does not match the gradient's coefficients. ### `window_gradient` @@ -901,19 +958,17 @@ window_gradient( ) -> np.ndarray ``` -Mean of stacked yearly gradients over an inclusive year window. - -``gradients`` has year on the first axis, in the order of -``years``; the other axes pass through unchanged, so the result -still carries the coefficient axis and the quadratic form can be -taken on it afterwards. Stacked leaves (year, coefficient, region) -and stacked aggregates (year, target, coefficient) both work, and -since both steps are linear, windowing before or after -`aggregate_gradient` gives the same answer. +The mean of stacked yearly gradients over the years of +``window``, both ends included, as in `window_means`. -The window bounds match `window_means`: both ends included, and a -window that selects no year raises. NaN entries drop out of the -mean the way NaN rows do there. +``gradients`` has year on its first axis, in the order of +``years``, and its other axes pass through. Stacked leaves (year, +coefficient, region) and stacked aggregates (year, target, +coefficient) both work, and windowing before or after +`aggregate_gradient` gives the same answer. NaN entries drop out of +the mean as NaN rows do in `window_means`. Raises if the window +selects no year or starts after it ends, if ``years`` has +duplicates, or if its length does not match the first axis. ### `aggregate_gradient` @@ -929,22 +984,23 @@ aggregate_gradient( ) -> tuple[pd.DataFrame, np.ndarray] ``` -Aggregate gradient vectors to the weight file's targets. - -``gradient`` is coefficient by region, in the order of ``regions``. -Every region must appear in the weight file; weight rows for other -regions are ignored, which mirrors ``restrict_to_sources``. +The target key frame and the gradient aggregated to the weight +file's targets, target by coefficient. -For a total (an extensive value), leave ``scale`` and ``normalize`` -alone: each region's gradient is split by the weight shares and -summed. For a rate, pass the per-region sizes (population) as -``scale`` and set ``normalize=True``: each target becomes the -size-weighted mean of its regions' gradients. +``gradient`` is coefficient by region, in the order of ``regions``, +and the shares are the column ``wt``. Weight rows for other +regions are ignored, as with ``restrict_to_sources``. For a total, +an extensive value, leave ``scale`` and ``normalize`` alone, and +each region's gradient is split by the weight shares and summed. For +a rate, pass the per-region sizes (population) as ``scale`` and set +``normalize=True``, and each target becomes the size-weighted mean +of its regions' gradients. The aggregation is linear, so aggregating +a difference of gradients, such as one against histclim, equals +differencing the aggregated ones. -Returns the target key frame and the aggregated gradient, target -by coefficient. The aggregation is linear, so it commutes with -differencing histclim and with evaluating means: aggregating a -difference of gradients equals differencing aggregated ones. +Raises if the share column is missing, if a region has no weight +rows, if ``scale`` is not one value per region, or if a target has +zero total weight under ``normalize``. ### `delta_method` @@ -956,12 +1012,13 @@ delta_method( ) -> pd.DataFrame ``` -Mean and standard deviation per target from aggregated gradients. +A frame of the mean and standard deviation per target from +aggregated gradients, target by coefficient. -Variance is the quadratic form G V G' per target. The mean is -G times the coefficient vector and is exact when the response is -linear in the coefficients, which is what makes the gradients -constant in them; omit ``coefficients`` to get only the spread. +The variance is the quadratic form G V G' of each target. The mean +is G times ``coefficients``, exact when the response is linear in +the coefficients. Without ``coefficients`` the frame has only 'sd'. +Raises if the shapes of the inputs do not match. ## Generating weights @@ -973,11 +1030,12 @@ generate_weights(config: Config | str | Path) -> WeightsResult Generate a weights file and its manifest from a config. -``config`` is a `Config` or the path to a TOML file. The weights -parquet and the manifest are written to ``config.output.dir``, as -`cilreg run` does, and the result is returned. Geometries are read -from the paths in the config; to use polygons held in memory, write -them to a GeoParquet file first so the manifest can record its hash. +``config`` is a `Config` or the path to a TOML file. The weights file, +in the configured ``output.format``, and the manifest are written to +``config.output.dir``, as `cilreg run` does, and the result is +returned. Geometries are read from the paths in the config, so +polygons held in memory have to be written to a GeoParquet file +first, which lets the manifest record its hash. Raises `FileNotFoundError` naming any input that is missing, and `SumToOneError` when the weights fail their sum-to-one check, in @@ -989,15 +1047,14 @@ which case nothing is written. load_config(path: str | Path) -> Config ``` -Load and validate a cil_regionalization config from a TOML file. +The validated `Config` of the TOML file at ``path``. -Relative paths in `regions.path`, `source.path`, `weights[].raster`, -and `output.dir` are resolved against the config file's directory so the same config -works regardless of the caller's working directory. Absolute paths, -`gs://` URIs, and BigQuery `table` references pass through unchanged. - -Validation errors are raised as pydantic ValidationError; their messages -name the offending key so the user can fix the TOML without reading source. +Relative paths in `regions.path`, `source.path`, `weights[].raster` +and `output.dir` are resolved against the config file's directory, +not the working directory. Absolute paths, `gs://` URIs and BigQuery +`table` references pass through unchanged. Raises +`FileNotFoundError` if the file does not exist, and a pydantic +`ValidationError` naming the offending key if the config is invalid. ### `Config` @@ -1017,7 +1074,8 @@ class WeightsResult: sum_report: SumToOneReport ``` -Combined output: frame + schema + manifest + validation report. +A backend's output, the weights frame with its schema, its manifest +and its sum-to-one report. ### `SumToOneError` @@ -1027,10 +1085,11 @@ class SumToOneError(ValueError) SumToOneError(report: SumToOneReport, result: WeightsResult) ``` -The generated weights failed the sum-to-one check. +The generated weights failed the sum-to-one check, and nothing was +written. ``report`` is the full `SumToOneReport`, failures included. -``result`` is the computed `WeightsResult`; nothing was written. +``result`` is the computed `WeightsResult`. ## The weights config @@ -1082,23 +1141,21 @@ Can be left out. Can be left out. -Polygon source units: the geometry the weighted data lives on. - -Declaring ``[source]`` instead of ``[grid]`` switches a run to polygon -mode: rows pair one region from ``[regions]`` (the side the weights -are built for, e.g. administrative units) with one source polygon from -here (e.g. impact regions keyed by hierid). Any shapefile or -GeoParquet with id columns works; nothing here is specific to one -geometry family. +The polygons the weighted data lives on, as the source units of a +polygon-mode run. -``version`` is required: it is the version label recorded in the -manifest so a weight file states which source set produced it. +Declaring ``[source]`` instead of ``[grid]`` puts a run in polygon +mode. Each row of the weights then pairs a region from ``[regions]``, +the side the weights are built for such as administrative units, with +a polygon from this file such as an impact region keyed by hierid. +Any shapefile or GeoParquet with id columns will do. ``version`` is +the label the manifest records for this source. -``on_zero_overlap`` handles source units whose intersection with every -region has zero geodesic area: "error" (default) aborts naming them; -"skip" excludes them and records them in the manifest under -``zero_overlap_source_units``. Runs against a regional subset of -targets should expect zero-overlap sources and set "skip" explicitly. +``on_zero_overlap`` says what to do with source units whose +intersection with every region has zero geodesic area. "error" raises +naming them, and "skip" leaves them out and lists them in the +manifest's ``extra`` under ``zero_overlap_source_units``. A run over a +regional subset of targets should expect such units and set "skip". | key | type | default | | --- | --- | --- | @@ -1183,9 +1240,9 @@ Can be left out. `cilreg pipeline ` reads it. -``weights`` is optional: without it the pipeline runs in -passthrough, producing statistics per source region with no spatial -aggregation (see the module docstring). +The config of a pipeline run. Without ``weights`` the run is a +passthrough, with statistics per source region and no spatial +aggregation. ### `[weights]` @@ -1205,13 +1262,15 @@ Required. Declared layout of the Monte Carlo tree. -``levels`` names the directory levels in path order; each level -becomes a column on the aggregated output. ``expect`` declares the -values per level, and the expected leaf set is their full cross -product: a leaf path is ``root//...//filename``. Anything -declared but absent on disk fails the run before any processing. -``exclude`` takes cells out of that product. A cell has one value -for each level, and ``"*"`` stands for every value of its level. +``levels`` names the directory levels in path order, and a level +that is not a sample dimension becomes a column of the statistics. +``expect`` gives the values of each level, and the leaves are every +combination of them, each at ``root//...//filename``. +``exclude`` takes cells out of those combinations. A cell has one +value for each level, and ``"*"`` stands for every value of its +level. ``subtract_filename`` names a sibling file whose values are +taken off the leaf's, row for row. A declared leaf that is not on +disk fails the run before any work. | key | type | default | | --- | --- | --- | @@ -1228,13 +1287,13 @@ Required. What a leaf contains and how to aggregate it. -``format`` is declared, never inferred from the file extension: -inference invites a mismatch between what a user thinks is being -read and what is read. For ``netcdf`` leaves (the ``[netcdf]`` -optional extra), ``value_col`` names the data variable and -``region_dim`` names the file's region dimension, which the reader -maps to the weights artifact's source key column. Every other -dimension passes through exactly as a parquet column would. +``format`` is declared and never inferred from the file extension. +For ``netcdf`` leaves, which need the ``[netcdf]`` extra, +``value_col`` names the data variable and ``region_dim`` the file's +region dimension. The reader turns it into the source key column of +the weights artifact, or into ``region_col`` in a run without +weights. Every other dimension passes through as a parquet column +would. | key | type | default | | --- | --- | --- | @@ -1254,12 +1313,9 @@ Required. Statistics stage. -``windows`` is final before any leaf is processed: each leaf is -reduced to window means as it is aggregated, and the reduced frames -carry no time dimension. Changing the windows afterwards is a rerun, -not a reprocessing of reduced data, and the reduction step refuses -already reduced input by construction. If the leaves were kept, the -reduce stage takes other windows from them. +Under stage ``all`` with "window_mean" each leaf is reduced to its +window means as it is aggregated, so other ``windows`` take a new +run, or a run of the reduce stage over leaves that were kept. | key | type | default | | --- | --- | --- | @@ -1275,6 +1331,7 @@ reduce stage takes other windows from them. | `years` | tuple[int, int] | not set | | `model_weights` | str | not set | | `model_weight_level` | str | not set | +| `model_dims` | list[str] | not set | ### `[stats.warming_levels]` @@ -1287,7 +1344,10 @@ name a series, each of them also a tree level. Nothing that decides a level has a default. ``reference_period`` and ``offset`` go together, since the offset is the warming up to that period. ``smoothing`` says in words how the series in the table was -smoothed, and "unknown" is an answer. +smoothed, and "unknown" is an answer. ``join`` names the members +that join, "declared" for every member the tree declares, or a table +of member columns to the values that join. A member of the tree +that does not join is pooled at no level, and the record lists it. | key | type | default | | --- | --- | --- | @@ -1301,6 +1361,7 @@ smoothed, and "unknown" is an answer. | `levels` | list[float], not empty | required | | `half_width` | float, above 0 | required | | `smoothing` | str, not empty | required | +| `join` | "declared" or dict[str, list[str]] | required | ### `[[stats.warming_levels.periods]]` @@ -1320,14 +1381,13 @@ their first and last year. Required. -Where results land. ``stem`` names the statistics and manifest -files, so several runs can share one directory. ``write_reduced`` -keeps the pooled window-mean frame (one row per target, window, -and sample member), which downstream regrouping needs; per-draw -quantities cannot be recovered from the statistics file. -``write_leaves`` keeps every aggregated leaf with its years, under -``leaves/``. It is off unless asked for, because the leaves take -far more disk than the statistics. ``leaves_stem`` names the leaves +Where the results are written. ``stem`` names the statistics and +manifest files, so several runs can share one directory. +``write_reduced`` also writes the pooled window means, one row a +target, window and sample member, which `regroup` works on. +``write_leaves`` keeps every aggregated leaf with its years under +``leaves/``. It is off unless asked for, because the leaves take far +more disk than the statistics. ``leaves_stem`` names the leaves manifest, and is ``stem`` unless set, so a product with other windows can take its own stem and reduce the leaves of another. @@ -1343,27 +1403,18 @@ windows can take its own stem and reduce the leaves of another. Can be left out. -What to do with source units that cannot flow through an application run. - -Mirrors the null-geometry and unknown-id pattern on `RegionsConfig`: -"error" (default) aborts and names the offending units; "skip" excludes -them, records them in the manifest under `source_coverage`, and logs a -warning. Nothing is ever dropped without one or the other. - -The three cases, detected by `validate.check_source_coverage`: - - on_unmatched : units present in the data being aggregated but - absent from the weight file. Their values - cannot reach any target. - on_zero_weight : units present in the weight file whose weights - are all zero or NaN. Rows exist but carry no - mass to any target. - on_absent_from_data: units present in the weight file but missing - from the data. Their targets silently lose the - contribution the weights promised. - -Consumed by the application layer and the polygon weight builder; not -referenced from the run `Config` yet. +What to do with source units that cannot take part in applying the +weights, the ``[policies]`` of a pipeline config and the ``policies`` +of `apply_weights`. + +Each key is "error" or "skip". "error" raises naming the units. +"skip" leaves them out with a warning, and the result lists them in +its ``coverage``. ``on_unmatched`` is for units in the data that are +not in the weight file, whose values cannot reach any target. +``on_zero_weight`` is for units in the weight file whose weights are +all zero or NaN. ``on_absent_from_data`` is for units in the weight +file that the data does not have, whose targets lose what the +weights gave them. | key | type | default | | --- | --- | --- | diff --git a/examples/france/README.md b/examples/france/README.md index e1c0028..1734da6 100644 --- a/examples/france/README.md +++ b/examples/france/README.md @@ -50,7 +50,7 @@ own country codes. ``` uv sync --extra examples -FRANCE_GMST= uv run marimo edit examples/france/france.py +uv run marimo edit examples/france/france.py ``` `python examples/france/france.py` runs it as a script, and @@ -60,8 +60,9 @@ it reads and writes. - `FRANCE_DATA` is the data directory, `examples/france/data` unless set. - `FRANCE_OUT` is where the weights, the configs and the pipeline outputs go, `examples/france/out` unless set. -- `FRANCE_GMST` is the temperature table of section 8. Without it that - section is skipped and says so. +- `FRANCE_WARMING` is the warming level settings of section 8, with the + temperature table they name, `examples/warming_levels/ar5_cmip5_smme.toml` + unless set. - `FRANCE_OFFLINE=1` reads the committed France rows of the published weights instead of fetching them in section 3. @@ -70,7 +71,7 @@ layout, which the test suite does too. ``` python examples/france/synthetic_data.py /tmp/france -FRANCE_DATA=/tmp/france/data FRANCE_GMST=/tmp/france/gmst.csv \ +FRANCE_DATA=/tmp/france/data FRANCE_WARMING=/tmp/france/warming_levels.toml \ FRANCE_OFFLINE=1 FRANCE_OUT=/tmp/france/out python examples/france/france.py ``` @@ -91,9 +92,8 @@ python examples/france/prepare_data.py \ `data/sources.json` records where each file came from, its terms and its SHA256. -The temperature table is not copied into `data/`. It is a derived file -of the lab, and whether it may be published has not been settled. The -real run reads it from its path on the cluster through `FRANCE_GMST`. +The temperature table is the mortality paper's, committed under +`data/external/` with its source and terms. ## Sources and terms @@ -107,11 +107,3 @@ real run reads it from its path on the cluster through `FRANCE_GMST`. - Published weights: Climate Impact Lab, GADM 2.0 weights, doi:10.5281/zenodo.21934155. - Mortality projections and SSP3 population: Climate Impact Lab. - -## A note on two paths - -The pipeline resolves `weights.dir`, `tree.root` and `output.dir` -against the directory of its config, and `stats.model_weights` and -`stats.warming_levels.gmst` against the directory it runs in. So the -notebook writes those two whole, and shows them with the machine's -directories taken out. diff --git a/examples/france/france.py b/examples/france/france.py index 5b33bc8..588a1ac 100644 --- a/examples/france/france.py +++ b/examples/france/france.py @@ -45,11 +45,17 @@ def _(Path, mo, os): HERE = mo.notebook_dir() DATA = Path(os.environ.get("FRANCE_DATA", HERE / "data")).resolve() OUT = Path(os.environ.get("FRANCE_OUT", HERE / "out")).resolve() - # the paper's temperature table, which this repository does not hold - GMST = os.environ.get("FRANCE_GMST") + # the warming level settings of the CMIP5 models, unless others are + # given, and the temperature table they name + WARMING_FILE = Path( + os.environ.get( + "FRANCE_WARMING", + HERE.parents[1] / "warming_levels" / "ar5_cmip5_smme.toml", + ) + ).resolve() OFFLINE = os.environ.get("FRANCE_OFFLINE") == "1" OUT.mkdir(parents=True, exist_ok=True) - return DATA, GMST, HERE, OFFLINE, OUT + return DATA, HERE, OFFLINE, OUT, WARMING_FILE @app.cell @@ -736,10 +742,12 @@ def _(mo): `summarize_samples` does both in one call, and the cell checks that it gives the same numbers. Here the quantile is the step of the historical extraction tool, `quantile_method="lower_step"`, and the - means are the vectorised sums, `summation="fast"`, as in the published - runs. With the step, a quantile below the first draw's share is - `-inf`. `summation="exact"` sums exactly and refuses an infinite - statistic. + means are the vectorised sums, `summation="fast"`, because that is + what the published runs use. + + The step returns `-inf` for a quantile below the first draw's share + of the weight, by its definition. A warming level that holds one + model has such a 5th percentile. """ ) return @@ -994,13 +1002,11 @@ def pipeline_config(name, *, tree, data, stats, output, reduce=True): def _(DATA, OUT, cilreg_cli, mo, pipeline_config, relative, shown, tree_section): _deaths = 'format = "parquet"\nvalue_col = "deaths"\nkind = "extensive"\nversion = "world-combo-201710"\n' _stats = ( - 'sample_dims = ["batch", "gcm"]\ntime_col = "year"\nquantiles = [0.05, 0.5, 0.95]\n' + 'sample_dims = ["batch", "gcm"]\nmodel_dims = ["gcm"]\ntime_col = "year"\nquantiles = [0.05, 0.5, 0.95]\n' 'quantile_method = "lower_step"\nsummation = "fast"\n' ) - # the pipeline resolves this path against the directory it runs in, - # not the config's, so it is written whole _weights = ( - f'model_weights = "{DATA / "smme" / "rcp85_SMME_weights.tsv"}"\n' + f'model_weights = "{relative(DATA / "smme" / "rcp85_SMME_weights.tsv", OUT / "configs")}"\n' 'model_weight_level = "gcm"\n' ) aggregate_deaths = pipeline_config( @@ -1105,57 +1111,65 @@ def _(members, mo, plt, products): @app.cell -def _(mo): +def _(WARMING, mo): + _start, _end = WARMING.reference_period + _models = ( + "every model of the tree joins" + if isinstance(WARMING.join, str) + else f"the {sum(len(_v) for _v in WARMING.join.values())} models it " + "lists join, and every other member is at no level" + ) mo.md( - r""" + f""" ## 8. Warming levels A warming level product pools the draws by how warm their climate - model is in a period, not by the calendar alone. Each member of the + model is in a period, not by the calendar alone. The settings are + read from `examples/warming_levels/ar5_cmip5_smme.toml` unless + `FRANCE_WARMING` names another file, as the synthetic run does, and + the README beside it says where each number comes from. Here + {_models}. Each member of the temperature table, a model under an rcp, has its global mean - temperature rebased to its own mean over 1986 to 2005 and raised by - 0.61, the warming from pre-industrial to that period in AR5 (WG1 - TS.2.2.1). Its mean over a period then picks its level, which holds a - mean from 0.25 below the level to 0.25 above it. The levels are 1.5, - 2, 3, 4 and 5. In mid century no model reaches 4 or 5, so those come - out empty, and the record says so. - - The table is the one the Inequality Paper read, given by - `FRANCE_GMST`. It is a derived file of the lab and is not in this - repository, so without it this section stops here. + temperature rebased to its own mean over {_start} to {_end} and + raised by {WARMING.offset:g}, the warming from pre-industrial to that + period in AR5. Its mean over a period then picks its level, which + holds a mean from {WARMING.half_width:g} below the level to + {WARMING.half_width:g} above it. The levels are + {", ".join(f"{_level:g}" for _level in WARMING.levels)}. In mid + century no model reaches 4 or 5, so those come out empty, and the + record says so. + + The file names the mortality paper's table, which the Inequality + Paper read, under `data/external/` of this repository. """ ) return @app.cell -def _(GMST, cilreg, mo): - mo.stop( - GMST is None, - mo.md("**`FRANCE_GMST` is not set, so the warming levels are skipped.**"), - ) +def _(WARMING_FILE, mo): + from cil_regionalization.pipelines.montecarlo import load_warming_levels + + WARMING = load_warming_levels(WARMING_FILE) + GMST = WARMING.gmst PERIODS = { - # the physical products average nineteen years of impacts, as the - # extraction tool did, and the valued ones pool twenty + # the valued products pool the file's twenty years, and the + # physical ones average nineteen years of impacts, as the + # extraction tool did + "valued": WARMING.periods, "physical": [ - cilreg.Period(gmst_span=(2040, 2059), impact_span=(2040, 2058)), - cilreg.Period(gmst_span=(2080, 2099), impact_span=(2080, 2098)), - ], - "valued": [ - cilreg.Period(gmst_span=(2040, 2059), impact_span=(2040, 2059)), - cilreg.Period(gmst_span=(2080, 2099), impact_span=(2080, 2099)), + _period.model_copy( + update={ + "impact_span": (_period.impact_span[0], _period.impact_span[1] - 1) + } + ) + for _period in WARMING.periods ], } - WARMING = dict( - reference_period=(1986, 2005), - offset=0.61, - levels=[1.5, 2.0, 3.0, 4.0, 5.0], - half_width=0.25, - smoothing="smoothed before it reached the table, how is not recorded", - ) - gmst_table = cilreg.read_gmst(GMST, member_cols=["gcm", "rcp"]) - warming_levels = cilreg.assign_warming_levels( - gmst_table, periods=PERIODS["physical"], **WARMING + gmst_table = WARMING.read_table() + # every member of the table is declared, and the file says which join + warming_levels = WARMING.model_copy(update={"periods": PERIODS["physical"]}).assign( + gmst_table, gmst_table.members ) _record = warming_levels.record() mo.vstack( @@ -1171,13 +1185,13 @@ def _(GMST, cilreg, mo): mo.md(f"Members at no level in any period: {_record['in_no_bin']}"), ] ) - return PERIODS, WARMING, gmst_table, warming_levels + return GMST, PERIODS, WARMING, gmst_table, warming_levels @app.cell def _(WARMING, gmst_table, plt, warming_levels): _fig, _ax = plt.subplots(figsize=(9, 4)) - _start, _end = WARMING["reference_period"] + _start, _end = WARMING.reference_period for _member, _series in gmst_table.series().items(): _years = sorted(_series) _reference = sum(_series[_y] for _y in range(_start, _end + 1)) / ( @@ -1185,13 +1199,13 @@ def _(WARMING, gmst_table, plt, warming_levels): ) _ax.plot( _years, - [_series[_y] - _reference + WARMING["offset"] for _y in _years], + [_series[_y] - _reference + WARMING.offset for _y in _years], linewidth=0.5, color="grey", ) - for _level in WARMING["levels"]: + for _level in WARMING.levels: _ax.axhspan( - _level - WARMING["half_width"], _level + WARMING["half_width"], alpha=0.12 + _level - WARMING.half_width, _level + WARMING.half_width, alpha=0.12 ) for _period in warming_levels.periods: _ax.axvspan(*_period.gmst_span, color="tab:orange", alpha=0.1) @@ -1222,31 +1236,37 @@ def _( GMST, OUT, PERIODS, - Path, WARMING, cilreg_cli, mo, pipeline_config, + relative, shown, tree_section, ): - mo.stop(GMST is None) _configs = OUT / "configs" def warming_block(family): lines = [ "", "[stats.warming_levels]", - # resolved against the directory the pipeline runs in, like - # the model weights, so written whole - f'gmst = "{Path(GMST).resolve()}"', - 'member = ["gcm", "rcp"]', - f"reference_period = {list(WARMING['reference_period'])}", - f"offset = {WARMING['offset']}", - f"levels = {WARMING['levels']}", - f"half_width = {WARMING['half_width']}", - f'smoothing = "{WARMING["smoothing"]}"', + f'gmst = "{relative(GMST, _configs)}"', + f"member = {WARMING.member!r}".replace("'", '"'), + f'time_col = "{WARMING.time_col}"', + f'value_col = "{WARMING.value_col}"', + f"reference_period = {list(WARMING.reference_period)}", + f"offset = {WARMING.offset}", + f"levels = {WARMING.levels}", + f"half_width = {WARMING.half_width}", + f'smoothing = "{WARMING.smoothing}"', ] + if isinstance(WARMING.join, str): + lines.append(f'join = "{WARMING.join}"') + else: + lines += ["", "[stats.warming_levels.join]"] + [ + f"{_column} = {_values!r}".replace("'", '"') + for _column, _values in WARMING.join.items() + ] for _period in PERIODS[family]: lines += [ "", @@ -1257,7 +1277,7 @@ def warming_block(family): return "\n".join(lines) + "\n" _both = ["rcp45", "rcp85"] - _common = 'sample_dims = ["batch", "rcp", "gcm"]\ntime_col = "year"\nquantiles = [0.05, 0.5, 0.95]\nsummation = "fast"\n' + _common = 'sample_dims = ["batch", "rcp", "gcm"]\nmodel_dims = ["gcm"]\ntime_col = "year"\nquantiles = [0.05, 0.5, 0.95]\nsummation = "fast"\n' aggregate_damages = pipeline_config( "damages_aggregate", tree=tree_section("damages.parquet", _both), @@ -1310,7 +1330,6 @@ def warming_block(family): @app.cell def _(GMST, PIPELINE, WARMING_REDUCES, department_map, mo, pd): - mo.stop(GMST is None) warming_products = { _name: pd.read_parquet(PIPELINE / f"{_name}.parquet") for _name in WARMING_REDUCES diff --git a/examples/france/synthetic_data.py b/examples/france/synthetic_data.py index e1b5ff3..77626c3 100644 --- a/examples/france/synthetic_data.py +++ b/examples/france/synthetic_data.py @@ -1,10 +1,11 @@ """Writes a small synthetic stand-in for data/, laid out as prepare_data.py lays out the real one, and a synthetic temperature -table beside it. The test suite runs the notebook on it, and so can a -reader without the cluster. +table beside it with the warming level settings over it. The test suite +runs the notebook on it, and so can a reader without the cluster. python examples/france/synthetic_data.py - FRANCE_DATA=/data FRANCE_GMST=/gmst.csv \\ + FRANCE_DATA=/data \\ + FRANCE_WARMING=/warming_levels.toml \\ python examples/france/france.py Nothing in it is real. Twenty four impact regions cover two regions @@ -15,6 +16,7 @@ from __future__ import annotations +import json import sys from pathlib import Path @@ -28,7 +30,11 @@ # more batches than the real sample, so that a 5th percentile has more # than twenty draws under it BATCHES = [f"batch{i}" for i in range(6)] -GCMS = ["CCSM4", "GFDL-CM3", "MIROC5", "surrogate_GFDL-CM3_89"] +# the models that join a warming level, and a surrogate that does not +MODELS = ["CCSM4", "GFDL-CM3", "MIROC5"] +GCMS = [*MODELS, "surrogate_GFDL-CM3_89"] +# the settings the synthetic ones take theirs from +AR5 = Path(__file__).resolve().parents[1] / "warming_levels" / "ar5_cmip5_smme.toml" # as in the real tree, one surrogate exists under rcp85 alone MISSING = {("rcp45", "surrogate_GFDL-CM3_89")} YEARS = range(2020, 2100) @@ -245,9 +251,41 @@ def _write_gmst(path: Path) -> None: pd.DataFrame(rows, columns=["gcm", "rcp", "year", "temp"]).to_csv(path, index=False) +def _write_warming_levels(path: Path, gmst: Path) -> None: + """The settings of ``AR5`` over the synthetic table, which only + ``MODELS`` join.""" + from cil_regionalization.pipelines.montecarlo import load_warming_levels + + ar5 = load_warming_levels(AR5) + lines = [ + "[stats.warming_levels]", + f"gmst = {json.dumps(gmst.name)}", + f"member = {json.dumps(ar5.member)}", + f"time_col = {json.dumps(ar5.time_col)}", + f"value_col = {json.dumps(ar5.value_col)}", + 'smoothing = "synthetic, not smoothed"', + f"reference_period = {json.dumps(list(ar5.reference_period))}", + f"offset = {ar5.offset!r}", + f"levels = {json.dumps(ar5.levels)}", + f"half_width = {ar5.half_width!r}", + "", + "[stats.warming_levels.join]", + f"gcm = {json.dumps(MODELS)}", + ] + for period in ar5.periods: + lines += [ + "", + "[[stats.warming_levels.periods]]", + f"gmst_span = {json.dumps(list(period.gmst_span))}", + f"impact_span = {json.dumps(list(period.impact_span))}", + ] + path.write_text("\n".join(lines) + "\n") + + def write(directory: str | Path) -> tuple[Path, Path]: - """Write ``directory/data`` and ``directory/gmst.csv`` and return - the two paths.""" + """Write ``directory/data``, ``directory/gmst.csv`` and + ``directory/warming_levels.toml``, and return the data directory and + the settings.""" directory = Path(directory) data = directory / "data" work = directory / "work" @@ -259,9 +297,10 @@ def write(directory: str | Path) -> tuple[Path, Path]: _write_smme(data) _write_published(data, work) _write_gmst(directory / "gmst.csv") - return data, directory / "gmst.csv" + _write_warming_levels(directory / "warming_levels.toml", directory / "gmst.csv") + return data, directory / "warming_levels.toml" if __name__ == "__main__": - data, gmst = write(sys.argv[1]) - print(f"wrote {data} and {gmst}") + data, warming = write(sys.argv[1]) + print(f"wrote {data} and {warming}") diff --git a/examples/montecarlo/pipeline_example.toml b/examples/montecarlo/pipeline_example.toml index 9d570f3..41201a5 100644 --- a/examples/montecarlo/pipeline_example.toml +++ b/examples/montecarlo/pipeline_example.toml @@ -65,7 +65,8 @@ quantiles = [0.05, 0.17, 0.25, 0.5, 0.75, 0.83, 0.95] include_mean = true # Warming levels in place of the windows above. Remove `windows` and # give every setting below, none of which has a default. See "Warming -# levels" in the README. +# levels" in the README. examples/warming_levels/ar5_cmip5_smme.toml +# is the block for the CMIP5 models. # [stats.warming_levels] # gmst = "gmst.csv" # member = ["gcm", "rcp"] @@ -74,6 +75,7 @@ include_mean = true # levels = [1.5, 2, 3, 4, 5] # half_width = 0.25 # smoothing = "unknown" +# join = "declared" # [[stats.warming_levels.periods]] # gmst_span = [2040, 2059] # impact_span = [2040, 2058] diff --git a/examples/warming_levels/README.md b/examples/warming_levels/README.md new file mode 100644 index 0000000..dc3a616 --- /dev/null +++ b/examples/warming_levels/README.md @@ -0,0 +1,54 @@ +# Warming levels of the CMIP5 models + +`ar5_cmip5_smme.toml` is a `[stats.warming_levels]` block for the CMIP5 +models of the temperature table under `data/external/`. +`tests/integration/test_warming_levels_paper.py` reads the same file and +checks that it puts the Inequality Paper's models at each level, so the +settings and the check cannot differ. + +```python +from cil_regionalization.pipelines.montecarlo import load_warming_levels + +warming = load_warming_levels("examples/warming_levels/ar5_cmip5_smme.toml") +table = warming.read_table() +levels = warming.assign(table, declared=table.members) +``` + +A pipeline config takes the block as it is, with `gmst` written relative +to that config. `join` lists models, so each of them has to be in the +tree under at least one scenario, and a run over fewer models needs a +list of its own. + +## Where each number comes from + +`finding_gwl_bins.R` in the inequality repository, branch `elliot_wip` +at `4dd6b9c`, lines 1 to 90, is the code the paper's levels came from. + +- **`reference_period` and `offset`.** Each member's series is rebased + to its own mean over 1986 to 2005, and 0.61 C is added for the warming + from 1850-1900 to that period. AR5 WG1, Technical Summary TS.2.2.1, + gives 0.61 [0.55 to 0.67] C, from HadCRUT4 and its 5 to 95% + uncertainty, and `finding_gwl_bins.R` cites it. The offset is right + for that reference period only. The range is not used. With 0.55, 12 + of the 42 members change level in a period, and with 0.67, 14 do. +- **`levels` and `half_width`.** Levels 1.5, 2, 3, 4 and 5, each holding + a mean from 0.25 below it to 0.25 above it with both ends included, as + `finding_gwl_bins.R` bins them. A mean of 1.75 goes to 1.5, the first + match of its `case_when`, which is the library's rule for an end two + bands share. +- **`periods`.** 2040 to 2059 and 2080 to 2099, twenty years each with + both ends included, as the year filter in `finding_gwl_bins.R` takes + them. The impacts are taken over the same years. With nineteen years + of temperature, three members move: MIROC-ESM rcp85 leaves 3 mid + century, MPI-ESM-LR rcp85 joins 2 mid century, and NorESM1-M rcp85 + leaves 4 at the end of the century. +- **`join`.** The 21 CMIP5 models of the table, under both scenarios. + The surrogate members are left out. The surrogate mixed model + ensemble is a weighted construction, and warming levels use no + weights, so counting a constructed member once beside a CMIP5 run is + not what that ensemble was built for. The paper's lists hold no + surrogate. `finding_gwl_bins.R` itself does not filter them, since + that line is commented out. +- **`gmst`, `member` and `smoothing`.** The table is Carleton et al. + (2022), and `data/external/README.md` says where it comes from. It + arrived smoothed, and how is recorded nowhere. diff --git a/examples/warming_levels/ar5_cmip5_smme.toml b/examples/warming_levels/ar5_cmip5_smme.toml new file mode 100644 index 0000000..21c6684 --- /dev/null +++ b/examples/warming_levels/ar5_cmip5_smme.toml @@ -0,0 +1,50 @@ +# Warming levels of the CMIP5 models with the AR5 offset to +# pre-industrial. README.md beside this file says where each number +# comes from. A pipeline config takes this block as it is, with gmst +# written relative to that config instead of to this file. + +[stats.warming_levels] +gmst = "../../data/external/GMTanom_all_temp_2001_2010_smooth.csv" +member = ["gcm", "rcp"] +time_col = "year" +value_col = "temp" +smoothing = "smoothed before it reached the table, how is not recorded" +reference_period = [1986, 2005] +offset = 0.61 +levels = [1.5, 2.0, 3.0, 4.0, 5.0] +half_width = 0.25 + +# The 21 CMIP5 models, under every scenario the tree has. The 12 +# surrogates of the ensemble are left out. +[stats.warming_levels.join] +gcm = [ + "ACCESS1-0", + "BNU-ESM", + "CCSM4", + "CESM1-BGC", + "CNRM-CM5", + "CSIRO-Mk3-6-0", + "CanESM2", + "GFDL-CM3", + "GFDL-ESM2G", + "GFDL-ESM2M", + "IPSL-CM5A-LR", + "IPSL-CM5A-MR", + "MIROC-ESM", + "MIROC-ESM-CHEM", + "MIROC5", + "MPI-ESM-LR", + "MPI-ESM-MR", + "MRI-CGCM3", + "NorESM1-M", + "bcc-csm1-1", + "inmcm4", +] + +[[stats.warming_levels.periods]] +gmst_span = [2040, 2059] +impact_span = [2040, 2059] + +[[stats.warming_levels.periods]] +gmst_span = [2080, 2099] +impact_span = [2080, 2099] diff --git a/tests/integration/test_apply.py b/tests/integration/test_apply.py index aa83767..96f3a61 100644 --- a/tests/integration/test_apply.py +++ b/tests/integration/test_apply.py @@ -162,6 +162,7 @@ def test_dimensions_are_passthrough(self): "t", "country", "value", + "weight_share", } assert set(result.frame["banana_dim"]) == {"scn_a", "scn_b"} assert set(result.frame["t"]) == {2050, 2051} @@ -759,3 +760,149 @@ def test_zero_count_accounting_passes(self): data_version=SOURCE_VERSION, ) assert result.coverage.clean + + +class TestTargetsAccounted: + """Every target the weights know is either in the output with the + share of its weight basis behind its value, or listed with the + reason it is not.""" + + @staticmethod + def _crop() -> WeightsArtifact: + """Per destination, as crop area weights are. T1 has two units + with crop area, T2 one with and one without, T3 none.""" + frame = pd.DataFrame( + { + "adm": ["T1", "T1", "T2", "T2", "T3"], + "unit_id": ["s1", "s2", "s3", "s4", "s5"], + "cropwt": [0.25, 0.75, 1.0, np.nan, np.nan], + "crop_raw": [10.0, 30.0, 5.0, np.nan, np.nan], + } + ) + return _artifact( + frame, + id_fields=["adm"], + normalization="per_destination", + weight_names=["crop"], + ) + + @staticmethod + def _data(units, value=1.0): + return pd.DataFrame({"unit_id": list(units), "value": value}) + + def _apply(self, artifact, data, **kwargs): + return apply_weights( + artifact, + data, + kind="intensive", + weight="crop", + data_version=SOURCE_VERSION, + policies=SourceUnitPolicies( + on_zero_weight="skip", on_absent_from_data="skip" + ), + **kwargs, + ) + + def test_a_target_with_no_weight_is_left_out_by_name(self): + """Failed with T3 absent from the output and nothing saying so.""" + result = self._apply(self._crop(), self._data(["s1", "s2", "s3", "s4", "s5"])) + assert list(result.frame["adm"]) == ["T1", "T2"] + assert result.targets.left_out == {"no weight": (("T3",),), "no data": ()} + + def test_a_target_whose_units_are_not_in_the_data_is_left_out_by_name(self): + result = self._apply(self._crop(), self._data(["s1", "s2"])) + assert list(result.frame["adm"]) == ["T1"] + assert result.targets.left_out == { + "no weight": (("T3",),), + "no data": (("T2",),), + } + + def test_every_row_carries_the_share_of_its_basis_behind_it(self): + """T1 lacks s2, three quarters of its crop area. T2's unit + without crop area carries no basis, so T2 is whole.""" + result = self._apply(self._crop(), self._data(["s1", "s3", "s4"])) + shares = dict(zip(result.frame["adm"], result.frame["weight_share"])) + assert shares == {"T1": 0.25, "T2": 1.0} + assert result.targets.partial == ((("T1",), 0.25),) + assert result.targets.basis == "crop_raw" + + def test_a_whole_target_has_a_share_of_exactly_one(self): + """Not a sum of shares that rounds to a bit below one.""" + frame = pd.DataFrame( + { + "adm": ["T1"] * 10, + "unit_id": [f"s{i}" for i in range(10)], + "cropwt": [0.1] * 10, + "crop_raw": [0.1] * 10, + } + ) + artifact = _artifact( + frame, + id_fields=["adm"], + normalization="per_destination", + weight_names=["crop"], + ) + result = self._apply(artifact, self._data([f"s{i}" for i in range(10)])) + assert result.frame["weight_share"].tolist() == [1.0] + assert result.targets.partial == () + + def test_a_row_with_no_value_behind_it_has_no_value_and_a_share_of_zero(self): + """Extensive. Failed with 0.0 for a sum over no value.""" + frame = pd.DataFrame( + { + "adm": ["T1", "T1"], + "unit_id": ["s1", "s2"], + "popwt": [1.0, 1.0], + "pop_raw": [3.0, 1.0], + } + ) + artifact = _artifact(frame, id_fields=["adm"], normalization="per_source") + data = pd.DataFrame( + { + "unit_id": ["s1", "s2", "s1", "s2"], + "year": [2050, 2050, 2051, 2051], + "value": [1.0, 2.0, np.nan, np.nan], + } + ) + out = apply_weights( + artifact, data, kind="extensive", weight="pop", data_version=SOURCE_VERSION + ).frame.set_index("year") + assert out.loc[2050, "value"] == 3.0 and out.loc[2050, "weight_share"] == 1.0 + assert np.isnan(out.loc[2051, "value"]) and out.loc[2051, "weight_share"] == 0.0 + + def test_a_target_measured_by_its_weights_when_it_has_no_basis(self): + """Its rows took the area fallback, which carries none of the + raster's basis.""" + frame = pd.DataFrame( + { + "adm": ["T1", "T1"], + "unit_id": ["s1", "s2"], + "popwt": [1.0, 1.0], + "pop_raw": [0.0, 0.0], + } + ) + artifact = _artifact(frame, id_fields=["adm"], normalization="per_source") + result = apply_weights( + artifact, + self._data(["s1"]), + kind="extensive", + weight="pop", + data_version=SOURCE_VERSION, + policies=SourceUnitPolicies(on_absent_from_data="skip"), + ) + assert result.frame["weight_share"].tolist() == [0.5] + + def test_a_skipped_unit_is_said_to_be_in_the_result_not_in_a_manifest(self, caplog): + """apply_weights is given no manifest. Failed with "recorded in + the manifest".""" + with caplog.at_level("WARNING"): + self._apply(self._crop(), self._data(["s1", "s2", "s3", "s4", "s5"])) + said = " ".join(record.getMessage() for record in caplog.records) + assert "manifest" not in said + assert "listed in the coverage of the result" in said + assert "1 of 3 targets are left out (no weight: 1)" in said + + def test_data_with_a_column_of_the_share_is_refused(self): + data = self._data(["s1"]).assign(weight_share=1.0) + with pytest.raises(ValueError, match="column named 'weight_share'"): + self._apply(self._crop(), data) diff --git a/tests/integration/test_fetch.py b/tests/integration/test_fetch.py index 600daef..8ca10fe 100644 --- a/tests/integration/test_fetch.py +++ b/tests/integration/test_fetch.py @@ -354,3 +354,75 @@ def test_clear_by_name_and_all(self, served, tmp_path): assert [i["name"] for i in list_cached(cache)] == ["second"] assert clear_cache(cache) == 1 assert list_cached(cache) == [] + + +class TestFetchModelWeights: + """`fetch_model_weights` takes the climate model weights of an rcp + from their published record, as every caller then reads the same + table.""" + + TSV = ( + "quantile\tmodel\tweight\n" + "q0\tccsm4\t0.25\n" + "q1\tmiroc5*\t0.5\n" + "q2\tgfdl-cm3_89\t0.25\n" + ).encode() + + @pytest.fixture() + def smme(self): + server = _Server({"rcp85_SMME_weights.tsv": self.TSV, "README.md": b"x"}) + yield server + server.stop() + + def test_it_reads_the_table_of_the_rcp_and_matches_the_names(self, smme, tmp_path): + from cil_regionalization.fetch import fetch_model_weights + + weights = fetch_model_weights( + "rcp85", record=RECORD_ID, base_url=smme.base_url, cache_dir=tmp_path + ) + attached = weights.attach( + pd.Series(["CCSM4", "MIROC5", "surrogate_GFDL-CM3_89"]) + ) + assert attached.tolist() == [0.25, 0.5, 0.25] + assert weights.sha256 == hashlib.sha256(self.TSV).hexdigest() + + def test_a_second_call_reads_the_cache(self, smme, tmp_path): + from cil_regionalization.fetch import fetch_model_weights + + options = dict(record=RECORD_ID, base_url=smme.base_url, cache_dir=tmp_path) + first = fetch_model_weights("rcp85", **options) + smme.stop() + again = fetch_model_weights("rcp85", **options) + assert again.weights == first.weights + + def test_a_cached_table_that_changed_is_refused(self, smme, tmp_path): + from cil_regionalization.fetch import fetch_model_weights + + options = dict(record=RECORD_ID, base_url=smme.base_url, cache_dir=tmp_path) + fetch_model_weights("rcp85", **options) + (cached,) = tmp_path.rglob("rcp85_SMME_weights.tsv") + cached.write_bytes(self.TSV.replace(b"0.25", b"0.35", 1)) + with pytest.raises(ChecksumMismatchError, match="again with refresh=True"): + fetch_model_weights("rcp85", **options) + again = fetch_model_weights("rcp85", refresh=True, **options) + assert again.weights == (0.25, 0.5, 0.25) + + def test_a_download_that_does_not_match_the_record_is_refused(self, smme, tmp_path): + from cil_regionalization.fetch import fetch_model_weights + + smme.declared_md5["rcp85_SMME_weights.tsv"] = "0" * 32 + with pytest.raises(ChecksumMismatchError, match="does not match the record"): + fetch_model_weights( + "rcp85", record=RECORD_ID, base_url=smme.base_url, cache_dir=tmp_path + ) + assert not list(tmp_path.rglob("rcp85_SMME_weights.tsv")) + + def test_an_rcp_the_record_has_no_table_of_is_refused(self, smme, tmp_path): + from cil_regionalization.fetch import fetch_model_weights + + with pytest.raises( + FetchError, match=r"no file 'rcp45_SMME_weights.tsv'.*'rcp85" + ): + fetch_model_weights( + "rcp45", record=RECORD_ID, base_url=smme.base_url, cache_dir=tmp_path + ) diff --git a/tests/integration/test_france_example.py b/tests/integration/test_france_example.py index 25c70bb..d85dfb1 100644 --- a/tests/integration/test_france_example.py +++ b/tests/integration/test_france_example.py @@ -27,7 +27,7 @@ def _synthetic(directory: Path) -> tuple[Path, Path]: def test_the_notebook_runs_on_synthetic_data(tmp_path): pytest.importorskip("marimo") pytest.importorskip("matplotlib") - data, gmst = _synthetic(tmp_path / "synthetic") + data, warming = _synthetic(tmp_path / "synthetic") out = tmp_path / "out" done = subprocess.run( [sys.executable, str(EXAMPLE / "france.py")], @@ -35,7 +35,7 @@ def test_the_notebook_runs_on_synthetic_data(tmp_path): **os.environ, "FRANCE_DATA": str(data), "FRANCE_OUT": str(out), - "FRANCE_GMST": str(gmst), + "FRANCE_WARMING": str(warming), "FRANCE_OFFLINE": "1", "MPLBACKEND": "Agg", }, diff --git a/tests/integration/test_montecarlo_pipeline.py b/tests/integration/test_montecarlo_pipeline.py index 8370a53..8be5acb 100644 --- a/tests/integration/test_montecarlo_pipeline.py +++ b/tests/integration/test_montecarlo_pipeline.py @@ -31,7 +31,9 @@ from cil_regionalization.pipelines.montecarlo import ( MonteCarloPipelineConfig, PipelinePlan, + WarmingLevelsConfig, load_pipeline_config, + load_warming_levels, run_pipeline, ) from cil_regionalization.regions import RegionSet @@ -134,6 +136,8 @@ def _pipeline_cfg( }, "stats": { "sample_dims": list(levels), + # what the model count is over wherever counts are written + "model_dims": [list(levels)[-1]], "time_col": "year", "quantile_method": "linear", "summation": "fast", @@ -170,7 +174,13 @@ def test_generation_application_statistics(self, weights_dir, tmp_path): # Statistics: 2 targets x 2 windows x 3 statistics. stats = result.stats - assert set(stats.columns) == {"target_id", "statistic", "value", "window"} + assert set(stats.columns) == { + "target_id", + "statistic", + "value", + "window", + "weight_share", + } assert len(stats) == 12 assert set(stats["window"]) == {"2050-2051", "2080-2081"} @@ -206,6 +216,8 @@ def test_include_n_members_adds_the_count(self, weights_dir, tmp_path): "value", "window", "n_members", + "n_models", + "weight_share", } # 2 kumquat x 3 zeppelin leaves, one member each. written = pd.read_parquet(result.paths["statistics"]) @@ -466,6 +478,7 @@ def _cfg(self, weights_dir, tree, out, **stats): # zeppelin is not pooled, so it stays a column of the statistics raw["stats"].update( sample_dims=["kumquat"], + model_dims=["kumquat"], windows=self._WINDOWS, quantiles=self._QUANTILES, **stats, @@ -635,7 +648,7 @@ def test_every_file_is_what_labelling_the_leaf_first_gave( weight="area", data_version=SOURCE_VERSION, value_col="value", - ).frame + ).frame.drop(columns=["weight_share"]) reduced.append( window_means( applied, @@ -665,6 +678,7 @@ def test_every_file_is_what_labelling_the_leaf_first_gave( ), cfg, ) + statistics["weight_share"] = 1.0 assert list(statistics.columns) == [ "target_id", "band", @@ -672,6 +686,7 @@ def test_every_file_is_what_labelling_the_leaf_first_gave( "window", "statistic", "value", + "weight_share", ] pd.testing.assert_frame_equal(result.stats, statistics, check_exact=True) @@ -877,6 +892,7 @@ def test_three_level_layout_with_other_names(self, weights_dir, tmp_path): "statistic", "value", "window", + "weight_share", } assert set(stats["flavor"]) == {"sweet", "sour"} @@ -1039,6 +1055,63 @@ def test_relative_paths_resolve_against_config(self, weights_dir, tmp_path): assert cfg.tree.root == str(tree) assert cfg.output.dir == str(tmp_path / "out_rel") + @pytest.mark.parametrize("table", ["model_weights", "gmst"]) + def test_the_tables_of_stats_resolve_against_config(self, tmp_path, table): + """As the other paths do. They resolved against the directory the + run was started in.""" + stats = ( + 'model_weights = "tables/weights.tsv"\nmodel_weight_level = "zeppelin"\n' + 'quantile_method = "lower_step"\nwindows = [[2050, 2051]]\n' + if table == "model_weights" + else 'quantile_method = "linear"\n' + "[stats.warming_levels]\n" + 'gmst = "tables/gmst.csv"\nmember = ["zeppelin"]\n' + "reference_period = [1986, 2005]\noffset = 0.61\nlevels = [2.0]\n" + 'half_width = 0.25\nsmoothing = "unknown"\njoin = "declared"\n' + "[[stats.warming_levels.periods]]\n" + "gmst_span = [2040, 2059]\nimpact_span = [2040, 2059]\n" + ) + cfg_path = tmp_path / "configs" / "rel.toml" + cfg_path.parent.mkdir() + cfg_path.write_text( + f""" +[weights] +dir = "weights" +weight = "area" + +[tree] +root = "tree" +levels = ["kumquat", "zeppelin"] +filename = "damages.parquet" + +[tree.expect] +kumquat = ["k0", "k1"] +zeppelin = ["z0", "z1", "z2"] + +[data] +kind = "extensive" +version = "{SOURCE_VERSION}" + +[output] +dir = "out" + +[stats] +sample_dims = ["kumquat", "zeppelin"] +time_col = "year" +summation = "fast" +time_reduction = "window_mean" +model_dims = ["zeppelin"] +{stats}""" + ) + cfg = load_pipeline_config(cfg_path) + found = ( + cfg.stats.model_weights + if table == "model_weights" + else cfg.stats.warming_levels.gmst + ) + name = "weights.tsv" if table == "model_weights" else "gmst.csv" + assert found == str(tmp_path / "configs" / "tables" / name) + class TestNoSiteFactsInCode: def test_pipeline_code_carries_no_absolute_paths_or_environments(self): @@ -1821,6 +1894,7 @@ def imap_unordered(self, func, tasks, chunksize=1): "rows_per_group", "schema", "stem", + "target_coverage", "targets", "targets_per_group", ] @@ -1855,6 +1929,10 @@ def imap_unordered(self, func, tasks, chunksize=1): "rows_in": 8, "rows_out": 8, "coverage": entry["coverage"], + "target_coverage": { + "left_out": {"no weight": [], "no data": []}, + "partial": [], + }, "mass_balance_rel_error": entry["mass_balance_rel_error"], "size": path.stat().st_size, "sha256": hashlib.sha256(path.read_bytes()).hexdigest(), @@ -2524,6 +2602,179 @@ def _same_frames(one: pd.DataFrame, two: pd.DataFrame) -> None: assert one["value"].to_numpy().tobytes() == two["value"].to_numpy().tobytes() +class TestModelCount: + """The statistics carry the climate models behind a row beside the + samples, wherever they carry counts.""" + + def test_the_rows_carry_the_models_beside_the_samples(self, weights_dir, tmp_path): + """Two kumquat values of three zeppelin models. Failed with no + such column.""" + tree = tmp_path / "tree" + _build_tree(tree, _LEVELS) + raw = _pipeline_cfg( + weights_dir, tree, tmp_path / "out", levels=_LEVELS + ).model_dump() + raw["stats"]["include_n_members"] = True + stats = run_pipeline(MonteCarloPipelineConfig.model_validate(raw)).stats + assert set(stats["n_members"]) == {6} and set(stats["n_models"]) == {3} + manifest = json.loads( + (tmp_path / "out" / "statistics.manifest.json").read_text() + ) + assert manifest["model_dims"] == ["zeppelin"] + + @pytest.mark.parametrize("why", ["include_n_members", "warming_levels"]) + def test_counts_without_the_model_columns_are_refused( + self, weights_dir, tmp_path, why + ): + raw = _pipeline_cfg( + weights_dir, tmp_path / "t", tmp_path / "o", levels=_LEVELS + ).model_dump() + raw["stats"]["model_dims"] = None + if why == "include_n_members": + raw["stats"]["include_n_members"] = True + else: + raw["stats"]["windows"] = [] + raw["stats"]["warming_levels"] = { + "gmst": "gmst.csv", + "member": ["zeppelin"], + "reference_period": [1986, 2005], + "offset": 0.61, + "levels": [2.0], + "half_width": 0.25, + "smoothing": "unknown", + "join": "declared", + "periods": [{"gmst_span": [2040, 2059], "impact_span": [2040, 2059]}], + } + with pytest.raises(ValueError, match="stats.model_dims has to name"): + MonteCarloPipelineConfig.model_validate(raw) + + def test_a_reduce_of_fewer_leaves_asks_for_the_model_columns( + self, weights_dir, tmp_path + ): + """Its counts are switched on whatever the config says.""" + tree, out = tmp_path / "tree", tmp_path / "out" + _build_tree(tree, _LEVELS) + raw = _leaves_cfg(weights_dir, tree, out).model_dump() + run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + raw["stats"]["model_dims"] = None + raw["tree"]["exclude"] = [["k0", "z1"]] + with pytest.raises( + ValueError, match="1 of the 6 aggregated leaves are not declared" + ): + TestReduce._reduce(raw) + + +class TestTargetCoverage: + """The statistics carry the share of each target's weight basis, + the smallest any pooled leaf gave it, and the manifests list the + targets left out and those that are partial.""" + + @staticmethod + def _raw(weights_dir, tmp_path) -> tuple[dict, Path]: + """Leaf k0/z1 lacks u2, a share of T1 and the whole of T2.""" + tree, out = tmp_path / "tree", tmp_path / "out" + _build_tree(tree, _LEVELS) + path = tree / "k0" / "z1" / "damages.parquet" + leaf = pd.read_parquet(path) + leaf[leaf["unit_id"] != "u2"].to_parquet(path, index=False) + raw = _pipeline_cfg(weights_dir, tree, out, levels=_LEVELS).model_dump() + raw["policies"] = {"on_absent_from_data": "skip"} + raw["output"]["write_leaves"] = True + return raw, out + + @staticmethod + def _t1_share(weights_dir) -> float: + from cil_regionalization.apply import WeightsArtifact + + frame = WeightsArtifact.load(weights_dir).frame + basis = frame[frame["target_id"] == "T1"].set_index("unit_id")["area_raw"] + return float(basis["u1"] / basis.sum()) + + def test_a_target_short_of_a_unit_in_one_leaf_carries_its_share( + self, weights_dir, tmp_path + ): + """Failed with no such column, and T1 averaged as if whole.""" + raw, out = self._raw(weights_dir, tmp_path) + result = run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + share = self._t1_share(weights_dir) + assert 0 < share < 1 + shares = result.stats.groupby("target_id")["weight_share"].unique() + assert shares["T1"].tolist() == [share] + assert shares["T2"].tolist() == [1.0] + + manifest = json.loads((out / "statistics.manifest.json").read_text()) + assert manifest["target_coverage"] == { + "basis": "area_raw", + "left_out": { + "no weight": {"count": 0, "ids": []}, + "no data": {"count": 0, "ids": []}, + }, + "partial": {"count": 1, "smallest": share, "targets": [["T1", share]]}, + } + leaves = _leaves_manifest(out) + assert leaves["target_coverage"] == { + "basis": "area_raw", + "left_out": {"no weight": [], "no data": []}, + } + by_leaf = {tuple(e["leaf"]): e["target_coverage"] for e in leaves["leaves"]} + assert by_leaf["k0", "z1"] == { + "left_out": {"no weight": [], "no data": [["T2"]]}, + "partial": [[["T1"], share]], + } + assert by_leaf["k1", "z2"] == { + "left_out": {"no weight": [], "no data": []}, + "partial": [], + } + + def test_a_reduce_gives_the_shares_of_the_leaves_it_pools( + self, weights_dir, tmp_path + ): + """All of them as stage all does, and without the short leaf a + share of one.""" + raw, out = self._raw(weights_dir, tmp_path) + whole = run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + again = TestReduce._reduce(raw) + pd.testing.assert_series_equal( + again.stats["weight_share"], whole.stats["weight_share"] + ) + fewer = json.loads(json.dumps(raw)) + fewer["tree"]["exclude"] = [["k0", "z1"]] + assert set(TestReduce._reduce(fewer, stem="fewer").stats["weight_share"]) == { + 1.0 + } + + def test_a_target_left_out_of_every_leaf_is_named_in_the_manifest( + self, weights_dir, tmp_path + ): + raw, out = self._raw(weights_dir, tmp_path) + tree = Path(raw["tree"]["root"]) + for path in tree.rglob("damages.parquet"): + leaf = pd.read_parquet(path) + leaf[leaf["unit_id"] != "u2"].to_parquet(path, index=False) + result = run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + assert set(result.stats["target_id"]) == {"T1"} + manifest = json.loads((out / "statistics.manifest.json").read_text()) + assert manifest["target_coverage"]["left_out"]["no data"] == { + "count": 1, + "ids": [["T2"]], + } + assert _leaves_manifest(out)["target_coverage"]["left_out"]["no data"] == [ + ["T2"] + ] + + def test_a_leaves_manifest_without_the_targets_is_not_reduced( + self, weights_dir, tmp_path + ): + raw, out = self._raw(weights_dir, tmp_path) + run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + path = out / "leaves" / "statistics.leaves.manifest.json" + document = json.loads(path.read_text()) + del document["target_coverage"] + path.write_text(json.dumps(document)) + with pytest.raises(ValueError, match="before each leaf recorded its targets"): + TestReduce._reduce(raw) + + @pytest.mark.usefixtures("one_target_a_group") class TestReduce: """`--stage reduce` takes the statistics from the leaf files.""" @@ -2592,6 +2843,8 @@ def test_it_gives_what_a_run_with_one_worker_gives( "statistic", "value", "n_members", + "n_models", + "weight_share", ] for stem, memory_gb, blocks in (("one", 1.0, 1), ("two", _ONE_GROUP_GB, 2)): got = self._reduce(raw, stem=stem, memory_gb=memory_gb) @@ -3122,6 +3375,7 @@ def _by_hand(self, cfg: MonteCarloPipelineConfig, out: Path) -> pd.DataFrame: quantiles=cfg.stats.quantiles, weight_col="model_weight" if weighted else None, include_n_members=True, + model_dims=["zeppelin"], quantile_method=cfg.stats.quantile_method, summation=cfg.stats.summation, ).rename(columns={"n_members": "n_sample"}) @@ -3135,8 +3389,9 @@ def _by_hand(self, cfg: MonteCarloPipelineConfig, out: Path) -> pd.DataFrame: stats["target_id"], stats["band"], stats["kumquat"], stats["window"] ) ] - columns = [c for c in stats.columns if c != "n_sample"] + ["n_sample"] - return _ordered(stats[columns], cfg) + counts = ["n_members", "n_sample", "n_models"] + columns = [c for c in stats.columns if c not in counts] + counts + return _ordered(stats[columns], cfg).assign(weight_share=1.0) @_METHODS_AND_WEIGHTS def test_stage_all_writes_the_leaves_and_pools_their_years( @@ -3160,6 +3415,8 @@ def test_stage_all_writes_the_leaves_and_pools_their_years( "value", "n_members", "n_sample", + "n_models", + "weight_share", ] assert _leaves_manifest(out)["complete"] is True _same_frames(result.stats, self._by_hand(cfg, out)) @@ -3179,6 +3436,7 @@ def test_the_counts_are_written_only_if_asked_for(self, weights_dir, tmp_path): "window", "statistic", "value", + "weight_share", ] def test_the_mean_stays_and_the_quantiles_move(self, weights_dir, tmp_path): @@ -3575,6 +3833,7 @@ def test_the_module_entry_point_runs_both_passes( time_reduction = "pooled" windows = [[2050, 2051]] include_n_members = true +model_dims = ["zeppelin"] [output] dir = "{out}" @@ -3659,10 +3918,11 @@ def _by_hand(self, cfg: MonteCarloPipelineConfig, out: Path) -> pd.DataFrame: quantiles=cfg.stats.quantiles, weight_col="model_weight" if weighted else None, include_n_members=True, + model_dims=["zeppelin"], quantile_method=cfg.stats.quantile_method, summation=cfg.stats.summation, ) - return _ordered(stats, cfg) + return _ordered(stats, cfg).assign(weight_share=1.0) @_METHODS_AND_WEIGHTS def test_stage_all_writes_the_leaves_and_keeps_every_year( @@ -3685,6 +3945,8 @@ def test_stage_all_writes_the_leaves_and_keeps_every_year( "statistic", "value", "n_members", + "n_models", + "weight_share", ] assert result.stats["year"].dtype == np.int64 assert sorted(result.stats["year"].unique()) == [2050, 2051, 2080, 2081] @@ -3952,6 +4214,8 @@ def _raw(weights_dir, tmp_path, **stats) -> tuple[dict, Path]: "levels": [1.5, 2.0, 3.0, 4.0], "half_width": 0.25, "smoothing": "unknown", + # surrogate_m0_06 too, since a name decides nothing + "join": "declared", "periods": [ {"gmst_span": [2040, 2043], "impact_span": [2040, 2042]}, {"gmst_span": [2080, 2083], "impact_span": [2080, 2083]}, @@ -4043,6 +4307,7 @@ def _by_hand(cfg: MonteCarloPipelineConfig, out: Path) -> pd.DataFrame: value_col="value", quantiles=cfg.stats.quantiles, include_n_members=True, + model_dims=["gcm"], quantile_method=cfg.stats.quantile_method, summation=cfg.stats.summation, ) @@ -4060,7 +4325,7 @@ def _by_hand(cfg: MonteCarloPipelineConfig, out: Path) -> pd.DataFrame: counted["draw"].nunique().reindex(index).to_numpy(), ) stats["n_bin_members"] = counted["model"].nunique().reindex(index).to_numpy() - return _ordered(stats, cfg) + return _ordered(stats, cfg).assign(weight_share=1.0) @pytest.mark.parametrize( "quantile_method", ["lower_step", "inverted_cdf", "linear"] @@ -4082,7 +4347,7 @@ def test_the_statistics_are_over_the_members_at_each_level( assert list(result.stats.columns) == ( ["target_id", "warming_level", "window", "statistic", "value", "n_members"] + (["n_sample"] if pooled else []) - + ["n_bin_members"] + + ["n_models", "n_bin_members", "weight_share"] ) assert result.stats["warming_level"].dtype == "float64" _same_frames(result.stats, self._by_hand(cfg, out)) @@ -4129,6 +4394,132 @@ def test_the_three_quantile_definitions_differ_over_two_models( got[method] = row["value"].item() assert got["lower_step"] < got["linear"] < got["inverted_cdf"] + def test_a_member_that_does_not_join_is_pooled_at_no_level( + self, weights_dir, tmp_path, recwarn + ): + """Its leaves are aggregated and go under no level, and the + manifest names it with the reason and says what joined.""" + raw, out = self._raw(weights_dir, tmp_path) + raw["stats"]["warming_levels"]["join"] = {"gcm": ["m0", "m1"]} + result = run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + mid = result.stats[result.stats["window"] == "2040-2042"] + # without surrogate_m0_06 1.5 holds m0/r45 and m1/r45, and 2 + # holds m0/r85, where with it they hold three and two + assert mid.groupby("warming_level")["n_bin_members"].max().to_dict() == { + 1.5: 2, + 2.0: 1, + } + record = json.loads((out / "statistics.manifest.json").read_text())[ + "warming_levels" + ] + assert record["join"] == {"gcm": ["m0", "m1"]} + assert record["excluded"] == [ + { + "member": {"gcm": "surrogate_m0_06", "rcp": rcp}, + "reason": "in the run and not among the members that join", + } + for rcp in ("r45", "r85") + ] + assert [entry["member"] for entry in record["members"]] == [ + {"gcm": gcm, "rcp": rcp} for rcp in ("r45", "r85") for gcm in ("m0", "m1") + ] + + @pytest.mark.parametrize( + "join, message", + [ + ( + {"batch": ["b0"]}, + r"stats.warming_levels.join names \['batch'\], which are not " + r"among the member columns \['gcm', 'rcp'\]", + ), + ({"gcm": []}, "stats.warming_levels.join.gcm lists no value"), + ({"gcm": ["m0", "m0"]}, r"join.gcm lists \['m0'\] more than once"), + ("all", "warming_levels.join"), + ], + ) + def test_a_join_that_is_not_precise_is_refused_with_the_config( + self, weights_dir, tmp_path, join, message + ): + raw, _ = self._raw(weights_dir, tmp_path) + raw["stats"]["warming_levels"]["join"] = join + with pytest.raises(ValueError, match=message): + MonteCarloPipelineConfig.model_validate(raw) + + def test_a_model_listed_to_join_that_the_tree_lacks_is_refused_by_name( + self, weights_dir, tmp_path + ): + """It may be a name written wrong, and the run would pool one + model fewer than it says. Nothing was written.""" + raw, out = self._raw(weights_dir, tmp_path) + raw["stats"]["warming_levels"]["join"] = {"gcm": ["m0", "m7", "M1"]} + with pytest.raises( + ValueError, + match=r"2 values listed to join are held by no member declared: " + r"\[\"gcm = 'm7'\", \"gcm = 'M1'\"\]", + ): + run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + assert not out.exists() + + def test_a_file_of_its_own_holds_the_same_settings(self, weights_dir, tmp_path): + """`load_warming_levels` reads the table a run config holds from + a file that has nothing else, and resolves gmst against it.""" + raw, _ = self._raw(weights_dir, tmp_path) + path = tmp_path / "settings" / "levels.toml" + path.parent.mkdir() + path.write_text( + "[stats.warming_levels]\n" + 'gmst = "../gmst.csv"\nmember = ["gcm", "rcp"]\n' + "reference_period = [1986, 2005]\noffset = 0.5\n" + "levels = [1.5, 2.0, 3.0, 4.0]\nhalf_width = 0.25\n" + 'smoothing = "unknown"\njoin = "declared"\n' + "[[stats.warming_levels.periods]]\n" + "gmst_span = [2040, 2043]\nimpact_span = [2040, 2042]\n" + "[[stats.warming_levels.periods]]\n" + "gmst_span = [2080, 2083]\nimpact_span = [2080, 2083]\n" + ) + assert load_warming_levels(path) == WarmingLevelsConfig.model_validate( + raw["stats"]["warming_levels"] + ) + path.write_text("[stats]\nsample_dims = ['gcm']\n") + with pytest.raises(ValueError, match=r"has no \[stats.warming_levels\] table"): + load_warming_levels(path) + + def test_a_member_of_the_table_no_leaf_belongs_to_is_not_assessed( + self, weights_dir, tmp_path, recwarn + ): + """It has no temperature in any year. Failed with it refused by + name, although no leaf is of it.""" + raw, out = self._raw(weights_dir, tmp_path) + gmst = tmp_path / "gmst.csv" + lines = gmst.read_text().splitlines() + empty = [f"m9,r45,{year}," for year in [*range(1986, 2006), *_GWL_YEARS]] + gmst.write_text("\n".join(lines + empty) + "\n") + run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + record = json.loads((out / "statistics.manifest.json").read_text())[ + "warming_levels" + ] + assert record["excluded"] == [ + { + "member": {"gcm": "m9", "rcp": "r45"}, + "reason": "in the temperature table and not in the run", + } + ] + + def test_a_declared_member_short_of_a_year_is_refused_by_name( + self, weights_dir, tmp_path + ): + """Only the members a run uses are assessed, and those still have + to have every year. It guards what was there, so it cannot go red + by reverting. It went red with the check of the years removed.""" + raw, _ = self._raw(weights_dir, tmp_path) + gmst = tmp_path / "gmst.csv" + lines = [ + line for line in gmst.read_text().splitlines() if line != "m0,r45,1990,0.0" + ] + gmst.write_text("\n".join(lines) + "\n") + with pytest.raises(ValueError, match=r"\{'gcm': 'm0', 'rcp': 'r45'\} has no"): + run_pipeline(MonteCarloPipelineConfig.model_validate(raw)) + def test_the_manifest_says_what_decided_the_levels( self, weights_dir, tmp_path, recwarn ): @@ -4174,7 +4565,13 @@ def test_the_manifest_says_what_decided_the_levels( {"gcm": "m1", "rcp": "r45"}, {"gcm": "m1", "rcp": "r85"}, ] - assert record["unused_members"] == [{"gcm": "m9", "rcp": "r45"}] + assert record["join"] == "declared" + assert record["excluded"] == [ + { + "member": {"gcm": "m9", "rcp": "r45"}, + "reason": "in the temperature table and not in the run", + } + ] assert len(record["members"]) == 6 assert record["members"][0] == { "member": {"gcm": "m0", "rcp": "r45"}, @@ -4228,6 +4625,7 @@ def read_leaf(*args): "periods", "gmst", "member", + "join", ], ) def test_a_config_that_leaves_out_what_decides_a_level_is_refused( @@ -4317,15 +4715,24 @@ def refused(message, **changes): refused( "Set \\[reduce.pandas\\] memory_gb", reduce={"pandas": {"memory_gb": None}} ) - # a surrogate is not the model it was made from + refused( + "1 values listed to join are held by no member declared", + stats={ + "warming_levels": { + **raw["stats"]["warming_levels"], + "join": {"gcm": ["m0", "m7"]}, + } + }, + ) + # m0's rows are not those of a member named after it only_m0 = { - k: v for k, v in _GWL_TEMPERATURES.items() if "surrogate" not in k[0] + k: v for k, v in _GWL_TEMPERATURES.items() if k[0] != "surrogate_m0_06" } _write_gmst(tmp_path / "gmst.csv", temperatures=only_m0) refused( "2 of the 6 members the tree declares have no row in the temperature " - "table .*first: \\{'gcm': 'surrogate_m0_06', 'rcp': 'r45'\\}.*a " - "surrogate needs rows of its own" + "table .*first: \\{'gcm': 'surrogate_m0_06', 'rcp': 'r45'\\}\\). A " + "name is matched as it is written." ) _write_gmst( tmp_path / "gmst.csv", diff --git a/tests/integration/test_reduce_parity.py b/tests/integration/test_reduce_parity.py index 7523706..74fad17 100644 --- a/tests/integration/test_reduce_parity.py +++ b/tests/integration/test_reduce_parity.py @@ -197,6 +197,7 @@ def build_request( sample_dims=("model", "draw"), quantiles=tuple(quantiles), include_n_members=n_members, + model_dims=("model",) if n_members else (), quantile_method=methods[0], summation=methods[1], time_reduction=time_reduction, @@ -210,7 +211,8 @@ def _sorted(frame: pd.DataFrame, request: ReduceRequest) -> pd.DataFrame: keys = [ c for c in request.columns - if c not in (request.value_col, "n_members", "n_sample", "n_bin_members") + if c + not in (request.value_col, "n_members", "n_sample", "n_models", "n_bin_members") ] return frame.sort_values(keys, kind="stable").reset_index(drop=True) @@ -290,6 +292,7 @@ def _pooled_by_hand( quantiles=list(request.quantiles), weight_col="model_weight" if weighted else None, include_n_members=request.include_n_members, + model_dims=["model"] if request.include_n_members else None, quantile_method=request.quantile_method, summation=request.summation, ) @@ -327,6 +330,7 @@ def _per_year_by_hand( quantiles=list(request.quantiles), weight_col="model_weight" if weighted else None, include_n_members=request.include_n_members, + model_dims=["model"] if request.include_n_members else None, quantile_method=request.quantile_method, summation=request.summation, ) @@ -357,6 +361,7 @@ def _by_hand( quantiles=list(request.quantiles), weight_col="model_weight" if weighted else None, include_n_members=request.include_n_members, + model_dims=["model"] if request.include_n_members else None, quantile_method=request.quantile_method, summation=request.summation, ) @@ -399,6 +404,7 @@ def test_the_pandas_backend_gives_the_statistics_of_the_joined_frame( missing=missing, time_reduction=time_reduction, ) + expected = _by_hand(joined, request, weighted) if (time_reduction, methods, weighted, missing) == ( "per_year", ("lower_step", "exact"), @@ -406,15 +412,8 @@ def test_the_pandas_backend_gives_the_statistics_of_the_joined_frame( True, ): # In 2051 T1 has one member of positive weight, so the step - # has no member below any q and gives -inf, which "exact" - # refuses. Both sides have to. - with pytest.raises(ValueError, match="statistics are infinite"): - _by_hand(joined, request, weighted) - for backend in (_backend(), _one_group_a_block(request)): - with pytest.raises(ValueError, match="statistics are infinite"): - backend.run(request) - return - expected = _by_hand(joined, request, weighted) + # has no member below any q and gives -inf, under either sum + assert (expected["value"] == -np.inf).any() # windows, bands, statistics: four targets in both windows, T4 in one if time_reduction == "per_year": # five years of four targets, and three of T4, in both bands @@ -444,10 +443,8 @@ def test_what_one_side_refuses_the_other_refuses( self, tmp_path, methods, weighted, n_members, time_reduction, special ): """A group whose members are all missing is a NaN row without - weights and an error with them. An infinite statistic is - returned under "lower_step" with the fast sum and refused under - "inverted_cdf" or "exact". Under "linear" the quantile next to - the infinity has no number and is refused.""" + weights and an error with them. An infinite member is refused + under every quantile method and sum.""" request, joined = build_request( tmp_path, weighted=weighted, @@ -459,10 +456,7 @@ def test_what_one_side_refuses_the_other_refuses( assert_same_statistics( _one_group_a_block(request), _one_group_a_block(request), request ) - raises = (special == "all_nan" and weighted) or ( - special == "infinite" - and (methods[0] in ("inverted_cdf", "linear") or methods[1] == "exact") - ) + raises = (special == "all_nan" and weighted) or special == "infinite" if raises: for backend in (_backend(), _one_group_a_block(request)): with pytest.raises(ValueError): @@ -614,6 +608,7 @@ def test_each_leaf_is_reduced_over_its_own_spans(self, tmp_path, weighted, metho quantiles=list(request.quantiles), weight_col="model_weight" if weighted else None, include_n_members=True, + model_dims=["model"], quantile_method=request.quantile_method, summation=request.summation, )[request.columns] @@ -661,6 +656,7 @@ def test_a_block_with_rows_and_none_in_any_window_gives_no_statistics( quantiles=list(request.quantiles), weight_col="model_weight" if weighted else None, include_n_members=True, + model_dims=["model"], quantile_method="lower_step" if weighted else "linear", summation="fast", )[request.columns] @@ -837,6 +833,7 @@ def test_a_balanced_tree_keeps_its_mean_and_moves_its_quantiles( "value", "n_members", "n_sample", + "n_models", ] assert "n_sample" not in means.columns @@ -1157,14 +1154,11 @@ def test_weights_that_sum_to_zero(self, tmp_path, n_workers): assert "target_ordinal" not in message @pytest.mark.parametrize( - "methods, words", - [ - (("inverted_cdf", "fast"), "statistics are infinite"), - (("linear", "fast"), "interpolate next to an infinite member"), - ], - ids=["infinite", "interpolation"], + "methods", + [("inverted_cdf", "fast"), ("linear", "fast"), ("lower_step", "fast")], + ids=["inverted_cdf", "linear", "lower_step"], ) - def test_an_infinity(self, tmp_path, methods, words): + def test_an_infinity(self, tmp_path, methods): request, _ = build_request( tmp_path, weighted=False, @@ -1172,7 +1166,7 @@ def test_an_infinity(self, tmp_path, methods, words): special="infinite", methods=methods, ) - with pytest.raises(ValueError, match=words) as refused: + with pytest.raises(ValueError, match="are infinite") as refused: _one_group_a_block(request, n_workers=2).run(request) message = str(refused.value) assert "'gid': 'T1'" in message diff --git a/tests/integration/test_warming_levels_paper.py b/tests/integration/test_warming_levels_paper.py new file mode 100644 index 0000000..29cc5ac --- /dev/null +++ b/tests/integration/test_warming_levels_paper.py @@ -0,0 +1,36 @@ +"""The settings of examples/warming_levels/ar5_cmip5_smme.toml give the +models the Inequality Paper extracted at each warming level.""" + +from __future__ import annotations + +from pathlib import Path + +import pandas as pd + +from cil_regionalization.pipelines.montecarlo import load_warming_levels + +ROOT = Path(__file__).resolve().parents[2] +CONFIG = ROOT / "examples" / "warming_levels" / "ar5_cmip5_smme.toml" +BINS = ROOT / "data" / "external" / "inequality_gwl_bins.csv" + + +def test_the_members_at_each_level_are_the_papers(): + """Every member of the table is declared, as every one was in the + paper's tree, and the config says which join. The member with no + temperature, surrogate_GFDL-ESM2G_06 under rcp45, does not join and + so is never assessed. + + It went red with the config's temperature years cut to nineteen, + with its offset set to 0, and with join set to "declared".""" + warming = load_warming_levels(CONFIG) + table = warming.read_table() + levels = warming.assign(table, table.members) + derived = { + (period.label, level, rcp, gcm) + for (gcm, rcp), assigned in levels.levels.items() + for period, level in zip(levels.periods, assigned) + if level is not None + } + paper = pd.read_csv(BINS, comment="#", dtype={"level": float}) + assert derived == set(paper.itertuples(index=False, name=None)) + assert len(levels.levels) == 42 and len(levels.excluded) == 24 diff --git a/tests/integration/test_xarray_parity.py b/tests/integration/test_xarray_parity.py index 1f98ef4..3325444 100644 --- a/tests/integration/test_xarray_parity.py +++ b/tests/integration/test_xarray_parity.py @@ -130,6 +130,7 @@ def _raw( "quantile_method": methods[0], "summation": methods[1], "include_n_members": True, + "model_dims": POOLED[-1:], **stats, }, "output": {"dir": str(out), "write_leaves": True}, @@ -444,6 +445,7 @@ def test_warming_levels_pooled_are_xarrays_statistics(weights_dir, tmp_path, met "member": ["gcm", "rcp"], "reference_period": [1986, 2005], "smoothing": "unknown", + "join": "declared", "periods": [ {"gmst_span": list(p), "impact_span": list(p)} for p in PERIODS ], diff --git a/tests/unit/test_regroup.py b/tests/unit/test_regroup.py new file mode 100644 index 0000000..686ae77 --- /dev/null +++ b/tests/unit/test_regroup.py @@ -0,0 +1,192 @@ +"""`regroup` takes a reduced frame to coarser targets, a sum or a mean +weighted by each target's basis, before the statistics are pooled.""" + +from __future__ import annotations + +import numpy as np +import pandas as pd +import pytest + +from cil_regionalization.apply import WeightsArtifact +from cil_regionalization.regroup import regroup, target_basis +from cil_regionalization.schema import OutputSchema, SourceUnits +from cil_regionalization.stats import pooled_statistics + +ID = ["ISO", "ID_1"] + + +def _reduced() -> pd.DataFrame: + """Two states of A and one of B, two models of two batches, one + window. The values name their row.""" + rows = [] + for (iso, state), base in {("A", 1): 10.0, ("A", 2): 20.0, ("B", 1): 40.0}.items(): + for b in ("b0", "b1"): + for g, gcm in enumerate(["CCSM4", "MIROC5"]): + rows.append( + { + "ISO": iso, + "ID_1": state, + "window": "2080-2099", + "batch": b, + "gcm": gcm, + "value": base + g + (0.5 if b == "b1" else 0.0), + } + ) + return pd.DataFrame(rows) + + +BASIS = pd.DataFrame( + {"ISO": ["A", "A", "B"], "ID_1": [1, 2, 1], "basis": [1.0, 3.0, 2.0]} +) + + +class TestRegroup: + def test_an_extensive_value_is_the_sum_of_the_states(self): + out = regroup( + _reduced(), + id_fields=ID, + by=["ISO"], + kind="extensive", + value_col="value", + summation="fast", + ) + assert list(out.columns) == ["ISO", "window", "batch", "gcm", "value"] + a = out[(out["ISO"] == "A") & (out["batch"] == "b0") & (out["gcm"] == "CCSM4")] + assert a["value"].item() == 10.0 + 20.0 + assert len(out) == 2 * 2 * 2 + + def test_an_intensive_value_is_the_mean_weighted_by_the_basis(self): + out = regroup( + _reduced(), + id_fields=ID, + by=["ISO"], + kind="intensive", + value_col="value", + summation="exact", + basis=BASIS, + ) + a = out[(out["ISO"] == "A") & (out["batch"] == "b0") & (out["gcm"] == "CCSM4")] + assert a["value"].item() == (1.0 * 10.0 + 3.0 * 20.0) / 4.0 + + def test_a_state_with_no_value_is_left_out_of_the_mean(self): + frame = _reduced() + frame.loc[(frame["ID_1"] == 2) & (frame["ISO"] == "A"), "value"] = np.nan + out = regroup( + frame, + id_fields=ID, + by=["ISO"], + kind="intensive", + value_col="value", + summation="fast", + basis=BASIS, + ) + a = out[(out["ISO"] == "A") & (out["batch"] == "b0") & (out["gcm"] == "CCSM4")] + assert a["value"].item() == 10.0 + b_only = _reduced() + b_only.loc[b_only["ISO"] == "B", "value"] = np.nan + summed = regroup( + b_only, + id_fields=ID, + by=["ISO"], + kind="extensive", + value_col="value", + summation="fast", + ) + assert summed.loc[summed["ISO"] == "B", "value"].isna().all() + + def test_the_exact_sum_does_not_depend_on_the_order_of_the_rows(self): + frame = _reduced() + frame["value"] = frame["value"] * 0.1 + 1e-17 + options = dict( + id_fields=ID, by=["ISO"], kind="intensive", value_col="value", basis=BASIS + ) + one = regroup(frame, summation="exact", **options) + two = regroup( + frame.iloc[::-1].reset_index(drop=True), summation="exact", **options + ) + keys = ["ISO", "window", "batch", "gcm"] + one, two = (f.sort_values(keys).reset_index(drop=True) for f in (one, two)) + assert one["value"].to_numpy().tobytes() == two["value"].to_numpy().tobytes() + + def test_a_target_without_a_basis_is_refused(self): + with pytest.raises(ValueError, match="have a target with no basis"): + regroup( + _reduced(), + id_fields=ID, + by=["ISO"], + kind="intensive", + value_col="value", + summation="fast", + basis=BASIS.iloc[:2], + ) + + def test_what_does_not_fit_is_refused(self): + options = dict(id_fields=ID, value_col="value", summation="fast") + with pytest.raises(ValueError, match="has to name some of the id fields"): + regroup(_reduced(), by=["window"], kind="extensive", **options) + with pytest.raises(ValueError, match="takes none"): + regroup(_reduced(), by=["ISO"], kind="extensive", basis=BASIS, **options) + with pytest.raises(ValueError, match="weighted by each target's basis"): + regroup(_reduced(), by=["ISO"], kind="intensive", **options) + + def test_regrouped_then_pooled_is_the_country_statistics(self): + """The order the recipe scripts follow, the regroup before the + statistics, since a quantile of a sum is not the sum of the + quantiles.""" + country = regroup( + _reduced(), + id_fields=ID, + by=["ISO"], + kind="extensive", + value_col="value", + summation="fast", + ) + stats = pooled_statistics( + country, + sample_dims=["batch", "gcm"], + quantiles=[0.5], + quantile_method="linear", + summation="fast", + ) + a = stats[(stats["ISO"] == "A") & (stats["statistic"] == "mean")] + # each state's batch offset counts twice in A's sum, so A is 30, + # 32, 31 and 33 over the two batches of two models + assert a["value"].item() == 31.5 + + +class TestTargetBasis: + @staticmethod + def _artifact(frame) -> WeightsArtifact: + schema = OutputSchema( + id_fields=("ISO", "ID_1"), + weight_names=("croparea",), + source_units=SourceUnits.from_string_ids(["hierid"]), + normalization="per_destination", + ) + return WeightsArtifact( + frame=frame, schema=schema, regions_version="t", source_version="s" + ) + + def test_it_is_the_raw_column_summed_by_target(self): + frame = pd.DataFrame( + { + "ISO": ["A", "A", "A", "B"], + "ID_1": [1, 1, 2, 1], + "hierid": ["r1", "r2", "r3", "r4"], + "croparea_raw": [2.0, 3.0, np.nan, 4.0], + "cropareawt": [0.4, 0.6, np.nan, 1.0], + } + ) + got = target_basis(self._artifact(frame), "croparea") + assert got.to_dict("records") == [ + {"ISO": "A", "ID_1": 1, "basis": 5.0}, + {"ISO": "A", "ID_1": 2, "basis": 0.0}, + {"ISO": "B", "ID_1": 1, "basis": 4.0}, + ] + + def test_an_artifact_without_the_raw_column_is_refused(self): + frame = pd.DataFrame( + {"ISO": ["A"], "ID_1": [1], "hierid": ["r1"], "cropareawt": [1.0]} + ) + with pytest.raises(ValueError, match="no column 'croparea_raw'"): + target_basis(self._artifact(frame), "croparea") diff --git a/tests/unit/test_stats.py b/tests/unit/test_stats.py index b2826cf..36be9a5 100644 --- a/tests/unit/test_stats.py +++ b/tests/unit/test_stats.py @@ -13,7 +13,11 @@ import pandas as pd import pytest -from cil_regionalization.stats import mixture_quantile, summarize_samples +from cil_regionalization.stats import ( + mixture_quantile, + pooled_statistics, + summarize_samples, +) def _frame(rows: list[dict]) -> pd.DataFrame: @@ -677,10 +681,17 @@ def test_nan_member_is_not_counted(self): sample_dims=["zeppelin"], quantiles=[0.5], include_n_members=True, + model_dims=["zeppelin"], quantile_method="linear", summation="fast", ) - assert list(out.columns) == ["target", "statistic", "value", "n_members"] + assert list(out.columns) == [ + "target", + "statistic", + "value", + "n_members", + "n_models", + ] assert out["n_members"].dtype == np.int64 counts = out.set_index(["target", "statistic"])["n_members"].to_dict() assert counts == { @@ -701,10 +712,17 @@ def test_zero_weight_member_is_not_counted(self): sample_dims=["zeppelin"], weight_col="tonnage", include_n_members=True, + model_dims=["zeppelin"], quantile_method="lower_step", summation="fast", ) - assert list(out.columns) == ["target", "statistic", "value", "n_members"] + assert list(out.columns) == [ + "target", + "statistic", + "value", + "n_members", + "n_models", + ] assert out.set_index("target")["n_members"].to_dict() == {"T1": 1, "T2": 2} def test_summarize_samples_agrees_with_staged_path(self): @@ -735,6 +753,7 @@ def test_summarize_samples_agrees_with_staged_path(self): window=(2050, 2051), quantiles=[0.5], include_n_members=True, + model_dims=["zeppelin"], quantile_method="linear", summation="fast", ) @@ -748,10 +767,17 @@ def test_summarize_samples_agrees_with_staged_path(self): sample_dims=["zeppelin"], quantiles=[0.5], include_n_members=True, + model_dims=["zeppelin"], quantile_method="linear", summation="fast", ) - assert list(single.columns) == ["target", "statistic", "value", "n_members"] + assert list(single.columns) == [ + "target", + "statistic", + "value", + "n_members", + "n_models", + ] key = ["target", "statistic"] assert single.set_index(key)["n_members"].to_dict() == { ("T1", "mean"): 2, @@ -776,6 +802,7 @@ def test_existing_n_members_column_refused(self): df, sample_dims=["zeppelin"], include_n_members=True, + model_dims=["zeppelin"], quantile_method="linear", summation="fast", ) @@ -786,6 +813,7 @@ def test_existing_n_members_column_refused(self): time_col="epoch", window=(2050, 2050), include_n_members=True, + model_dims=["zeppelin"], quantile_method="linear", summation="fast", ) @@ -1534,3 +1562,93 @@ def test_bad_inputs_raise(self): mixture_quantile([1.0], [0.0], [-1.0], 0.5) with pytest.raises(ValueError, match=r"\[0, 1\]"): mixture_quantile([1.0], [0.0], [1.0], 1.5) + + +class TestModelCount: + """With the counts asked for, a row carries the samples behind it and + the climate models among them, which are not the same number once + there are batches.""" + + @staticmethod + def _draws(weights=None): + rows = [ + {"target": "T1", "batch": f"b{b}", "gcm": gcm, "value": 1.0 + b + 10 * i} + for i, gcm in enumerate(["CCSM4", "MIROC5"]) + for b in range(3) + ] + frame = pd.DataFrame(rows) + if weights is not None: + frame["w"] = frame["gcm"].map(weights) + return frame + + def _counts(self, frame, **options): + out = pooled_statistics( + frame, + sample_dims=["batch", "gcm"], + quantiles=[0.5], + include_n_members=True, + model_dims=["gcm"], + quantile_method=options.pop("quantile_method", "lower_step"), + summation="fast", + **options, + ) + return out[["n_members", "n_models"]].drop_duplicates().to_dict("records") + + def test_three_batches_of_two_models_are_six_samples_of_two_models(self): + """Failed with one count only, the samples.""" + assert self._counts(self._draws()) == [{"n_members": 6, "n_models": 2}] + + def test_a_model_of_weight_zero_is_counted_in_neither(self): + frame = self._draws({"CCSM4": 0.0, "MIROC5": 1.0}) + assert self._counts(frame, weight_col="w") == [{"n_members": 3, "n_models": 1}] + + def test_a_model_with_no_value_is_not_counted(self): + frame = self._draws() + frame.loc[frame["gcm"] == "MIROC5", "value"] = np.nan + assert self._counts(frame) == [{"n_members": 3, "n_models": 1}] + + def test_summarize_samples_counts_the_same(self): + frame = pd.concat([self._draws().assign(year=y) for y in (2050, 2051)]) + out = summarize_samples( + frame, + sample_dims=["batch", "gcm"], + time_col="year", + window=(2050, 2051), + quantiles=[0.5], + include_n_members=True, + model_dims=["gcm"], + quantile_method="lower_step", + summation="fast", + ) + assert set(out["n_models"]) == {2} and set(out["n_members"]) == {6} + + def test_counts_without_the_model_columns_are_refused(self): + with pytest.raises(ValueError, match="model_dims has to name"): + pooled_statistics( + self._draws(), + sample_dims=["batch", "gcm"], + include_n_members=True, + quantile_method="lower_step", + summation="fast", + ) + + def test_model_columns_without_the_counts_are_refused(self): + with pytest.raises(ValueError, match="only include_n_members writes"): + pooled_statistics( + self._draws(), + sample_dims=["batch", "gcm"], + model_dims=["gcm"], + quantile_method="lower_step", + summation="fast", + ) + + def test_model_columns_that_are_not_pooled_are_refused(self): + with pytest.raises(ValueError, match=r"model_dims \['target'\] are not among"): + pooled_statistics( + self._draws(), + sample_dims=["batch", "gcm"], + include_n_members=True, + model_dims=["target"], + quantile_method="lower_step", + summation="fast", + ) diff --git a/tests/unit/test_stats_methods.py b/tests/unit/test_stats_methods.py index 249a7ab..04613c5 100644 --- a/tests/unit/test_stats_methods.py +++ b/tests/unit/test_stats_methods.py @@ -324,6 +324,7 @@ def test_n_members_leaves_out_the_weight_zero_member(self): quantiles=[0.5], weight_col="w", include_n_members=True, + model_dims=["draw"], quantile_method="inverted_cdf", summation="fast", ) @@ -439,7 +440,7 @@ def test_it_is_numpy_to_the_last_bit(self, seed): def test_a_quantile_next_to_an_infinity_is_refused(self): """numpy's interpolation gives NaN there, even at the median of 1, 2 and an infinity, and a NaN would read as a group with no - value. A group with no value still gives NaN.""" + value. The infinite member is refused before it is reached.""" frame = pd.concat( [ _members([1.0, 2.0, np.inf], target="a"), @@ -448,8 +449,7 @@ def test_a_quantile_next_to_an_infinity_is_refused(self): ) with pytest.raises( ValueError, - match=r"1 linear quantiles interpolate next to an infinite member and " - r"have no value \(first: q50 of \{'target': 'a'\}\)", + match=r"1 values of 'value' are infinite \(first: \{'target': 'a'", ): pooled_statistics( frame, @@ -467,9 +467,6 @@ def test_a_quantile_next_to_an_infinity_is_refused(self): summation="fast", ) assert got["value"].isna().all() - # an infinity numpy does reach is returned, as with the fast sum - low = _pooled(_members([-np.inf, 1.0, 2.0]), [0.25], include_mean=False) - assert low == {"q25": -np.inf} class TestLowerStep: @@ -506,6 +503,7 @@ def test_no_weights_is_the_step_with_every_weight_one(self, seed, summation): sample_dims=["draw"], quantiles=[0.25, 0.5, 0.75, 0.95], include_n_members=True, + model_dims=["draw"], summation=summation, quantile_method="lower_step", ) @@ -540,6 +538,7 @@ def test_a_group_with_no_value_is_nan_without_weights(self): quantiles=[0.5], quantile_method="lower_step", include_n_members=True, + model_dims=["draw"], summation="fast", ) empty = got[got["target"] == "b"] @@ -564,15 +563,13 @@ def test_missing_values_drop_out(self): ) assert got == {"mean": 2.5, "q95": 3.0} - def test_minus_infinity_is_returned_with_the_fast_sum_and_refused_with_exact( - self, - ): - """It is what the tool returned. Asked for with exact sums it is - an infinite statistic like any other.""" + @pytest.mark.parametrize("summation", ["fast", "exact"]) + def test_minus_infinity_is_returned_under_either_sum(self, summation): + """It is what the tool returned, at or below 1/n with equal + weights, here 0.05 of three members.""" frame = _members([1.0, 2.0, 3.0]) - assert _pooled(frame, [0.05], quantile_method="lower_step")["q05"] == -np.inf - with pytest.raises(ValueError, match=r"statistics are infinite \(q05: 1"): - _pooled(frame, [0.05], quantile_method="lower_step", summation="exact") + got = _pooled(frame, [0.05], quantile_method="lower_step", summation=summation) + assert got["q05"] == -np.inf def test_a_nullable_value_column_gives_floats(self): frame = _members([1.0, 2.0, 3.0, 4.0]) @@ -745,6 +742,7 @@ def test_shuffled_rows_give_the_same_bits(self, weighted): quantiles=[0.0, *QUANTILES, 1.0], weight_col="w" if weighted else None, include_n_members=True, + model_dims=["draw"], quantile_method="inverted_cdf", summation="exact", ) @@ -917,58 +915,46 @@ def test_summarize_samples_widens_before_the_window_mean( class TestInfiniteStatistics: - """Under "inverted_cdf" or "exact" an infinite statistic is - refused. An infinity in the data that reaches no statistic is not - an error.""" + """An infinite member value is refused under every quantile method + and sum, and so is a statistic that comes out infinite, other than + the -inf of "lower_step" at or below its first step.""" SETTINGS = [ - {"summation": "exact"}, - {"quantile_method": "inverted_cdf"}, - {"quantile_method": "inverted_cdf", "summation": "exact"}, + {"quantile_method": q, "summation": s} + for q in ("linear", "lower_step", "inverted_cdf") + for s in ("fast", "exact") ] @pytest.mark.parametrize("options", SETTINGS) - @pytest.mark.parametrize("values", [[np.inf, 1.0, 2.0], [-np.inf, 1.0, 2.0]]) + @pytest.mark.parametrize("values", [[np.inf, 1.0, 2.0], [-np.inf, 1.0, -np.inf]]) @pytest.mark.parametrize("weights", [None, [0.5, 0.25, 0.25]]) - def test_an_infinite_mean_is_refused(self, options, values, weights): + def test_an_infinite_member_is_refused(self, options, values, weights): + """Failed under "lower_step" with the fast sum, which returned + the infinity, and with infinities of both signs, whose mean is + NaN.""" + if weights is not None and options["quantile_method"] == "linear": + pytest.skip("linear has no weighted form") frame = _members(values, weights) - with pytest.raises(ValueError, match=r"1 statistics are infinite \(mean: 1"): - _pooled(frame, [], **options) - # "linear" and "lower_step" with the fast sum return it - assert np.isinf(_pooled(frame, [])["mean"]) - - @pytest.mark.parametrize("options", SETTINGS) - def test_an_infinite_member_a_quantile_selects_is_refused(self, options): - """No sum is taken here. The largest member is infinite and - q100 returns it under "inverted_cdf". Under "linear" numpy's - interpolation next to it gives no number, and that is refused - whatever the sum.""" - frame = _members([1.0, 2.0, np.inf]) - message = ( - r"statistics are infinite \(q100: 1" - if options.get("quantile_method") == "inverted_cdf" - else "interpolate next to an infinite member" - ) - with pytest.raises(ValueError, match=message): - _pooled(frame, [0.5, 1.0], include_mean=False, **options) - - def test_an_infinity_that_reaches_no_statistic_is_let_through(self): - """Cannot go red by reverting, because without the check - nothing is refused. It failed with the check put on the member - values instead of on the statistics.""" - got = _pooled( - _members([1.0, 2.0, 3.0, np.inf]), - [0.5], - quantile_method="inverted_cdf", - summation="exact", - include_mean=False, - ) - assert got == {"q50": 2.0} + with pytest.raises(ValueError, match=r"values of 'value' are infinite"): + _pooled(frame, [0.5], **options) + + def test_an_infinite_member_no_statistic_reaches_is_refused(self): + """Failed when only the statistics were checked, since the + median of 1, 2, 3 and an infinity is 2.""" + with pytest.raises(ValueError, match=r"1 values of 'value' are infinite"): + _pooled( + _members([1.0, 2.0, 3.0, np.inf]), + [0.5], + quantile_method="inverted_cdf", + summation="exact", + include_mean=False, + ) def test_an_infinity_in_a_year_no_window_covers_is_let_through(self): - """Data that never enters a result must not fail the run. Like - the test above this cannot go red by reverting. It failed with - the check put on every row of the value column.""" + """Data that never enters a result must not fail the run. This + cannot go red by reverting, because without the check nothing is + refused. It failed with the check put on every row of the value + column.""" frame = _timed() frame.loc[frame["year"] == 2059, "value"] = np.inf out = summarize_samples( @@ -981,53 +967,41 @@ def test_an_infinity_in_a_year_no_window_covers_is_let_through(self): summation="exact", ) assert np.isfinite(out["value"]).all() + means = window_means( + frame, time_col="year", windows=[(2040, 2049)], summation="fast" + ) + assert np.isfinite(means["value"]).all() - def test_the_window_mean_passes_an_infinity_on(self): - """`window_means` returns no statistic. With an infinite year - the member's mean is infinite under either summation, and it is - the statistics over the members that refuse it.""" + @pytest.mark.parametrize("summation", ["fast", "exact"]) + def test_the_window_mean_refuses_an_infinity(self, summation): + """Failed with the member's mean passed on as an infinity.""" frame = _timed() frame.loc[7, "value"] = -np.inf - kwargs = dict(time_col="year", windows=[(2040, 2059)]) - exact = window_means(frame, summation="exact", **kwargs) - fast = window_means(frame, summation="fast", **kwargs) - assert (exact["value"] == -np.inf).sum() == 1 - assert ((exact["value"] == -np.inf) == (fast["value"] == -np.inf)).all() - with pytest.raises(ValueError, match=r"statistics are infinite \(mean: 1"): - summarize_samples( - frame, - sample_dims=["draw"], - time_col="year", - window=(2040, 2059), - summation="exact", - quantile_method="linear", + with pytest.raises(ValueError, match=r"1 values of 'value' are infinite"): + window_means( + frame, time_col="year", windows=[(2040, 2059)], summation=summation ) - def test_infinities_of_both_signs_have_no_sum(self): - """Their sum is not a number. The exact sum raises where numpy - returns NaN, which would pass for a group with no value.""" - frame = _members([np.inf, 1.0, -np.inf]) - with pytest.raises(ValueError, match="infinities of both signs"): - _pooled(frame, [], summation="exact") - with np.errstate(invalid="ignore"): - assert np.isnan(_pooled(frame, [])["mean"]) - - def test_an_overflow_is_refused(self): + def test_an_overflow_is_refused_under_either_sum(self): """Finite values whose sum, or whose product with the weight, - passes the largest float.""" + passes the largest float. Failed under the fast sum, which + returned the infinity.""" with pytest.raises(ValueError, match="overflows the largest float"): _pooled(_members([1e308, 1e308]), [], summation="exact") - with pytest.raises(ValueError, match="statistics are infinite"): + with pytest.raises(ValueError, match="arithmetic passed the largest float"): _pooled(_members([1e308, 1.0], [10.0, 1.0]), [], summation="exact") - assert _pooled(_members([1e308, 1e308]), []) == {"mean": np.inf} + with pytest.raises(ValueError, match=r"statistics are infinite \(mean: 1"): + _pooled(_members([1e308, 1e308]), []) - def test_the_minus_infinity_of_the_step_is_refused_too(self): - """ "lower_step" returns -inf below the first - step. Asked for together with exact sums it is an infinite - statistic like any other.""" + @pytest.mark.parametrize("summation", ["fast", "exact"]) + def test_the_minus_infinity_of_the_step_is_kept(self, summation): + """By its definition "lower_step" is -inf at or below its first + step, here the first member's share of 0.6. Failed under the + exact sum, which refused it.""" frame = _members([1.0, 2.0, 3.0], [0.6, 0.2, 0.2]) - with pytest.raises(ValueError, match=r"statistics are infinite \(q05: 1"): - _pooled(frame, [0.05], summation="exact") + got = _pooled(frame, [0.05, 0.6, 0.65], summation=summation) + assert got["q05"] == -np.inf and got["q60"] == -np.inf + assert got["q65"] == 1.0 and np.isfinite(got["mean"]) def test_nan_is_left_alone(self): """A group with no value has no statistic, under any setting. @@ -1037,7 +1011,6 @@ def test_nan_is_left_alone(self): [_members([1.0, 2.0], target="a"), _members([np.nan, np.nan], target="b")] ) for options in self.SETTINGS: - options = {"quantile_method": "linear", "summation": "fast", **options} out = pooled_statistics( frame, sample_dims=["draw"], quantiles=[0.5], **options ) @@ -1053,13 +1026,13 @@ def test_the_error_says_where(self): frame, sample_dims=["draw"], quantiles=[1.0], - summation="exact", - quantile_method="inverted_cdf", + summation="fast", + quantile_method="lower_step", ) message = str(error.value) - assert "2 statistics are infinite (mean: 1, q100: 1" in message + assert "1 values of 'value' are infinite" in message assert "'target': 'b'" in message - assert "summation='exact'" in message + assert "summation" not in message class TestBothHalves: @@ -1095,6 +1068,7 @@ def test_summarize_samples_is_the_two_steps(self, weighted): quantiles=QUANTILES, weight_col=weight_col, include_n_members=True, + model_dims=["draw"], **options, ) reduced = window_means( @@ -1106,6 +1080,7 @@ def test_summarize_samples_is_the_two_steps(self, weighted): quantiles=QUANTILES, weight_col=weight_col, include_n_members=True, + model_dims=["draw"], **options, ).drop(columns="window") pd.testing.assert_frame_equal( diff --git a/tests/unit/test_warming_levels.py b/tests/unit/test_warming_levels.py index c6eedb2..15e44f3 100644 --- a/tests/unit/test_warming_levels.py +++ b/tests/unit/test_warming_levels.py @@ -10,16 +10,20 @@ import json import math +import re +from pathlib import Path import numpy as np import pandas as pd import pytest from cil_regionalization.warming_levels import ( + EVERY_DECLARED, GMSTTable, LevelWindow, Period, assign_warming_levels, + members_that_join, read_gmst, ) @@ -50,6 +54,8 @@ def _table(members: dict, member_cols=("gcm", "rcp")) -> GMSTTable: def _assign(table, **changes): + """With every member of the table joining unless ``members`` says + otherwise.""" settings = dict( reference_period=REFERENCE, offset=0.5, @@ -57,6 +63,7 @@ def _assign(table, **changes): half_width=0.25, periods=[MID, LATE], smoothing="unknown", + members=table.members, ) settings.update(changes) return assign_warming_levels(table, **settings) @@ -100,7 +107,15 @@ def test_another_reference_period_and_offset_give_other_levels(self): @pytest.mark.parametrize( "left_out", - ["reference_period", "offset", "levels", "half_width", "periods", "smoothing"], + [ + "reference_period", + "offset", + "levels", + "half_width", + "periods", + "smoothing", + "members", + ], ) def test_nothing_that_decides_a_level_has_a_default(self, left_out): table = _table({("a", "rcp45"): _series(0.25, 1.25, 2.75)}) @@ -111,6 +126,7 @@ def test_nothing_that_decides_a_level_has_a_default(self, left_out): half_width=0.25, periods=[MID], smoothing="unknown", + members=[("a", "rcp45")], ) del settings[left_out] with pytest.raises(TypeError, match=left_out): @@ -316,10 +332,9 @@ def test_the_member_key_is_whatever_columns_the_table_has(self): ) assert _assign(three).levels[("a", "ssp245", "r1")] == (1.5, 3.0) - def test_a_surrogate_is_a_member_of_its_own(self): - """Its name is matched as it is written, so it is not the model - it was made from, and that model's row does not stand in for - it.""" + def test_a_name_is_matched_as_it_is_written(self): + """A member named after another is a member of its own, and the + other's row does not stand in for it.""" table = _table( { ("GFDL-ESM2G", "rcp85"): _series(0.25, 1.25, 2.75), @@ -370,7 +385,7 @@ def test_a_table_with_a_member_and_a_year_twice_is_refused(self): class TestRecord: @staticmethod - def _levels(): + def _levels(**changes): table = _table( { ("a", "rcp45"): _series(0.25, 1.25, 2.75), @@ -382,6 +397,7 @@ def _levels(): table, levels=[1.5, 2.0, 3.0, 4.0], smoothing="as delivered, window not recorded", + **changes, ) def test_it_says_what_decided_the_levels_and_what_they_are(self): @@ -429,11 +445,13 @@ def test_it_counts_every_declared_level_and_lists_who_has_none(self): ], } assert record["in_no_bin"] == [{"gcm": "b", "rcp": "rcp85"}] - assert record["unused_members"] == [] + assert record["excluded"] == [] - def test_a_run_records_its_own_members_and_lists_the_rest_of_the_table(self): - levels = self._levels() - record = levels.record([("a", "rcp85"), ("a", "rcp45"), ("a", "rcp85")]) + def test_a_member_that_does_not_join_is_listed_with_the_reason(self): + """Apart from the members that join, in the run or not.""" + levels = self._levels(members=[("a", "rcp85"), ("a", "rcp45")]) + b = {"gcm": "b", "rcp": "rcp85"} + record = levels.record([("a", "rcp45"), ("b", "rcp85"), ("a", "rcp85")]) assert [entry["member"]["rcp"] for entry in record["members"]] == [ "rcp85", "rcp45", @@ -446,9 +464,20 @@ def test_a_run_records_its_own_members_and_lists_the_rest_of_the_table(self): } assert record["unassigned"]["2040-2058"] == [] assert record["in_no_bin"] == [] - assert record["unused_members"] == [{"gcm": "b", "rcp": "rcp85"}] + assert record["excluded"] == [ + {"member": b, "reason": "in the run and not among the members that join"} + ] + assert levels.record()["excluded"] == [ + {"member": b, "reason": "in the temperature table and not in the run"} + ] with pytest.raises(ValueError, match="has no row in the temperature table"): - levels.record([("c", "rcp45")]) + levels.record([("a", "rcp85"), ("a", "rcp45"), ("c", "rcp45")]) + with pytest.raises( + ValueError, + match=r"1 members that join are not in the run \(first: " + r"\{'gcm': 'a', 'rcp': 'rcp45'\}\)", + ): + levels.record([("a", "rcp85")]) class TestRead: @@ -489,3 +518,138 @@ def test_other_column_names_and_another_separator(self, tmp_path): sep="\t", ) assert _assign(table).levels[("a", "ssp245")] == (1.5, 3.0) + + +class TestMembersThatJoin: + """The caller names the members that join, and no name decides + anything.""" + + @staticmethod + def _table(): + series = _series(0.25, 1.25, 2.75) + empty = {year: float("nan") for year in series} + return _table( + { + ("GFDL-ESM2G", "rcp45"): series, + ("surrogate_GFDL-ESM2G_06", "rcp45"): empty, + ("surrogate_GFDL-ESM2G_06", "rcp85"): _series(0.25, 1.75, 4.75), + } + ) + + def test_only_the_members_that_join_are_assessed(self): + """The rest of the table is at no level and recorded, the member + with no temperature among them.""" + table = self._table() + got = _assign(table, members=[("GFDL-ESM2G", "rcp45")]) + assert list(got.levels) == [("GFDL-ESM2G", "rcp45")] + assert got.excluded == ( + ("surrogate_GFDL-ESM2G_06", "rcp45"), + ("surrogate_GFDL-ESM2G_06", "rcp85"), + ) + assert got.windows_of(("surrogate_GFDL-ESM2G_06", "rcp85")) == () + assert [entry["member"] for entry in got.record()["excluded"]] == [ + {"gcm": "surrogate_GFDL-ESM2G_06", "rcp": "rcp45"}, + {"gcm": "surrogate_GFDL-ESM2G_06", "rcp": "rcp85"}, + ] + + def test_a_member_named_for_a_surrogate_joins_when_it_is_named(self): + """It went red on the code that read the prefix, where a member + whose name began with surrogate_ could be left out by a + setting.""" + got = _assign(self._table(), members=[("surrogate_GFDL-ESM2G_06", "rcp85")]) + assert got.levels == {("surrogate_GFDL-ESM2G_06", "rcp85"): (2.0, None)} + assert ("GFDL-ESM2G", "rcp45") in got.excluded + + def test_the_module_reads_no_member_name(self): + """No prefix and no name convention, in the library or in the + pipeline. It went red on the code that recognised surrogate_.""" + import cil_regionalization.pipelines.montecarlo as pipeline + import cil_regionalization.warming_levels as module + + for source in (module, pipeline): + assert "surrogate" not in Path(source.__file__).read_text().lower() + + def test_a_member_that_joins_without_a_temperature_is_refused_by_name(self): + with pytest.raises( + ValueError, + match=r"\{'gcm': 'surrogate_GFDL-ESM2G_06', 'rcp': 'rcp45'\} has no " + r"temperature for 20 of the 20", + ): + _assign(self._table()) + + def test_a_member_that_joins_without_a_row_is_refused_by_name(self): + with pytest.raises( + ValueError, + match=r"1 of the members that join have no row in the temperature " + r"table \(first: \{'gcm': 'CCSM4', 'rcp': 'rcp45'\}\)", + ): + _assign( + self._table(), members=[("CCSM4", "rcp45"), ("GFDL-ESM2G", "rcp45")] + ) + + @pytest.mark.parametrize( + "members, message", + [ + ([], "at least one member that joins"), + ([("GFDL-ESM2G",)], r"one value for each of \['gcm', 'rcp'\]"), + ("GFDL-ESM2G", "got the string 'GFDL-ESM2G'"), + ], + ) + def test_members_that_name_no_member_are_refused(self, members, message): + with pytest.raises(ValueError, match=message): + _assign(self._table(), members=members) + + +class TestJoin: + """`members_that_join` turns what a run declares into the members.""" + + COLS = ["gcm", "rcp"] + DECLARED = [("a", "rcp45"), ("b", "rcp45"), ("a", "rcp85"), ("s_a", "rcp85")] + + def test_declared_is_every_member_declared_in_their_order(self): + assert EVERY_DECLARED == "declared" + assert members_that_join("declared", self.DECLARED, self.COLS) == self.DECLARED + + def test_a_list_by_column_takes_its_values_under_every_other_value(self): + """The models listed join under each scenario the tree has.""" + assert members_that_join({"gcm": ["b", "a"]}, self.DECLARED, self.COLS) == [ + ("a", "rcp45"), + ("b", "rcp45"), + ("a", "rcp85"), + ] + assert members_that_join( + {"gcm": ["a"], "rcp": ["rcp85"]}, self.DECLARED, self.COLS + ) == [("a", "rcp85")] + + @pytest.mark.parametrize( + "join, message", + [ + ("all", "join is 'declared' or a mapping"), + ({}, "join names no member column"), + ( + {"model": ["a"]}, + r"join names \['model'\], which are not among the member " + r"columns \['gcm', 'rcp'\]", + ), + ({"gcm": "a"}, "join.gcm has to be a list of values"), + ({"gcm": []}, "join.gcm lists no value"), + ({"gcm": ["a", "b", "a"]}, r"join.gcm lists \['a'\] more than once"), + ], + ) + def test_a_join_that_is_not_precise_is_refused(self, join, message): + with pytest.raises(ValueError, match=message): + members_that_join(join, self.DECLARED, self.COLS) + + def test_a_value_listed_that_no_member_declared_holds_is_refused_by_name(self): + with pytest.raises( + ValueError, + match=re.escape( + "2 values listed to join are held by no member declared: " + "[\"gcm = 'c'\", \"rcp = 'rcp26'\"]" + ), + ): + members_that_join( + {"gcm": ["a", "c"], "rcp": ["rcp26", "rcp45"]}, + self.DECLARED, + self.COLS, + )