Skip to content

Instantly share code, notes, and snippets.

View pelson's full-sized avatar

Phil Elson pelson

View GitHub Profile
@pelson
pelson / cubed_sphere.ipynb
Created July 1, 2014 14:47
Answers a question on drawing an illustration of the cubed sphere grid on a map using cartopy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / gist:7b461a798e454533d4ef
Created May 12, 2014 16:22
Rotated pole gridlines with cartopy
{
"metadata": {
"name": "",
"signature": "sha256:68ec433e15c491232c633014253cd49f3bd9705993a10360f5eea660dc3bbff9"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@pelson
pelson / wmts.ipynb
Created May 8, 2014 12:42
Demonstration of the new cartopy WMTS support
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 / Active volcanoes.ipynb
Last active August 29, 2015 13:59
Active volcanes.ipynb
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.
@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.
@pelson
pelson / OpenLayers.js
Last active September 18, 2015 12:19
Demonstration of constructing web map tile files. This is a useful step for static map tiles, though a further example using tornado to generate the tiles on the fly will follow - see pelson.github.io for.
/*
OpenLayers.js -- OpenLayers Map Viewer Library
Copyright (c) 2006-2013 by OpenLayers Contributors
Published under the 2-clause BSD license.
See http://openlayers.org/dev/license.txt for the full text of the license, and http://openlayers.org/dev/authors.txt for full list of contributors.
Includes compressed code under the following licenses:
@pelson
pelson / Biggus_intro.ipynb
Last active August 29, 2015 13:56
Presentation for PyData London 2014 on Biggus.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / cartopy_map_tiles.ipynb
Last active August 29, 2015 13:56
Example of adding a map tiles layer to a Cartopy map.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.