This is to remove the new point once it's passed...I don't know if I understand Python correctly and am currently trying to fix this because I think there's a better way to do it

for elem in data_from_xml[1][]:

     if timenow > data_from_xml[1][]:

          text_locationname.remove(data_from_xml[0][])
          text_passingtime.remove(data_from_xml[1][])
          text_longlat.remove(data_from_xml[5][])
          text_weather.remove(data_from_xml[3][])
          text_lenstype.remove(data_from_xml[2][])
          text_nadir.remove(data_from_xml[4][])