Error check for weather data provider and removage of bash4 feature.