Code for processing and plotting the output from the ED2 model