Adds OASIS terminate grids writing call