def kH2CO3_SWS_MPL02(TempK, Sal):
    """Carbonic acid dissociation constants following MPL02."""
    TempC = TempK - 273.15
    pK1 = 6.359 - 0.00664 * Sal - 0.01322 * TempC + 4.989e-05 * TempC ** 2
    pK2 = 9.867 - 0.01314 * Sal - 0.01904 * TempC + 2.448e-05 * TempC ** 2
    K1 = 10.0 ** -pK1
    K2 = 10.0 ** -pK2
    return K1, K2
