This paper talks about sustainability of scientific software projects in the Earth Sciences - it’s an interesting read and also useful to cite if you’re ever writing about the need to maintain software, not just race towards a paper/end of grant then forget about it. There’s a set of recommendations at the end for individuals and for organisations.