Approximate code for weather system

Needs implementing, may need tweaking.