Berkeley Earth Global Temperature Data

Berkeley Earth publishes an unique dataset with global temperature measurements. Below is a guide to the download the data and start analyzing it using Python. All code can be found in this gist.

Berkeley Earth air temperature measurements above sea ice

Download .txt file from Berkeley Earth data website section “Land + Ocean (1850 — Recent)” and read it using the following Python command:

colspecs = [(2, 6), (10, 12), (14, 22), (24, 29)]
df = pd.read_fwf(
"{folder}/Land_and_Ocean_complete.txt",
colspecs=colspecs,
header=85
)
df.columns = ["year", "month", "anomaly_C", "confidence_95_C"]

colspecs defines the column indexes so (2, 6) represents year in the source text file.

Source file read using Pandas

The data documentation explains that “anomaly_C” is the recorded temperature anomaly in Celsius relative to estimated Jan 1951-Dec 1980 global mean temperature of 14.108 +/- 0.02. The chart below shows the absolute air temperatures along with 95% uncertainty intervals (in green) recorded during the 2000s.

Berkeley Earth air temperature measurements above sea ice in 2000s

This article was originally published on my personal website adamnovotny.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store