def int_dp_g(arr, dp):
    """Mass weighted integral."""
    return integrate(arr, to_pascal(dp, is_dp=True),
                     vert_coord_name(dp)) / GRAV_EARTH
def int_dp_g ( arr , dp ) : return integrate ( arr , to_pascal ( dp , is_dp = True ) , vert_coord_name ( dp ) ) / GRAV_EARTH
Mass weighted integral.