Time series · co2-monthly
Monthly atmospheric CO2
Monthly mean atmospheric carbon dioxide at Mauna Loa Observatory (1958 to present) and the global marine-surface average (1979 to present), with the seasonal-cycle-removed trend.
- Updates
- Monthly
- Coverage
- —
- Current version
- —
- Last published
- —
- Validation
- —
- License
- US Government work
- Commercial use
- Allowed
Chart
Use the API
Each series and location is its own small file. The examples follow the series and location picked above. See the docs for versions, caching and errors.
curl
# One series for one place (.json or .csv)
curl -s "https://api.climatedata.dev/v1/co2-monthly/average/noaa-mlo.json"
# Every series and place in one file
curl -sO "https://api.climatedata.dev/v1/co2-monthly/download/co2-monthly.csv" Python (polars)
import polars as pl
# One series for one place
df = pl.read_csv("https://api.climatedata.dev/v1/co2-monthly/average/noaa-mlo.csv")
# Every series and place, with series and location columns
everything = pl.read_parquet("https://api.climatedata.dev/v1/co2-monthly/download/co2-monthly.parquet") JavaScript
const res = await fetch("https://api.climatedata.dev/v1/co2-monthly/average/noaa-mlo.json");
if (!res.ok) throw new Error((await res.json()).detail); // errors are problem+json
const { meta, data } = await res.json();
console.log(meta.location_name, data.at(-1)); // { date, value, ... } Downloads
The whole dataset in one file, with series and location columns. Parquet keeps the column types and is much smaller.
- co2-monthly.csv CSV
- co2-monthly.parquet Parquet
Schema and series
Each series file has these columns. The bulk downloads add series and location columns in
front.
| Column | Type | Unit | Can be empty | Description |
|---|---|---|---|---|
| date | month (YYYY-MM) | — | no | — |
| value | number | ppm | no | — |
| uncertainty | number | ppm | yes | — |
| interpolated | true / false | — | yes | — |
Series
| Series id | Name |
|---|---|
| average | Monthly mean mole fraction |
| trend | Monthly mean with the average seasonal cycle removed |
Locations
Covers 2 places.
| Location id | Name |
|---|---|
| noaa-mlo | Mauna Loa Observatory, Hawaii |
| world | Global marine surface average |
Source and license
- Source
- NOAA Global Monitoring Laboratory, Trends in Atmospheric Carbon Dioxide
- Publisher
- NOAA GML
- License
- US Government work (public domain in the United States) (
LicenseRef-US-Government-Work) - Commercial use
- Allowed
Credit the source with this exact text:
Lan, X., Tans, P. and K.W. Thoning: Trends in globally-averaged CO2 determined from NOAA Global Monitoring Laboratory measurements. NOAA GML (https://gml.noaa.gov/ccgg/trends/). Mauna Loa data from March 1958 to April 1974 obtained by C. David Keeling, Scripps Institution of Oceanography.
Checked every 1 day. If the source hasn't changed in 45 days, the status page flags it as stale.
Endpoints
Every URL for this dataset. To pin the current version, put it after the id:
/v1/co2-monthly@<version>.
The API reference describes each response.
| What | URL |
|---|---|
| Metadata: version, coverage, downloads, validation | /v1/co2-monthly |
| Versions and monthly snapshots | /v1/co2-monthly/versions |
| Series and locations | /v1/co2-monthly/locations |
| Monthly mean mole fraction (JSON) | /v1/co2-monthly/average/{location}.json |
| Monthly mean mole fraction (CSV) | /v1/co2-monthly/average/{location}.csv |
| Monthly mean with the average seasonal cycle removed (JSON) | /v1/co2-monthly/trend/{location}.json |
| Monthly mean with the average seasonal cycle removed (CSV) | /v1/co2-monthly/trend/{location}.csv |
| Whole dataset (CSV) | /v1/co2-monthly/download/co2-monthly.csv |
| Whole dataset (Parquet) | /v1/co2-monthly/download/co2-monthly.parquet |