A comprehensive study of atomic emissions in the nightglow