generate netcdf grid for bout