def _write_families(fm_group, tags):
for set_id, name in tags.items():<EOL><INDENT>family = fm_group.create_group(_family_name(set_id, name))<EOL>family.attrs.create("<STR_LIT>", set_id)<EOL>group = family.create_group("<STR_LIT>")<EOL>group.attrs.create("<STR_LIT>", len(name))  <EOL>dataset = group.create_dataset("<STR_LIT>", (len(name),), dtype="<STR_LIT>")<EOL>for i in range(len(name)):<EOL><INDENT>name_80 = name[i] + "<STR_LIT:\x00>" * (<NUM_LIT> - len(name[i]))  <EOL>dataset[i] = [ord(x) for x in name_80]<EOL><DEDENT><DEDENT>
Write point/cell tag information under FAS/[mesh_name]