def METHOD_NAME(cls, structure: Structure) -> "SymmetryData":
    symprec = SETTINGS.SYMPREC
    sg = SpacegroupAnalyzer(structure, symprec=symprec)
    symmetry: Dict[str, Any] = {"symprec": symprec}
    if not sg.get_symmetry_dataset():
        sg = SpacegroupAnalyzer(structure, 1e-3, 1)
        symmetry["symprec"] = 1e-3
    symmetry.update(
        {
            "source": "spglib",
            "symbol": sg.get_space_group_symbol(),
            "number": sg.get_space_group_number(),
            "point_group": sg.get_point_group_symbol(),
            "crystal_system": CrystalSystem(sg.get_crystal_system().title()),
            "hall": sg.get_hall(),
            "version": spglib.__version__,
        }
    )
    return SymmetryData(**symmetry)