def get_type_data(name):
name = name.upper()<EOL>if name in CELESTIAL_COORDINATE_TYPES:<EOL><INDENT>domain = '<STR_LIT>'<EOL>coordinate_name = CELESTIAL_COORDINATE_TYPES[name]<EOL><DEDENT>elif name in GEOGRAPHIC_COORDINATE_TYPES:<EOL><INDENT>domain = '<STR_LIT>'<EOL>coordinate_name = GEOGRAPHIC_COORDINATE_TYPES[name]<EOL><DEDENT>else:<EOL><INDENT>raise NotFound('<STR_LIT>' + name)<EOL><DEDENT>return {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': name,<EOL>'<STR_LIT>': domain,<EOL>'<STR_LIT>': coordinate_name + '<STR_LIT>',<EOL>'<STR_LIT>': coordinate_name,<EOL>'<STR_LIT:description>': ('<STR_LIT>' + coordinate_name + '<STR_LIT>')<EOL>}<EOL>
Return dictionary representation of type.

    Can be used to initialize primordium.type.primitives.Type