Changeset 603


Ignore:
Timestamp:
21/02/16 14:12:32 (4 years ago)
Author:
mjuckes
Message:

cleaning

Location:
CMIP6dreqbuild/trunk/srcMisc
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/srcMisc/dreq_consol_tables.py

    r600 r603  
    569569             if tv[:10] == 'Short name': 
    570570               ll.append(i) 
    571            assert len(ll) in [1,2], 'Could not parse sheet  %s, %s, %s' % (path,k,s) 
     571           assert len(ll) in [1,2], 'Could not parse sheet  %s, %s, %s: %s' % (path,k,s,len(ll)) 
    572572           withPriority = False 
    573573           hr = sh.row( ll[-1] ) 
  • CMIP6dreqbuild/trunk/srcMisc/sx2.py

    r600 r603  
    11971197            sr =  map(str,r) 
    11981198            dop.a['omip'].write( string.join( map(str,r), '\t' ) + '\n' ) 
    1199             dop.a['omip2'].write( string.join( map(lambda x: r[x],[4,0,5,2,7]) + ['%s_%s' % (m,t),'mv.005.%4.4i' % kr], '\t' ) + '\n' ) 
     1199            dop.a['omip2'].write( string.join( map(lambda x: str(r[x]),[4,0,5,2,7]) + ['%s_%s' % (m,t),'mv.005.%4.4i' % kr], '\t' ) + '\n' ) 
    12001200           
    12011201      else: 
Note: See TracChangeset for help on using the changeset viewer.