Scotland was battered by wind and snow on a day of disruption caused by Storm Barra. Met Office warnings of extreme conditions covering most of the country were in place until midnight.