Skip to content

Commit 77e263f

Browse files
Merge pull request #404 from GFDRR/267-climate-data
Add climate data
2 parents 3e7f2cd + 9a88db1 commit 77e263f

File tree

5 files changed

+121
-2
lines changed

5 files changed

+121
-2
lines changed

docs/about/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ This page lists changes to the Risk Data Library Standard.
2222
- [#396](https://github.com/GFDRR/rdl-standard/pull/396)
2323
- `Entity`: Require any of `.email`, `.url`.
2424
- `Event.ocurrence`: Require any of `.probabilistic`, `.empirical`, `.deterministic`.
25+
- [#404](https://github.com/GFDRR/rdl-standard/pull/404)
26+
- Add `Climate` object to `$defs` with fields for `model`, `scenario` and `percentile`
27+
- Add `climate` to `Resource`
28+
- Add `baseline_period` to `Resource`
29+
- Add `central_year` to `Period`
2530
- [#398](https://github.com/GFDRR/rdl-standard/pull/398) - Add `spatial_aggregation` to `Resource`.
2631
- [#400](https://github.com/GFDRR/rdl-standard/pull/400):
2732
- Move `.sources` to `.lineage.sources`
@@ -63,6 +68,7 @@ This page lists changes to the Risk Data Library Standard.
6368
- [#384](https://github.com/GFDRR/rdl-standard/pull/384) - Rename non-unique 'loss_ratio' codes in `impact_metric.csv`.
6469
- [#370](https://github.com/GFDRR/rdl-standard/pull/370) - 'IMT.csv' Expanded list and updated structure.
6570
- [#373](https://github.com/GFDRR/rdl-standard/pull/373) - 'license.csv' Expanded list and updated structure.
71+
- [#404](https://github.com/GFDRR/rdl-standard/pull/404) - Add `climate_scenario.csv` as closed codelist.
6672
- [#397](https://github.com/GFDRR/rdl-standard/pull/397) - Add 'urban' to `spatial_scale.csv`.
6773

6874
### Normative documentation

docs/reference/codelists.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,22 @@ open:
498498
```
499499
````
500500

501+
### climate_scenario
502+
503+
This codelist is referenced by the following properties:
504+
505+
- [`Climate/scenario`](rdls_schema.json,/$defs/Climate,scenario)
506+
507+
This codelist has the following codes:
508+
509+
````{dropdown} Codes
510+
```{csv-table-no-translate}
511+
:header-rows: 1
512+
:widths: auto
513+
:file: ../../schema/codelists/closed/climate_scenario.csv
514+
```
515+
````
516+
501517
### country
502518

503519
This codelist is referenced by the following properties:

docs/reference/schema.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@ This sub-schema is referenced by the following properties:
885885

886886
- [`temporal`](rdls_schema.json,,temporal)
887887
- [`Resource/temporal`](rdls_schema.json,/$defs/Resource,temporal)
888+
- [`Resource/baseline_period`](rdls_schema.json,/$defs/Resource,baseline_period)
888889
- [`Event/occurrence/empirical/temporal`](rdls_schema.json,/$defs/Event,occurrence/empirical/temporal)
889890

890891
Each `Period` has the following fields:
@@ -897,6 +898,30 @@ addtargets:
897898
---
898899
```
899900

901+
### Climate
902+
903+
`Climate` is defined as:
904+
905+
```{jsoninclude-quote} ../../docs/_readthedocs/html/rdls_schema.json
906+
---
907+
jsonpointer: /$defs/Climate/description
908+
---
909+
```
910+
911+
This sub-schema is referenced by the following properties:
912+
913+
- [`Resource/climate`](rdls_schema.json,/$defs/Resource,climate)
914+
915+
Each `Climate` has the following fields:
916+
917+
```{jsonschema} ../../docs/_readthedocs/html/rdls_schema.json
918+
---
919+
pointer: /$defs/Climate
920+
collapse:
921+
addtargets:
922+
---
923+
```
924+
900925
### Location
901926

902927
`Location` is defined as:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
code,title,description,ipcc_report,url
2+
SSP1-1.9,Very Low Emissions (1.9 W/m2),Limits warming to 1.5 degrees C. Requires net zero CO2 around 2050 followed by net negative emissions.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
3+
SSP1-2.6,Low Emissions (2.6 W/m2),Limits warming to well below 2 degrees C. Strong mitigation with CO2 emissions reaching net zero after 2050.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
4+
SSP2-4.5,Intermediate Emissions (4.5 W/m2),Intermediate emissions following broadly historical social and economic trends with moderate mitigation.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
5+
SSP3-7.0,High Emissions (7.0 W/m2),High emissions assuming regional rivalry and no additional climate policies.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
6+
SSP4-3.4,Low to Intermediate Emissions (3.4 W/m2),Low to intermediate emissions assuming high inequality between and within countries with moderate mitigation efforts.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
7+
SSP4-6.0,High Emissions (6.0 W/m2),High emissions assuming high inequality between and within countries and limited mitigation.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
8+
SSP5-3.4,Low to Intermediate Emissions - Overshoot (3.4 W/m2),Overshoot pathway following high emissions before rapid decline to 3.4 W/m2 by 2100. Paired with SSP4-3.4 but assumes fossil-fuel intensive development with late-century mitigation.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
9+
SSP5-8.5,Very High Emissions (8.5 W/m2),Very high emissions assuming fossil-fuel intensive development and no mitigation. Upper bound of the scenario range.,IPCC AR6,https://www.ipcc.ch/report/ar6/wg1/
10+
RCP2.6,Very Low Emissions (RCP2.6),Very stringent mitigation pathway requiring net negative greenhouse gas emissions after 2070.,IPCC AR5,https://www.ipcc.ch/report/ar5/wg1/
11+
RCP4.5,Intermediate Emissions (RCP4.5),Intermediate stabilisation pathway with moderate mitigation efforts.,IPCC AR5,https://www.ipcc.ch/report/ar5/wg1/
12+
RCP6.0,High Emissions (RCP6.0),Stabilisation pathway in which emissions peak around 2080 then decline.,IPCC AR5,https://www.ipcc.ch/report/ar5/wg1/
13+
RCP8.5,Very High Emissions (RCP8.5),High-end baseline with continuously rising emissions throughout the 21st century.,IPCC AR5,https://www.ipcc.ch/report/ar5/wg1/

schema/rdls_schema.json

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@
481481
},
482482
"temporal": {
483483
"title": "Temporal coverage",
484-
"description": "The period of time covered by this resource. For more information, refer to [spatial and temporal properties](https://docs.riskdatalibrary.org/en/{{version}}/reference/schema/#spatial-and-temporal-properties).",
484+
"description": "The period of time covered by this resource.",
485485
"$ref": "#/$defs/Period"
486486
},
487487
"temporal_resolution": {
488488
"title": "Temporal resolution",
489489
"type": "string",
490-
"description": "The minimum period of time resolvable in this resources, in ISO8601 duration format. For more information, refer to [spatial and temporal properties](https://docs.riskdatalibrary.org/en/{{version}}/reference/schema/#spatial-and-temporal-properties).",
490+
"description": "The minimum period of time resolvable in this resource, in ISO8601 duration format.",
491491
"format": "duration"
492492
},
493493
"access_url": {
@@ -501,6 +501,16 @@
501501
"type": "string",
502502
"description": "The web address this resource can be downloaded from in the given `.format`.",
503503
"minLength": 1
504+
},
505+
"baseline_period": {
506+
"title": "Baseline period",
507+
"description": "The baseline or reference period on which a forecast or projection is based.",
508+
"$ref": "#/$defs/Period"
509+
},
510+
"climate": {
511+
"title": "Climate",
512+
"description": "Information about climate scenarios and models used to create the dataset.",
513+
"$ref": "#/$defs/Climate"
504514
}
505515
},
506516
"minProperties": 1
@@ -750,6 +760,55 @@
750760
"type": "string",
751761
"description": "The duration of the period in ISO 8601 duration format, e.g. 'P50Y' for 50 years",
752762
"format": "duration"
763+
},
764+
"central_year": {
765+
"title": "Central year",
766+
"type": "integer",
767+
"description": "The central or representative year as a single point in time rather than a period (e.g., '2050' representing the period 2040-2060). Use this instead of start/end when data represents conditions centered on a specific year.",
768+
"minimum": 1000,
769+
"maximum": 9999
770+
}
771+
},
772+
"minProperties": 1
773+
},
774+
"Climate": {
775+
"title": "Climate",
776+
"type": "object",
777+
"description": "Information about climate scenarios and models used to create the resource.",
778+
"properties": {
779+
"model": {
780+
"title": "Climate model",
781+
"type": "string",
782+
"description": "The name or identifier of the climate model used to produce this resource",
783+
"minLength": 1
784+
},
785+
"scenario": {
786+
"title": "Climate scenario",
787+
"type": "string",
788+
"description": "The climate scenario under which the data was produced, from the closed [climate_scenario codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#climate_scenario).",
789+
"codelist": "climate_scenario.csv",
790+
"openCodelist": false,
791+
"enum": [
792+
"SSP1-1.9",
793+
"SSP1-2.6",
794+
"SSP2-4.5",
795+
"SSP3-7.0",
796+
"SSP4-3.4",
797+
"SSP4-6.0",
798+
"SSP5-3.4",
799+
"SSP5-8.5",
800+
"RCP2.6",
801+
"RCP4.5",
802+
"RCP6.0",
803+
"RCP8.5"
804+
]
805+
},
806+
"percentile": {
807+
"title": "Percentile",
808+
"type": "number",
809+
"description": "The percentile of the climate model or model ensemble output represented in this resource, expressed as a number between 0 and 100. For example, 50 indicates the median (50th percentile) of the ensemble.",
810+
"minimum": 0,
811+
"maximum": 100
753812
}
754813
},
755814
"minProperties": 1

0 commit comments

Comments
 (0)