Position refined grid from inputfile