Ignore:
Timestamp:
01/08/16 16:50:05 (4 years ago)
Author:
mjuckes
Message:

new distrib

File:
1 edited

Legend:

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

    r693 r703  
    494494      return '<li>%s: Broken link to structure  [%s]</li>' % ( a, targ.__href__() ) 
    495495    else: 
    496       print 'INFO.stidLink01: ',targ.title 
    497496      return '<li>%s [%s]: %s [%s]</li>' % ( targ._h.title, a, targ.__href__(label=targ.title), targ.label  ) 
    498497 
     
    547546  def strLink(self,targ,frm='',ann=''): 
    548547    return '<li>%s: %s</li>' % (  targ.label, targ.__href__(odir='../u/', label=targ.title) ) 
     548 
     549  def cmLink(self,targ,frm='',ann=''): 
     550    return '<li>%s [%s]: %s</li>' % (  targ.cell_methods,targ.label, targ.__href__(odir='../u/', label=targ.title) ) 
    549551 
    550552  def objLnkLink(self,targ,frm='',ann=''): 
     
    722724htmlStyle['miptable'] = {'getIrefs':['__all__']} 
    723725htmlStyle['remarks'] = {'getIrefs':['__all__']} 
     726htmlStyle['grids'] = {'getIrefs':['__all__']} 
    724727htmlStyle['varChoice'] = {'getIrefs':['__all__']} 
    725728htmlStyle['spatialShape'] = {'getIrefs':['__all__']} 
    726729htmlStyle['temporalShape'] = {'getIrefs':['__all__']} 
    727730htmlStyle['structure'] = {'getIrefs':['__all__']} 
     731htmlStyle['cellMethods'] = {'getIrefs':['__all__']} 
    728732htmlStyle['standardname'] = {'getIrefs':['__all__']} 
    729733htmlStyle['varRelations'] = {'getIrefs':['__all__']} 
     
    749753  dq.itemStyles['units'] = styls.unitLink 
    750754  dq.itemStyles['structure'] = styls.strLink 
     755  dq.itemStyles['cellMethods'] = styls.cmLink 
    751756  dq.itemStyles['objectiveLink'] = styls.objLnkLink 
    752757  dq.itemStyles['requestVarGroup'] = styls.vgrpLink 
Note: See TracChangeset for help on using the changeset viewer.