Ignore:
Timestamp:
10/06/10 22:05:28 (10 years ago)
Author:
astephen
Message:

fixes to chain processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/process_modules/extract_uk_station_data.py

    r6948 r6976  
    4646 
    4747        ObsTableName = ci['ObsTableName']  
     48        StationsFileURL = ci['StationsFileURL'] 
    4849 
    4950        context.setStatus(STATUS.STARTED, 'Job is now running', 0) 
     
    5455        stations_file = "uk_stations.txt" 
    5556        sf_path = context.processDir + '/outputs/' + stations_file 
     57 
     58        # Download stations file and read it if possible 
     59        if StationsFileURL: 
     60            stationIDs = exuk_utils.downloadFileAndExtractStations(StationsFileURL) 
    5661 
    5762        # Get station IDs if not provided 
Note: See TracChangeset for help on using the changeset viewer.