Skip to content

Instantly share code, notes, and snippets.

View pelson's full-sized avatar

Phil Elson pelson

View GitHub Profile
@pelson
pelson / example.ipynb
Last active February 21, 2024 16:05
Example of authenticating a GitHub app using jwt in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / Handling ORCA data in Iris.ipynb
Created August 13, 2013 08:40
A very rough example of working with ORCA data in iris and cartopy.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / shapely.ipynb
Created March 26, 2014 15:10
Demonstration of the new shapely.vectorized functionality
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import requests
import zlib
import struct
import json
import html5lib
import re
import pprint
_gzip_header = b"\x1f\x8b\x08\x00\x00\x00\x00\x00\x02\xff"
@pelson
pelson / ORCA data.ipynb
Created January 26, 2016 16:58
An example of plotting ORCA 0.25 data with cartopy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / us_coastal_states.ipynb
Last active July 6, 2021 12:42
Creating a shapefile representing the coastline segments of the US states.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / sorted.ipynb
Last active April 14, 2021 15:39
Sorting an Iris cube by coordinate.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / Procfile
Last active November 2, 2020 17:23
Example of cartopy source in mapproxy
web: env/bin/mapproxy-util serve-develop mapproxy.yaml --bind 0.0.0.0:${PORT:=8080}
@pelson
pelson / keybase.md
Created October 17, 2020 04:04
keybase.md

Keybase proof

I hereby claim:

  • I am pelson on github.
  • I am philelson (https://keybase.io/philelson) on keybase.
  • I have a public key ASC5YEUGODXl7DLY4FaYCBM0NGBZ82yPONB7e8QTLqNm1go

To claim this, I am signing this object: