Changeset 873
- Timestamp:
- 17/11/16 10:42:40 (4 years ago)
- Location:
- CMIP6dreqbuild/trunk/src/framework/dreqPy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMIP6dreqbuild/trunk/src/framework/dreqPy/overviewTabs.py
r861 r873 1 1 2 import collections, string 2 import collections, string, os 3 3 import xlsxwriter 4 4 … … 136 136 if len( self.cc[kc].a.keys() ) == 0: 137 137 return 138 if not os.path.isdir( 'tabs03' ): 139 print ( 'WARNING.makeMMhtml: creating directory for html files: tabs03' ) 140 os.mkdir( 'tabs03' ) 138 141 oo = open( 'tabs03/%s' % fss, 'w' ) 139 142 ttl = 'Date requested by %s from %s experiments (tier %s, priority %s)' % (m,m2,self.tiermax,self.pmax) -
CMIP6dreqbuild/trunk/src/framework/dreqPy/scope.py
r871 r873 1582 1582 vs.run( self.adict['m'], 'requestVol_%s_%s_%s' % (mlab,tierMax,pmax), pmax=pmax ) 1583 1583 vs.anal(olab=mlab,doUnique=False) 1584 vs.analAll(pmax,mips=self.adict['m'] )1584 vs.analAll(pmax,mips=self.adict['m'],html=False) 1585 1585 ttl = sum( [x for k,x in vs.res['vu'].items()] )*2.*1.e-12 1586 1586 ttl2 = sum( [x for k,x in vs.res['vu'].items()] )*2.*1.e-12 -
CMIP6dreqbuild/trunk/src/framework/dreqPy/volsum.py
r871 r873 76 76 ii.close() 77 77 78 def analAll(self,pmax,mips=None ):78 def analAll(self,pmax,mips=None,html=True): 79 79 volsmm={} 80 80 volsmmt={} … … 101 101 cmvTotal = self.sc.selectedCmv.copy() 102 102 self.uniqueCmv = {} 103 r1 = overviewTabs.r1( self.sc, self.mt_tables, pmax=pmax, vols=( volsmm, volsme, volsmmt,volsue ) ) 103 if html: 104 r1 = overviewTabs.r1( self.sc, self.mt_tables, pmax=pmax, vols=( volsmm, volsme, volsmmt,volsue ) ) 104 105 105 106 def _analSelectedCmv(self,cmv):
Note: See TracChangeset
for help on using the changeset viewer.