Refactor to reuse the yahoo weather codes.