No description, website, or topics provided.
Python Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
2015_station_data_with_elevation.csv
Makefile
README.md
add_elevation.py
main.py
requirements.txt

README.md

pronto-elevation

This repository contains code to calculate the total elevation gain and loss across all 2015 Pronto trips, using data released through the Pronto Data Challenge.

Results

  • Total elevation gain: 1,056,168 meters

    (240,018 kcals converted to potential energy, assuming a 177.9lb person and a 36lb bicycle)

  • Total elevation loss: 2,686,392 meters

    (equivalent to ~13.4 hours in freefall at 200km/h)

  • Net elevation loss: 1,630,224 meters

Conclusion: Pronto users seem to prefer to go downhill.

Usage:

$ make
$ python main.py

Or, if you want to reproduce my elevation data, get a Google Maps API key and:

$ pip install -r requirements.txt
$ rm 2015_station_data_with_elevation.csv
$ echo "googlemaps_api_key = '<api key>'" > config.py
$ make
$ python main.py