Working now!
Version before tidying (deleting some lines)
Code at end to compile data from thermal uplift and sea level pressure