Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
Average cumulative mass balance of "reference" Glaciers worldwide from 1945-2014 sourced from [US EPA][datahome] and the [World Glacier Monitoring Service (WGMS)][wgms].
This is cumulative change in mass balance of a set of "reference" glaciers worldwide beginning in 1945. The values represents the average of all the glaciers that were measured. Negative values indicate a net loss of ice and snow compared with the base year of 1945. For consistency, measurements are in meters of water equivalent, which represent changes in the average thickness of a glacier.

[datahome]: http://www3.epa.gov/climatechange/science/indicators/snow-ice/glaciers.html
[wgms]: http://wgms.ch/data_databaseversions/
This is cumulative change in mass balance of a set of "reference" glaciers worldwide beginning in 1945. The values represent the average of all the glaciers that were measured. Negative values indicate a net loss of ice and snow compared with the base year of 1945. For consistency, measurements are in meters of water equivalent, which represent changes in the average thickness of a glacier.

See also: [Glacier mass balance](https://en.wikipedia.org/wiki/Glacier_mass_balance) (Wikipedia)

## Data

[datahome]: http://www3.epa.gov/climatechange/science/indicators/snow-ice/glaciers.html
[wgms]: http://wgms.ch/data_databaseversions/

### Sources

1.
Expand Down
4 changes: 2 additions & 2 deletions data/glaciers.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Year,Mean cumulative mass balance,Number of observations
1945,0,
1945,0,1
1946,-1.13,1
1947,-3.19,1
1948,-3.19,1
Expand Down Expand Up @@ -68,4 +68,4 @@ Year,Mean cumulative mass balance,Number of observations
2011,-26.294,37
2012,-26.93,36
2013,-27.817,31
2014,-28.652,24
2014,-28.652,24
1 change: 1 addition & 0 deletions scripts/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def execute():
records =records[7:]
for r in records:
r[2] = r[2].strip()
if r[2] is '': r[2] = '1'
writer = csv.writer(open(data, 'w'), lineterminator='\n')
writer.writerow(header)
writer.writerows(records)
Expand Down