co2birthdate / dataops

The Unlicense
1 stars 1 forks source link

About this data

download and parse and git checkin

This repository merges CO2 measurement datasets to provide a daily value going back to the year 1900.

While CO2 absorption and release is always happening as a result of natural processes, the recent rise in CO2 levels in the atmosphere is known to be mainly due to human (anthropogenic) activity.

(source: Wikipedia)

input data

This repository collects the latest daily atmospheric carbon dioxide (CO2) measurements from Mauna Loa Observatory, Hawaii made available by the Scripps CO2 Program. We use the daily values, which go back to 1958.

Run this command

wget https://scrippsco2.ucsd.edu/assets/data/atmospheric/stations/in_situ_co2/daily/daily_in_situ_co2_mlo.csv -o input_data/daily_in_situ_co2_mlo.csv

For pre-1958, we use a monthly dataset from the ETH-Zürich Institute for Atmospheric and Climate Science.

blended data

Units ppm stand for "parts per million". Read more about atmospheric CO2 here.

raw data links

Two CSV files containg atmospheric co2 ppm data

processing data

The data from the two datasets are blended together with the python3 script blend_data.py in this repository. In order to provide an "actual" daily value, missing dates are interpolated to a day-level resolution.

output data

The script writes to files to the output_data/ folder:

both contain CO2 data in parts per million (ppm) interpolated for every calendar date for possible birthdates until present

and the file

which contains the latest value with this form

{
  "date":"2014-12-15",
  "ppm":399.2
}