Changeset 869


Ignore:
Timestamp:
15/11/16 17:50:07 (2 years ago)
Author:
mjuckes
Message:

added option to specify files in a text file, one file name per line

Location:
CCCC/trunk/ceda_cc
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/ceda_cc/ccinit.py

    r456 r869  
    117117      elif next == '--blfms': 
    118118        self.policyBatchLogfileMs = False 
     119      elif next == '-fl': 
     120        flf = args.pop(0) 
     121        flist = [] 
     122        for l in open( flf ).readlines(): 
     123          flist.append( l.strip() ) 
     124        self.source = flf   
    119125      elif next == '-d': 
    120126        fdir = args.pop(0) 
  • CCCC/trunk/ceda_cc/config_c4.py

    r350 r869  
    435435               'Conventions':utils.listControl( 'Conventions', ['CF-1.4','CF-1.5'] ), \ 
    436436               'experiment_id':utils.listControl( 'experiment_id', lrdr.getSimpleList( 'experiments.txt' ) ), \ 
     437               'institute_id':utils.listControl( 'institute_id', lrdr.getSimpleList( 'institutes.txt' ) ), \ 
     438               'model_id':utils.listControl( 'model_id', lrdr.getSimpleList( 'models.txt' ) ), \ 
    437439               'frequency':utils.listControl( 'frequency', validCmip5Frequencies ), \ 
    438440               'initialization_method':utils.patternControl( 'initialization_method', "[0-9]+" ), \ 
Note: See TracChangeset for help on using the changeset viewer.