def convert_mg_l_to_mymol_kg(o2, rho_0=1025):
    """Convert oxygen concentrations in ml/l to mymol/kg."""
    converted = o2 * 1/32000 * rho_0/1000 * 1e6
    converted.attrs["units"] = "$\mu mol/kg$"
    return converted