They are used for measuring altitude, or height above the ground, such as the height of a mountain, and they were often used to measure altitude aboard a hot air balloon. Barometers are also used in modern aviation. Miners sometimes use them to determine the depth of a mine. The most used purpose of the barometer was measuring air pressure. This helps meteorologists in predicting weather.