Ignore:
Timestamp:
20/01/16 17:01:33 (5 years ago)
Author:
mjuckes
Message:

cleaning CMOR tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/dreqPy/scope.py

    r554 r555  
    33The scope.py module contains the dreqQuery class and a set of ancilliary functions. The dreqQuery class contains methods for analysing the data request. 
    44""" 
    5 import dreq 
    6 from utilities import cmvFilter  
     5try: 
     6  import dreq 
     7  from utilities import cmvFilter  
     8except: 
     9  import dreqPy.dreq 
     10  from dreqPy.utilities import cmvFilter  
     11 
    712import collections, string, operator 
    813import sys 
     
    1217  python2 = False 
    1318  from functools import reduce 
    14   from utilP3 import mlog3 
     19  from dreqPy.utilP3 import mlog3 
    1520  mlg = mlog3() 
    1621else: 
     
    567572    if self.multiTierOnly: 
    568573      expts = [i for i in expts if len(self.dq.inx.uid[i].tier) > 1] 
    569       print 'Len expts: ',len(expts) 
     574      print ('Len expts: %s' % len(expts) ) 
    570575 
    571576    if len(expts) > 0: 
     
    749754          eid = i.uid 
    750755      assert eid != None, 'Experiment %s not found' % self.adict['e'] 
    751     print 'eid=',eid 
     756    print ( 'eid=%s' % eid ) 
    752757    assert ok,'Available MIPs: %s' % str(sc.mips) 
    753758    adsCount = self.adict.get( 'count', False ) 
Note: See TracChangeset for help on using the changeset viewer.