#!/usr/bin/python import sys, string, re headcount = 0 pics = 0 allyears = 0 recordholders = [] output = "" lines = sys.stdin.readlines() headcounts_byyear = [0]*(len(lines[0].split(","))-4) for r in lines[1:]: r = r.replace("\n","") r = r.replace("\r", "") cells = r.split(",") # chomp newline (name, guest, vfho, mug) = cells[:4] years = cells[4:] expos_caving = len([t for t in years if t == "1"]) expos_notcaving = len([t for t in years if t == "-1"]) if(expos_caving == 0 and expos_notcaving == 0): sys.stdout.write("Error for", name) sys.exit(1) if(expos_caving and name != 'Rover Richardson'): headcount += 1 if mug: pics +=1 output += '' if expos_caving == 0: output += '' output += name[1:-1].replace('""', '"') if expos_caving == 0: output += '' output += '' if guest: output += '§' output += '' if vfho: output += '¤' output += '' if mug: output += ':-)' % mug output += '' for y in xrange(len(years)): if(years[y]): m = str(76 + y)[-2:] if(years[y]=='-1'): m = ''+ m + '' else: try: headcounts_byyear[y] += 1 except IndexError: sys.stderr.write(repr(r) +":::"+ str(y) + "\n") raise output += '' + m + '' else: output += '' if(expos_notcaving): output += '%d + %d\n' % (expos_caving, expos_notcaving) else: output += '%d\n' % expos_caving recordholders.append((expos_caving, name)) def collapse(m): n = (m.span()[1]-m.span()[0]) / 9 if(n == 1): return m.group() else: return '' % n #output = re.sub(r'()+',collapse, output) print """ CUCC's Austria expeditions: Members

CUCC members and guests in Austria 1976 to present

Being a pretty much complete list of all the personnel on %d CUCC expeditions (there was no expo in 1986), together with the total number of expeditions each has attended and the total number of people on each expedition. Names for the current year (as updated before departure) are always subject to revision in the light of reality ! People sometimes get missed out because no-one has told me their surnames :-(

Qualification for inclusion involves some active contribution to the expedition such as going underground, surface surveying or sherpa-ing, or diving for resurgences. Years marked in red indicate some certainty that the person didn't go underground that year. Persons marked in red are thought to have never been underground on expo at all. Note that diving in Altausseer See for the resurgence has been counted as underground:- it certainly counts as effort expended in the pursuit of speleology!

In the table, a section mark (§) indicates someone who was an individual guest of CUCC or of a CUCC member, or who was a member of UBSS when they were present as a guest club in 1981 and 1982. I don't guarantee to have got all such people correctly marked. Similarly, the currency symbol (¤) marks those who are (or were) individual members of the local Austrian group Verein für Höhlenkunde im Obersteier. A smiley or face icon indicates a link to a mugshot (and brief notes) in our Rogues' Gallery - at present a few of these are still just raw jpegs with no html (and therefore no links), so you may have to use the back button to return to this page. Just one of the listed members is a vehicle - no prizes for guessing which one without looking at the photos :-)

The table doesn't include the local cavers who have caved with us at various times. These include particularly Karl Gaisberger :-), Gunter Graf, Sepp Steinberger and Robert Seebacher :-).


""" % len([t for t in headcounts_byyear if t > 0]) print output print "", for y in headcounts_byyear: print '' % y, print """
Expo head count%d

%d people have taken part in expo altogether (not counting non-combatants or vehicles(!)), of whom %d have their pictures on the site so far.

Although few take such statistics seriously, the most dedicated expoers are """ % (headcount, pics) recordholders.sort() recordholders.reverse() k = 2 while recordholders[k + 1][0] == recordholders[k][0]: k = k + 1 print "%s (%d expos)," % (recordholders[0][1][1:-1],recordholders[0][0]) for r in recordholders[1:k]: print "%s (%d)," % (r[1][1:-1],r[0]), print """and %s (%d). Julian Haines and Brian Outram share the record for consecutive expos (9 each). A more obscure record was set by Mark Dougherty in 2004: longest interval between expos (13 years).""" % (recordholders[k][1][1:-1],recordholders[k][0]) print """

Outside-expo caving has started, with Becka Lawson, Julian Todd and Wookey joining various Arge trips in recent years. However, the much talked-about winter expedition/holiday has still not happened, though there is still a lot to be said for it. With draughts reversed in the cold, top entrances should be more obvious and skiing would make a nice change from sitting watching the rain. Some entrances would inevitably be blocked by snow but others seem to remain open all winter.


"""