Skip to content

Instantly share code, notes, and snippets.

View bdcheung's full-sized avatar

Brian Cheung bdcheung

View GitHub Profile
@bdcheung
bdcheung / hi8-fetch.py
Last active February 5, 2016 11:36 — forked from willwhitney/himawari.py
Fetch and untile tiled Himawari-8 images from the http://himawari8.nict.go.jp PNG endpoint, then set them as desktop background on OSX
import requests
import sys
from datetime import datetime, timedelta
import pytz
from PIL import Image
from StringIO import StringIO
import os
# python himawari.py
# stolen from https://gist.github.com/celoyd/39c53f824daef7d363db