Soliton basis states in shallow water ocean surface waves