def METHOD_NAME(p2, p, t, q):
    """For a target pressure guess, p2, and origin p, t and q, return the
    difference between q and q_sat(t2, p2)"""
    t2 = dry_adiabatic_temperature(t, p, p2)
    return q - saturated_humidity(t2, p2)