airport model code giving error when ran with a different data set

airport model code giving error when ran with a different data set