Prediction and prevention of natural disasters