cf-units get (La)TeX unit repr... and a UDUNITS-2 parser to boot

2019

February

15

I recently worked on a feature to allow cf-units to produce a TeX representation of a unit so that it can be quickly copy-and-pasted into a LaTeX document, or simply visualised nicely with matplotlib's LaTeX writer. It turns out that "doing it right" was quite involved, and has ultimately led …

Read on...

Investigating containment testing on LFRic's cubedsphere

2018

May

29

UGRID and LFRic: Polygon mesh intersections¶I'm aiming to investigate whether it is possible to use the existing python tools to compute intersections of cells definied on the Met Office's LFRic cubesphere. A (possibly out of date but still enlightening) presentation about the LFRic datamodel can also be found here …

Read on...

Analysing walks on the South West Coast Path

2018

May

26

I'm fortunate to live near to one of the best continuous coastal walking/hiking routes in the world. The UK's South West Coast Path is a scenic, cultural and culinary delight spanning 630 miles from Minehead to Poole. It is steeped with history, and apparently was originally created by the …

Read on...

Creating a continuous integration service to check CLAs on GitHub

2017

August

13

Contributor license agreements are a thing. As much as I dislike the bureaucracy of them, they do provide some additional cover to the owners of an open source project, and some companies insist on having them. I find myself in such a situation in the SciTools organisation, for which I …

Read on...

Playing with Randall Munroe's XKCD handwriting

2017

March

16

The XKCD font (as used by matplotlib et al.) recently got an update to include lower-case characters. For some time now I have been aware of a handwriting sample produced by Randall Munroe (XKCD's creator) that I was interested in exploring. The ultimate aim is to automatically produce a font-file …

Read on...

Mounting a FUSE filesystem in Heroku

2017

February

6

This evening I'm going to take a different approach to how I would normally blog. Rather than reporting the results of a technical investigation or highlighting a new/shiny package, I wanted to paint a realistic picture of the technical exploration process. As it happens, this particular investigation consumed a …

Read on...