def low_temp(day, curr_day, box_width):
     temp = utils.eat_keys(day, ('low', 'fahrenheit'))
     base = utils.eat_keys(curr_day, ('low', 'fahrenheit'))
     return "{}{:^{wid}}{}".format(cf.bar_temp_color(temp, base, COLOR),
                                   "{} {}".format(temp, "F"),
                                   COLOR.clear,
                                   wid=box_width)
 def wind_speed_dir(day, curr_day, box_width):
     speed = utils.eat_keys(day, ('maxwind', 'mph'))
     direction = utils.eat_keys(day, ('maxwind', 'dir'))
     curr_speed = utils.eat_keys(curr_day, ('maxwind', 'mph'))
     if direction is not None:
         return "{}{:^{wid}}{}".format(cf.bar_temp_color(speed,
                                                         curr_speed,
                                                         COLOR),
                                       "{} {}".format(speed, direction),
                                       COLOR.clear,
                                       wid=box_width)
     else:
         return "{}{:^{wid}}{}".format(cf.bar_temp_color(speed,
                                                         curr_speed,
                                                         COLOR),
                                       speed,
                                       COLOR.clear,
                                       wid=box_width)