def _init_groups(self, string):
taf_group_pattern = """<STR_LIT>"""<EOL>group_list = []<EOL>groups = re.findall(taf_group_pattern, string, re.VERBOSE)<EOL>if not groups:<EOL><INDENT>raise MalformedTAF("<STR_LIT>")<EOL><DEDENT>for group in groups:<EOL><INDENT>group_list.append(group)<EOL><DEDENT>return(group_list)<EOL>
Extracts weather groups (FM, PROB etc.) and populates group list

        Args:
            TAF report string

        Raises:
            MalformedTAF: Group decoding error