Changeset 299 for CCCC


Ignore:
Timestamp:
27/02/15 15:22:13 (5 years ago)
Author:
mjuckes
Message:

added SPECS drsMappings file

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

Legend:

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

    r298 r299  
    209209      self.requiredGlobalAttributes = lrdr.driver( ('simpleList', 'globalAts.txt' ) ) 
    210210      self.exptFamilies = lrdr.driver( ('simpleList', 'exptFamily.txt', 0 ) ) 
     211      self.validInstitutions = lrdr.driver( ('simpleList', 'validInstitutions_sv0101.txt' ) ) 
     212      self.realm = lrdr.driver( ('simpleList', 'realm_sv0101.txt' ) ) 
    211213      self.controlledGlobalAttributes = lrdr.driver( ('simpleList', 'controlledGlobalAttributes_sv0101.txt' ) ) 
    212214                       ##'initialization_method','physics_version','realization'] 
    213       self.globalAttributesInFn = lrdr.driver( ('simpleList', 'globalAttributesInFn_sv0101.txt',0,0,'noneMap' ) ) 
     215      self.globalAttributesInFn = lrdr.driver( ('simpleList', 'globalAttributesInFn_sv0101.txt',None,None,'noneMap' ) ) 
    214216      self.requiredVarAttributes = ['long_name', 'standard_name', 'units'] 
    215       oo, self.drsMappings = lrdr.driver( ('simpleList', 'drsMappings_sv0101.txt',0,0,'returnMappings' ) ) 
     217      oo, self.drsMappings = lrdr.driver( ('simpleList', 'drsMappings_sv0101.txt',0,None,'returnMappings' ) ) 
    216218 
    217219      ##self.drsMappings = {'variable':'@var', 'institute':'institute_id', 'product':'product', 'experiment':'experiment_id', \ 
     
    400402               'project_id':utils.listControl( 'project_id', ['SPECS', 'NMME-SPECS'] ), \ 
    401403               ## 'institution':utils.listControl( 'institution', validSpecsInstitutions ), \ 
    402                'modeling_realm':utils.listControl( 'realm', ['atmos', 'ocean', 'land', 'landIce', 'seaIce', 'aerosol', 'atmosChem', 'ocnBgchem'], split=True ), \ 
     404               'modeling_realm':utils.listControl( 'realm', self.realm, split=True ), \ 
    403405             } 
    404406    elif self.projectV.id == 'CMIP5': 
Note: See TracChangeset for help on using the changeset viewer.