Skip to content

Commit

Permalink
Merge pull request #80 from owid/521-data-update-climate-change-impacts
Browse files Browse the repository at this point in the history
521 data update climate change impacts
  • Loading branch information
pabloarosado committed Aug 16, 2022
2 parents 1e70d80 + a5660e4 commit 5204407
Show file tree
Hide file tree
Showing 11 changed files with 4,115 additions and 4,088 deletions.
9 changes: 6 additions & 3 deletions climate_change/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ Here is the code that generates the datasets used in the climate change impacts
For the moment we do not have a fully automated pipeline to update the datasets.

To update the datasets:
1. To update the files in folders `ready` and `output`, execute, from the root directory of this repository:
1. Update the files in folders `ready` and `output`, by executing, from the root directory of this repository:
```bash
source venv/bin/activate
export PYTHONPATH=${PWD}
python climate_change/src/main.py
```
2. Commit and push changes.
3. Manually upload the datasets inside `output` onto grapher, and replace previous versions.
2. Run sanity checks.
3. Commit and push changes.

The [Climate Change Impacts Data Explorer](https://ourworldindata.org/explorers/climate-change) will automatically be
updated after merging the changes to master, since the explorer points to the files inside the `output` folder.
3,851 changes: 1,928 additions & 1,923 deletions climate_change/output/climate_change_impacts_monthly.csv

Large diffs are not rendered by default.

97 changes: 50 additions & 47 deletions climate_change/output/climate_change_impacts_yearly.csv

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion climate_change/ready/epa_antarctic-sea-ice.csv
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ year,location,antarctic_sea_ice_february,antarctic_sea_ice_september
2015,Antarctica,1.467188204,7.119723812
2016,Antarctica,1.077225024,7.007754186
2017,Antarctica,0.884173944,6.915089668
2018,Antarctica,0.884173944,6.903506603
2018,Antarctica,0.89961803,6.934394776
2019,Antarctica,1.023170721,7.077252574
2020,Antarctica,1.127418304,7.274164676
2021,Antarctica,1.09266911,7.123584834
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,8 @@ date,location,monthly_sea_surface_temperature_anomaly,monthly_sea_surface_temper
2022-02-15,World,0.5981,0.5715,0.6215
2022-03-15,World,0.62775,0.6,0.6505
2022-04-15,World,0.62421,0.598,0.6475
2022-05-15,World,0.64512,0.6205,0.667
2022-05-15,World,0.64816,0.624,0.671
2022-06-15,World,0.70531,0.6805,0.727
1850-01-15,Northern Hemisphere,-0.18959,-0.315,-0.091
1850-02-15,Northern Hemisphere,-0.17722,-0.299,-0.079
1850-03-15,Northern Hemisphere,-0.48693,-0.599,-0.399
Expand Down Expand Up @@ -4136,7 +4137,8 @@ date,location,monthly_sea_surface_temperature_anomaly,monthly_sea_surface_temper
2022-02-15,Northern Hemisphere,0.62713,0.5985,0.652
2022-03-15,Northern Hemisphere,0.64612,0.619,0.6705
2022-04-15,Northern Hemisphere,0.68839,0.6655,0.7115
2022-05-15,Northern Hemisphere,0.77581,0.755,0.7965
2022-05-15,Northern Hemisphere,0.77903,0.7585,0.8005
2022-06-15,Northern Hemisphere,0.88964,0.87,0.9125
1850-01-15,Southern Hemisphere,-0.52292,-0.599,-0.453
1850-02-15,Southern Hemisphere,-0.53527,-0.617,-0.456
1850-03-15,Southern Hemisphere,-0.68956,-0.7715,-0.613
Expand Down Expand Up @@ -6205,7 +6207,8 @@ date,location,monthly_sea_surface_temperature_anomaly,monthly_sea_surface_temper
2022-02-15,Southern Hemisphere,0.5717,0.544,0.5935
2022-03-15,Southern Hemisphere,0.61168,0.5825,0.633
2022-04-15,Southern Hemisphere,0.56513,0.5355,0.589
2022-05-15,Southern Hemisphere,0.52153,0.4905,0.544
2022-05-15,Southern Hemisphere,0.52425,0.4945,0.5485
2022-06-15,Southern Hemisphere,0.5294,0.5,0.552
1850-01-15,Tropics,-0.36914,-0.4715,-0.273
1850-02-15,Tropics,-0.40356,-0.5075,-0.309
1850-03-15,Tropics,-0.81389,-0.918,-0.7135
Expand Down Expand Up @@ -8274,4 +8277,5 @@ date,location,monthly_sea_surface_temperature_anomaly,monthly_sea_surface_temper
2022-02-15,Tropics,0.45951,0.426,0.4875
2022-03-15,Tropics,0.51783,0.486,0.544
2022-04-15,Tropics,0.48035,0.4485,0.507
2022-05-15,Tropics,0.41541,0.3815,0.4425
2022-05-15,Tropics,0.42458,0.391,0.454
2022-06-15,Tropics,0.4903,0.457,0.5185
Loading

0 comments on commit 5204407

Please sign in to comment.