This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.6-slim-stretch | |
| ADD requirements.txt /tmp/requirements.txt | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| make \ | |
| gcc \ | |
| locales \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' | |
| green='\033[0;32m' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env python | |
| """ | |
| Zonal Statistics | |
| Vector-Raster Analysis | |
| Copyright 2013 Matthew Perry | |
| Usage: | |
| zonal_stats.py VECTOR RASTER TAG | |
| zonal_stats.py -h | --help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env python | |
| import csv | |
| import re | |
| from urllib2 import urlopen | |
| from BeautifulSoup import BeautifulStoneSoup | |
| WEATHERBUG_API_KEY = 'A6464697672' | |
| WEATHERBUG_SEARCH_URL = 'http://api.wxbug.net/getStationsXML.aspx?ACode=' + WEATHERBUG_API_KEY + '&zipCode=60601&unittype=0' |