Ignore:
Timestamp:
01/04/16 08:03:06 (4 years ago)
Author:
mjuckes
Message:

partial updates for AerChemMIP, SIMIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/workbook/ivg.py

    r615 r623  
    2222    self.sgset = set() 
    2323    self.dset001 = set() 
     24    self.vdict = {} 
    2425    self.sgsetExpected = {'Amon_2d', 'Omon_3d', 'Omon_oth', 'Oyr_3dtr', 'aero_3d', 'aero_oth', 'cf3hr_grid', 'cf3hr_sim', 'cfDay_2d', 'cfDay_3d', 'cfMon_2dmod', 'cfMon_3dmod', 'cfMon_3dstd', 'cfMon_sim', 'day_oth', 'day_ss'} 
    2526 
     
    3637    return ok 
    3738     
    38   def getSubGroup(self,dims,tab0,var,ixs,ttl): 
     39  def getSubGroup(self,dims,tab0,var,ixs,ttl,uid, priority): 
    3940    '''Used to identify subgroups of variables in CMIP5 tables and revised versions of these tables''' 
    4041    self.subGroup = None 
     
    4849    ix = int( ixs ) 
    4950    
     51## 
     52## this is probably unreliable .... also not used ..... (March 2016) 
     53## 
    5054    if tab == 'Oyr' and ix < 60: 
    5155          sg = 'Oyr_3dtr' 
     
    9599      self.subGroup = sg 
    96100      self.sgset.add(sg) 
     101      self.vdict[uid] = (var,ttl,'CMIP6',tab,sg, priority) 
    97102      return True 
    98103    else: 
Note: See TracChangeset for help on using the changeset viewer.