Actually using the right weather code this time.
Removed unused weathercode variable.