Ignore:
Timestamp:
13/06/10 20:58:08 (10 years ago)
Author:
astephen
Message:

got bbox validation working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/process_modules/lib_extract_uk_station_data/utils.py

    r6976 r7002  
    6060 
    6161 
    62 def downloadFileAndExtractStations(url): 
     62def readFileAndExtractStations(url): 
    6363    """ 
    6464    Downloads file and extracts stations to a list. 
    6565    """ 
    66     f = urllib.urlopen(url) 
    67     data = f.read() 
    68     f.close() 
     66    #f = urllib.urlopen(url) 
     67    #data = f.read() 
     68    #f.close() 
    6969 
     70    local_path = generateLocalFilePath(url) 
    7071    station_ids = data.split()  
    7172    return station_ids 
Note: See TracChangeset for help on using the changeset viewer.