Generation of Glac 1D boundary conditions