Skip to content

Instantly share code, notes, and snippets.

🐌
I'll be slow to respond - I operate a notification pull (not push) policy

Phil Elson pelson

🐌
I'll be slow to respond - I operate a notification pull (not push) policy
Block or report user

Report or block pelson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pelson
pelson / index.ipynb
Created Apr 17, 2019
(old) Iris based interpolators, including spline and triangulation
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / index.ipynb
Last active Apr 17, 2019
(old) Playing with Shapely and the 2012 Olympic torch track
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / index.ipynb
Created Apr 17, 2019
(old) Demo of automatic front and feature identification
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / gfort.sh
Last active Mar 15, 2019
Demonstration of Intel Fortran compiler issue
View gfort.sh
gfortran -g main.f90 -fbacktrace -O0 && ./a.out
@pelson
pelson / .gitignore
Last active Feb 27, 2019
A quick proof-of-concept to wrap a C++ object in a Fortran 2003 object, and honouring the C++ object lifecycle
View .gitignore
bin/
*.o
*.mod
.nfs*
@pelson
pelson / index.ipynb
Created Jan 20, 2019
CPython grammar and negative numbers - they only appear after an AST optimisation
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / index.ipynb
Last active Jan 5, 2019
First pass at documenting the cartopy project_segment algorithm
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pelson
pelson / index.ipynb
Last active Aug 31, 2018
A notebook to answer a StackOverflow question (https://stackoverflow.com/questions/51801109) relating to animating the rotation of a projecton using cartopy
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View animate_along_great_circle.py
import cartopy.crs as ccrs
import matplotlib.animation as animation
import matplotlib.pyplot as plt
ax = plt.axes(projection=ccrs.Robinson())
ax.stock_img()
ny_lon, ny_lat = -75, 43
delhi_lon, delhi_lat = 77.23, 28.61
@pelson
pelson / contour.geojson
Created Jul 4, 2018
Example of a GeoJSON produced with cartopy and matplotlib
View contour.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.