Add a few weather calculation functions