Ignore:
Timestamp:
17/08/16 15:28:11 (4 years ago)
Author:
mjuckes
Message:

01.beta.33

File:
1 edited

Legend:

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

    r703 r717  
    11 
    2 import dreq 
    32import collections, string, os, sys 
    4 import vrev 
     3 
     4nt__charmeEnable = collections.namedtuple( 'charme', ['id','site'] ) 
     5 
     6try: 
     7  import dreq 
     8  import vrev 
     9  import misc_utils 
     10except: 
     11  import dreqPy.dreq as dreq 
     12  import dreqPy.vrev as vrev 
     13  import dreqPy.misc_utils as misc_utils 
     14 
    515python2 = True 
    616if sys.version_info[0] == 3: 
     
    1929else: 
    2030  oldpython = True 
    21  
    22 import scope_utils 
    2331 
    2432try: 
     
    594602        mlab = setMlab( m ) 
    595603 
    596       cc0 = scope_utils.getExptSum( self.dq, mlab, l1 ) 
     604      cc0 = misc_utils.getExptSum( self.dq, mlab, l1 ) 
    597605      ks = sorted( list( cc0.keys() ) ) 
    598606      if self.verbose: 
     
    764772  dq.itemStyles['requestVar'] = styls.rqvLink01 
    765773 
     774  dreq.dreqItemBase.__charmeEnable__['var'] = nt__charmeEnable( 'test','http://clipc-services.ceda.ac.uk/dreq' ) 
     775 
    766776  ht = htmlTrees(dq) 
    767777  dq.makeHtml( annotations={'var':ht.anno}, ttl0='Data Request [%s]' % dreq.version ) 
Note: See TracChangeset for help on using the changeset viewer.