the barometer was applied to determine altitudes