Various code to pre- and post-process runs for the ED2 model