Get prepare.py working and up to scratch.

It now includes all the data prep stages: snow/temp/discharge.
Reasonably well commented/coded.