Robin's Blog

Archive for the ‘Remote Sensing’ Category

Py6S now has Continuous Integration & better tests

As a Fellow of the Software Sustainability Institute I’m always trying to make my software more sustainable – and one element of this is ensuring that my software works correctly. Although crashes might annoy users (which generally isn’t a good plan if you want your software to be well-used), a far worse problem is your […]

Configuring legends in ArcGIS – a (slightly) less horrible way to do it

I must say that I’m not a huge fan of much of the ArcGIS interface – and I particularly dislike the many levels of nested dialog that you have to use to change various options while creating printed maps. Some of the worst of these are the dialogs for inserting, styling and configuring legends – […]

Encouraging citation of software – introducing CITATION files

Summary: Put a plaintext file named CITATION in the root directory of your code, and put information in it about how to cite your software. Go on, do it now – it’ll only take two minutes! Software is very important in science – but good software takes time and effort that could be used to do […]

van Heuklon Ozone model implementation in Python

As part of my PhD I wanted to use a simple model which would give me an estimation of the atmospheric ozone amount given a location and time of year. A simple model to do this was created by van Heuklon in 1979, and was described in a delightfully simple paper (unfortunately not freely available […]

Review: Programming ArcGIS 10.1 with Python Cookbook

Summary: A useful guide to automating ArcGIS using Python, which is fully up-to-date with the latest version of ArcGIS. Definitely provides "quick answers to common problems", but it may take more effort to get a deep understanding of the methods used. Good breadth of coverage – but notably lacks raster examples – and well explained […]

Resources for Sustainable Software and Reproducible Research in Remote Sensing presentation

I recently did a presentation entitled Sustainable Software and Reproducible Research in Remote Sensing at the Wavelength 2013 conference. The slides are available at SpeakerDeck, and shown below. https://speakerdeck.com/robintw/software-sustainability-and-reproducible-research-in-remote-sensing The rest of this page is a rather rough categorised list of various links and resources that may be useful to you after seeing the presentation (either […]

Converting latitude/longitude co-ordinates to Landsat WRS-2 paths/rows

Updated 6th Jan 2020: This post has been updated to fix the code example and the link to the Landsat shapefile download. As part of some work I was doing for my PhD, I needed to automatically find what Landsat scene path and row would contain a pixel with a certain latitude/longitude co-ordinate (this was […]