An electronic device for long-term snow wetness recording