Update openweather.php

Optimization of Patch-1