source: CMIP6dreqbuild/trunk/inputs/pcfg1.py @ 624

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/inputs/pcfg1.py@947
Revision 624, 316 bytes checked in by mjuckes, 4 years ago (diff)

update inputs

Line 
1import string
2
3s = 'zip templates.zip '
4for i in open('cfg2.txt').readlines():
5  if i[:2] == './':
6    mip = string.strip(i)[2:-1]
7  elif i[:2] in ['++','--','**']:
8    f = string.strip( i[3:] )
9    if string.find( f, ' ') != -1:
10      f = string.split( f )[0]
11    print mip, f
12    s += ' %s/%s' % (mip,f )
13
14print s
Note: See TracBrowser for help on using the repository browser.