The agreement , by consensus among some 190 nations , was nonetheless hailed as a crucial development in the world 's struggle to come to grips with global warming , which scientists say will lead to widespread drought , floods , higher sea levels and worsening storms .