Fixed loop in annual averages file