Extended reciprocal space observation of artificial spin ice with x-ray resonant magnetic scattering