If the temporal_data doesn't have a column named "time", using slope fails.
If the temporal_data doesn't have a column named "time", using slope fails.