Get more detailed messages for maths errors in IDL
I’ve just discovered something that I feel I must share here – partly to make more people aware of it, and partly so I don’t forget it. In the IDL programming language you will sometimes find your...
View ArticlePlease 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...
View ArticleHow to: Solve the ‘Ctrl-Space (auto-complete) not working’ problem in Eclipse
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...
View ArticleBeware: Latitude/Longitude co-ordinates in ENVI may not be in WGS-84
Summary:Â When you use the Pixel Locator or Cursor Location/Value tool in ENVI, the latitude and longitude co-ordinates given are based on the datum that the image is in, not necessarily WGS-84. This...
View ArticleEncouraging 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...
View ArticlePreviously Unpublicised Code: RTWIDL
When looking through my profile on Github recently, I realised that I had over fifty repositories – and a number of these weren’t really used much by me anymore, but probably contained useful code that...
View ArticleMy MSc project: a simple ray-tracing radiative transfer model (with code!)
My PhD was done through a Doctoral Training Centre, and as part of this I had a taught year at the beginning of my PhD. During the summer of this year I had to do a ‘Summer Project’, which was...
View ArticleShowing code changes when teaching
A key – but challenging – part of learning to program is moving from writing technically-correct code “that works†to writing high-quality code that is sensibly decomposed into functions,...
View Article