Error-catching so weather functions don't break.