Another exciting update for this new year: my first academic journal paper has been published! It’s called Py6S: A Python interface to the 6S Radiative Transfer Model, and is published in Computers and Geosciences. If you’re reading this from a university with a subscription to Computers and Geosciences then you can read it at ScienceDirect – […]
Recently I was shocked to find that there didn’t seem to be a simple tool which would convert BibTeX files to COINS metadata span tags – so I wrote one! That sentence probably made no sense to you – so lets go through it in a bit more depth. I use LaTeX to write all […]
Sphinx is a great tool for documenting Python programs (and lots of other things – I recently saw a lecturer who had done all of his lecture notes using Sphinx!) and I’ve used it for my new project (which will be announced on this blog in the next few days). Now that the project is […]
In a project recently I was struggling to find a way to parse strings that contain a date range, for example: 27th-29th June 2010 Tuesday 29 May -> Sat 2 June 2012 From 27th to 29th March 1999 None of the Python modules I investigated (including parsedatetime) seemed to be able to cope with the […]
In my field I often need to plot polar contour plots, and generally plotting tools don’t make this easy. In fact, I think I could rate every single graphing/plotting package in the world by the ease of producing a polar contour plot – and most would fail entirely! Still, I have managed to find a […]
This problem is known by various names such as: Ctrl-Space doesn’t do anything in Eclipse! Why can’t I get auto-complete to work properly in Eclipse? I’ve just set up a new University computer and things don’t work like they do on my laptop (maybe that one’s just me…) It’s actually very simple to solve, but […]
If you are creating maps then for goodness sake Use sensible colours! I was helping some undergraduates with some work the other day, and they decided to use the following colour scheme for representing river depth: Deep water: Red Medium-depth water: Bright green Shallow water: Pink Why did they do this? Well, either they were […]
If you use Python you should use iPython. If you use iPython, particularly if you do work with matplotlib or with parallel programming, you should use the latest release. It. Is. Great. For those who don’t know, iPython is a replacement console for Python that offers many improvements over the standard console. For example, everything […]
I have recently discovered PyDev – a Python IDE which runs within Eclipse. Although I’d given up on big all-singing, all-dancing IDEs a few years ago I’m really liking it. The Ctrl-Space completion is very handy, as are the number of refactorings that are available from the menus. Anyway, I use the Enthought Python Distribution […]
When clearing out some of my old programming books the other day I realised how far I’d come with programming over the years, and the number of different technologies that I have used over time. I thought I’d do a little summary post going from first programming experience to now – and it’s amazing what’s […]