Localization in one-dimensional incommensurate lattices beyond the Aubry-André model