What the difference between the current condition icon and

What the difference between the current condition icon and the text description (raining, stopped raining, haze, etc.) in the clientraw.txt file? Is one of these set by the metar and one by the weather station itself?

they should tie in with each other
although there is no icon for stopped raining