def calc_wv_mixing_ratio(sounding, vapor_pressure):
    """
    Calculate water vapor mixing ratio
    """
    wv_mix_ratio = 1000.0 * (0.622 * vapor_pressure / (100.0 * sounding.
        pressure - vapor_pressure))
    return wv_mix_ratio
