def taf(data: TafData, units: Units) -> str:
try:<EOL><INDENT>month = data.start_time.dt.strftime(r'<STR_LIT>')<EOL>day = ordinal(data.start_time.dt.day)<EOL>ret = f"<STR_LIT>"<EOL><DEDENT>except AttributeError:<EOL><INDENT>ret = '<STR_LIT>'<EOL><DEDENT>return ret + '<STR_LIT>'.join([taf_line(line, units) for line in data.forecast])<EOL>
Convert TafData into a string for text-to-speech