have been replaced with glass plates designed to be read with light-emitting diodes and computer circuitry, greatly improving accuracy up to arc-second (≈ 0.005 mrad) levels. Use with weather balloons There is a long history of theodolite use in measuring winds aloft, by using specially-manufactured theodolites to track the horizontal and vertical angles of special weather balloons called ceiling balloons or pilot balloons (pibal). Early attempts at this were made in the opening years of the nineteenth century, but the instruments and procedures weren't fully developed until a hundred years later. This method was extensively used in World War II and thereafter, and was gradually replaced by radio and GPS measuring systems from the 1980s onward. The pibal theodolite uses a prism to bend the optical path by 90 degrees so the operator's eye position does not change as the elevation is changed through a complete 180 degrees. The theodolite is typically mounted on a rugged steel stand, set up so it is level and pointed north, with the altitude and azimuth scales reading zero degrees. A balloon is released in front of the theodolite, and its position is precisely tracked, usually once a minute. The balloons are carefully constructed and filled, so their rate of ascent can be known fairly accurately in advance. Mathematical calculations on time, rate of ascent, azimuth and angular altitude can produce good estimates of wind speed and direction at various altitudes. Modern electronic theodolites In modern electronic theodolites, the readout of the horizontal and vertical circles is usually done with a rotary encoder. These produce signals indicating the altitude and azimuth of the telescope which are fed to a microprocessor. CCD sensors have been added to the focal plane of the telescope allowing both auto-targeting and the automated measurement of residual target offset. All this is implemented in embedded software of the processor. Many modern theodolites are equipped with integrated electro-optical distance measuring devices, generally infrared based, allowing the measurement in one step of complete three-dimensional vectors—albeit in instrument-defined polar coordinates, which can then be transformed to a preexisting coordinate system in the area by means of a sufficient number of control points. This technique is called a resection solution or free station position surveying and is widely used in mapping surveying. Such instruments are "intelligent" theodolites called self-registering tacheometers or colloquially "total stations", and perform all the necessary angular and distance calculations, and