Some php code to parse data from the new met office public data API this code is 3 hourly reports from Porthleven https://ginandtronic.com/Swellcloud/parse.php