Ignore:
Timestamp:
24/01/16 18:33:53 (5 years ago)
Author:
mjuckes
Message:

Adding hdldemo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/dreqPy/scope.py

    r540 r558  
    482482      for i in expts: 
    483483        if self.dq.inx.uid[i]._h.label == 'experiment': 
    484           if self.dq.inx.uid[i].tier <= self.tierMax: 
     484          if self.dq.inx.uid[i].tier[0] <= self.tierMax: 
    485485            expts1.append( i ) 
    486486        elif self.dq.inx.uid[i]._h.label == 'exptgroup': 
     
    525525 
    526526    if self.tierMax > 0: 
    527       expts = [i for i in expts if self.dq.inx.uid[i].tier <= self.tierMax] 
     527      expts = [i for i in expts if self.dq.inx.uid[i].tier[0] <= self.tierMax] 
    528528 
    529529    if len(expts) > 0: 
Note: See TracChangeset for help on using the changeset viewer.