How to foretell the weather with the pocket spectroscope