v 5.1.3: write the grid in the parameter file