Added if statement to only add data for 6 hourly data points