Changeset 129


Ignore:
Timestamp:
10/03/14 10:48:45 (6 years ago)
Author:
astephen
Message:

institution_id removed from reuired global attributes for SPECS

Location:
CCCC/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/config_c4.py

    r123 r129  
    120120               'realization':utils.patternControl( 'realization', "[0-9]+" ), \ 
    121121               'project_id':utils.listControl( 'project_id', ['SPECS'] ), \ 
    122                'institution':utils.listControl( 'institution', validSpecsInstitutions ), \ 
     122               ## 'institution':utils.listControl( 'institution', validSpecsInstitutions ), \ 
    123123               'modeling_realm':utils.listControl( 'realm', ['atmos', 'ocean', 'land', 'landIce', 'seaIce', 'aerosol', 'atmosChem', 'ocnBgchem'] ), \ 
    124124               'series':utils.listControl( 'series', ['series1','series2'] ), \ 
     
    170170    elif project == 'SPECS': 
    171171      lrdr = readVocab( 'specs_vocabs/') 
    172       self.requiredGlobalAttributes = [ 'institute_id', 'contact', 'product', 'creation_date', 'tracking_id', \ 
     172      self.requiredGlobalAttributes = [ 'contact', 'product', 'creation_date', 'tracking_id', \ 
    173173              'experiment_id', 'series'] 
    174174      self.requiredGlobalAttributes = lrdr.getSimpleList( 'globalAts.txt' ) 
    175175      self.exptFamilies = lrdr.getSimpleList( 'exptFamily.txt', bit=0 ) 
    176176      self.controlledGlobalAttributes = [ 'project_id','experiment_id', 'series','frequency','Conventions','modeling_realm', \ 
    177                        'initialization_method','physics_version','realization','institution'] 
     177                       'initialization_method','physics_version','realization'] 
    178178      self.globalAttributesInFn = [None,'@mip_id','model_id','experiment_id','series','@ensemble'] 
    179179## mip_id derived from global attribute Table_id (CMOR convention); experiment family derived from experiment_id, ensemble derived from rip attributes. 
  • CCCC/trunk/summary_by_error_code.py

    r87 r129  
    9191        print "CODE: %s (%d files)" % (k, len(files)) 
    9292    
    93         for f in files: print "\t%s" % f 
     93        if printFiles: 
     94          for f in files: print "\t%s" % f 
     95        elif printTwoFiles: 
     96          for f in files[:min(2,len(files))]:  
     97            print "\t%s" % f 
    9498 
    9599 
     
    97101if __name__ == "__main__": 
    98102 
     103    printFiles = False 
     104    printTwoFiles = True 
    99105    dr = sys.argv[1] 
    100106    generateSummaryByErrorCode(dr) 
Note: See TracChangeset for help on using the changeset viewer.