A local mode description of anharmonic vibrational excitations in linear molecules