beginning of a general script to load contour output and facilitate plotting with matplotlib