updated weather score calculation logic for precipitation