Built as the first purpose-designed Antarctic research ship, RRS Discovery is again helping push the frontiers of science – this time from a drydock in Dundee. John Monasta, associate director of maritime engineering consultancy Beckett Rankine, tells John Bensalhia about the restoration of a ship that once carried Scott and Shackleton