fixes_by_sdss_objid = {
    # WRONG REDSHIFT IN THE NSA, but good in SDSS
    1237668367995568266: {"SPEC_Z": 0.21068, "TELNAME": "SDSS", "MASKNAME": "SDSS"},
    # DON"T BELIEVE THIS NED REDSHIFT, RESET TO -1
    1237667966962434538: {"SPEC_Z": -1, "ZQUALITY": -1},
    # A SATELLITE WITH A BAD PETRORAD_R
    1237651735757259099: {"PETRORAD_R": 2.97},
    # WRONG REDSHIFT IN NSA, BUT GOOD IN SDSS
    1237678881574551723: {"SPEC_Z": 1.093277, "TELNAME": "SDSS", "MASKNAME": "SDSS"},
    # NSA BELIEVES THE SDSS REDSHIFT, WHICH IS TOO LOW-SN
    1237661356465979704: {"ZQUALITY": -1},
    # ODYSSET SATELLITE SHRED, BUT IS GOOD
    1237662662147638034: {"REMOVE": -1},
    # BRIGHT TARGETS FROM PALOMAR
    1237662698115367389: {
        "SPEC_Z": 0.0907,
        "ZQUALITY": 4,
        "TELNAME": "MMT",
        "MASKNAME": "PAL",
    },
    1237679996084486446: {
        "SPEC_Z": 0.0524,
        "ZQUALITY": 4,
        "TELNAME": "MMT",
        "MASKNAME": "PAL",
    },
    # RISA GALAXY
    1237666408439939196: {
        "RA": 354.28276,
        "DEC": 0.211263,
        "r": 17.8,
        "g": 18.5,
        "i": 17.5,
    },
}

fixes_to_nsa_v012 = {
    69840: {"RA": 255.038042622208, "DEC": 22.9030230453907},
}

fixes_to_nsa_v101 = {
    257573: {"PETRO_TH90": 120.0},
    632316: {"PETRO_TH90": 120.0},
}

fixes_by_sdss_objid = {
    # WRONG REDSHIFT IN THE NSA, but good in SDSS
    1237668367995568266: {"SPEC_Z": 0.21068, "TELNAME": "SDSS", "MASKNAME": "SDSS"},
    # DON"T BELIEVE THIS NED REDSHIFT, RESET TO -1
    1237667966962434538: {"SPEC_Z": -1, "ZQUALITY": -1},
    # A SATELLITE WITH A BAD PETRORAD_R
    1237651735757259099: {"PETRORAD_R": 2.97},
    # WRONG REDSHIFT IN NSA, BUT GOOD IN SDSS
    1237678881574551723: {"SPEC_Z": 1.093277, "TELNAME": "SDSS", "MASKNAME": "SDSS"},
    # NSA BELIEVES THE SDSS REDSHIFT, WHICH IS TOO LOW-SN
    1237661356465979704: {"ZQUALITY": -1},
    # ODYSSET SATELLITE SHRED, BUT IS GOOD
    1237662662147638034: {"REMOVE": -1},
    # BRIGHT TARGETS FROM PALOMAR
    1237662698115367389: {
        "SPEC_Z": 0.0907,
        "ZQUALITY": 4,
        "TELNAME": "MMT",
        "MASKNAME": "PAL",
    },
    1237679996084486446: {
        "SPEC_Z": 0.0524,
        "ZQUALITY": 4,
        "TELNAME": "MMT",
        "MASKNAME": "PAL",
    },
    # RISA GALAXY
    1237666408439939196: {
        "RA": 354.28276,
        "DEC": 0.211263,
        "r": 17.8,
        "g": 18.5,
        "i": 17.5,
    },
}

fixes_to_nsa_v012 = {
    69840: {"RA": 255.038042622208, "DEC": 22.9030230453907},
}

fixes_to_nsa_v101 = {
    257573: {"PETRO_TH90": 120.0},
    632316: {"PETRO_TH90": 120.0},
    39145: {"PETRO_TH90": 21.5},
    645571: {"PETRO_TH90": 22.5},
}

fix some NSA radii