add check to avoid uploading duplicate weather data.