Updated weather events code.