An in situ sample environment reaction cell for spatially resolved X-ray absorption spectroscopy studies of powders and small structured reactors.