output errors to csv file
turns out I have to manually include spgrid's capabilities header...