tools to work with data from Global Historical Climate Network (GHCN)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
cmpv2.py
gaps.py
ghcnm_index.py
ghcnm_to_geojson
kml.py
nearest.py
popchart.py
scalpel.py
split_year.py
stationmap.py
stationplot.py
v2records.py

README.md

GHCN Tool

A collection of tools to work with data from Global Historical Climatology Network (GHCN).

Status

As of 2014-07 these have just been split from ClimateCodeFoundation/ccc-gistemp and dumped here. Consequently, many of the tools don't run without having various directories and modules from ccc-gistemp made available to them.

We intend to fix that situation, so that the tools here work standalone, or almost so.

Many of the tools only work with the (now obsolete) GHCN v2, we would like them to work with GHCN-M v3.

Tools that should work

popchart.py draws a (google) chart that shows number of rows of data in each year. It draws charts like this:

plot with bump between 1951 and 1980

split_year.py splits a GHCN-M dataset into those stations that still report in a particular year, and those that don't.

stationplot.py plots station records as an SVG file. This is a real workhorse of CCF investigations. It plots multiple stations from different sources on one chart, can plot anomalies or temperature at monthly or annual resolution, has scalable axes.