Ignore:
Timestamp:
15/02/17 12:02:45 (3 years ago)
Author:
mjuckes
Message:

updates

File:
1 edited

Legend:

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

    r924 r947  
    8282    elif tab == 'day': 
    8383          if ix < 28: 
     84              sg = 'day_oth' 
     85          else: 
    8486              sg = 'day_ss' 
    85           else: 
    86               sg = 'day_oth' 
    8787    if sg != None: 
    8888      self.subGroup = sg 
     
    144144           dd[t] = sh[k] 
    145145        cc[flg][t] = sh[k][7:-1] + [sh[k][0],] 
     146        self.uidByLab[sh[k][8]] = sh[k][7] 
    146147 
    147148    for t in cc[True]: 
     
    154155      print '>>>>>>>> STRUCTURE :::',r 
    155156      self.uidByLab[r[1]] = r[0]  
     157    sh = shelve.open( '../framework/inSh/structRef02', 'r' ) 
     158    for k in sh: 
     159      self.uidByLab[k] = sh[k] 
     160 
     161    assert 'str-b117' in self.uidByLab 
    156162       
    157163  def asDict(self,uid): 
     
    234240        if t2 not in self.ref2Byt2: 
    235241          self.ref2Byt2[t2] = uid 
     242          print 'INFO.ref2.00050: ',t2 
    236243 
    237244      tt = [t for t in cc if len(cc[t]) > 1] 
     
    384391 
    385392    if label in self.strRepMap: 
    386       print 'INFO.strmap.00002: mapping %s' % label 
     393      print 'INFO.strmap.00002: mapping %s --> %s' % (label,self.strRepMap[label]) 
    387394      label = self.strRepMap[label] 
    388395      u = self.ref2ByLab[label] 
     
    450457        print 'SEVERE.depr.00001: tuple not found in completed list ...', t1 
    451458      if t1 not in self.messageDone: 
    452         print 'ERROR.structure.01010: tuple lookup not found: ',cand,t1 
     459        print 'ERROR.structure.01011: tuple lookup not found: ',cand,t1 
    453460        if t1 in self.xRecByTt: 
    454461          u = self.xRecByTt[t1] 
Note: See TracChangeset for help on using the changeset viewer.