made grid id the index in the dataframe
grid id stuff