SpaceMass / SpaceCamera

Class project
2 stars 4 forks source link

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 #27

Closed rgph92 closed 10 years ago

rgph92 commented 10 years ago

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][])
danielcsims commented 10 years ago

My comments aren't clear in the code, I'm sorry. data_from_xml holds the location data from the xml file.The following

long_list_3_orbits = []

lat_list_3_orbits = []

holds 3 orbits of data where n is the number of minutes in the future. Basicaly we need a clock that deletes the first element every minute and recalculates the last element.

rgph92 commented 10 years ago

Ok, got you...I think I can handle that...Ill be working on it after 4 PM when I finish working on senior deisgn

On Tue, Apr 1, 2014 at 1:34 PM, danielcsims notifications@github.comwrote:

My comments aren't clear in the code, I'm sorry. data_from_xml holds the location data from the xml file.The following

long_list_3_orbits = []

lat_list_3_orbits = []

holds 3 orbits of data where n is the number of minutes in the future. Basicaly we need a clock that deletes the first element every minute and recalculates the last element.

Reply to this email directly or view it on GitHubhttps://github.com/SpaceMass/SpaceCamera/pull/27#issuecomment-39234368 .

Richard Parraga Columbia University rgp2117@columbia.edu pm520@columbia.edu