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

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/inputs/pcfg1.py@553
Revision 322, 250 bytes checked in by mjuckes, 7 years ago (diff)

added mip inputs

Line 
1import string
2
3s = 'zip templates.zip '
4for i in open('cfg1.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    print mip, f
10    s += ' %s/%s' % (mip,f )
11
12print s
Note: See TracBrowser for help on using the repository browser.