Changeset 2894

Show
Ignore:
Timestamp:
01/22/12 08:28:10 (4 months ago)
Author:
paparazzia
Message:

fix vor leg3 positions (second round)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/moteur/posscripts/getpos_vor20120114bis.py

    r2892 r2894  
    3131updatexml = os.path.join(vlmtmp, basefilename+".update.xml") 
    3232 
    33 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/leg3/shared/event/static.hwz", statichwz) 
     33urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/shared/leg3/event/static.hwz", statichwz) 
    3434unzip_file_into_dest(statichwz, staticxml) 
    3535 
     
    4646 
    4747#page = urlopen("http://volvooceanrace.geovoile.com/2011/leg2/shared/event/update.xml") 
    48 urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/leg3/shared/event/update.hwz", updatehwz) 
     48urllib.urlretrieve("http://volvooceanrace.geovoile.com/2011/shared/leg3/event/update.hwz", updatehwz) 
    4949unzip_file_into_dest(updatehwz, updatexml) 
    5050 
     
    6565for outline in tree.findall(".//track"): 
    6666  l = outline.text.split(';') 
    67   lat, lon, t = 0, 0, startime 
     67  lat, lon, t = 0, 0, starttime 
    6868  rid = int(outline.attrib['id']) 
    6969  id = -1200-rid