Function which is used to have a dataframe (called "grid") with data (individualindex, timeindex, XT and LF) available.
Useful links