Robin's Blog

Archive for the ‘Python’ Category

My first academic paper – on Py6S

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 – […]

Producing polar contour plots with matplotlib

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 […]

Please use sensible colours in your maps

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 […]

The new iPython is awesome!

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 […]

Using PyDev with with the Enthought Python Distribution

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 […]

My programming journey

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 […]