Spectroscopy of stars in ground-based ultraviolet. II: Atmospheres