Proceedings of the Royal Irish Academy: Diffraction by irregular gratings