Changeset 6126 for cows_wps


Ignore:
Timestamp:
14/12/09 23:33:07 (10 years ago)
Author:
astephen
Message:

adnother

File:
1 edited

Legend:

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

    r6124 r6126  
    9090        process_tmp_dir = context.processDir + '/tmp' 
    9191 
    92         midasSubsetter.MIDASSubsetter([ObsTableName], df_path, startTime=StartDateTime,  
    93                        endTime=EndDateTime, src_ids=StationIDs, tempDir=process_tmp_dir) 
    94  
     92        startTime12Chars = StartDateTime[:-2] 
     93        endTime12Chars = EndDateTime[:-2] 
     94  
     95        midasSubsetter.MIDASSubsetter([ObsTableName], df_path, startTime=startTime12Chars,  
     96                       endTime=endTime12Chars, src_ids=StationIDs,  
     97                       tempDir=process_tmp_dir) 
     98         
    9599        self._addFileToFileSet(df_path, "Station data file.", FLAG.DATA) 
    96100 
Note: See TracChangeset for help on using the changeset viewer.