2004-04-24 16:03:55 +01:00
|
|
|
#!/usr/bin/python
|
|
|
|
import sys, string, re
|
|
|
|
|
2004-09-07 22:01:05 +01:00
|
|
|
headcount = 0
|
2004-04-24 16:03:55 +01:00
|
|
|
pics = 0
|
|
|
|
allyears = 0
|
2004-09-07 22:01:05 +01:00
|
|
|
recordholders = []
|
2004-04-24 16:03:55 +01:00
|
|
|
output = ""
|
|
|
|
|
|
|
|
lines = sys.stdin.readlines()
|
2006-09-07 03:28:09 +01:00
|
|
|
headcounts_byyear = [0]*(len(lines[0].split(","))-5)
|
2004-04-24 16:03:55 +01:00
|
|
|
|
2004-10-18 13:48:34 +01:00
|
|
|
for r in lines[1:]:
|
2004-09-07 22:01:05 +01:00
|
|
|
r = r.replace("\n","")
|
|
|
|
r = r.replace("\r", "")
|
|
|
|
cells = r.split(",") # chomp newline
|
2006-09-07 03:28:09 +01:00
|
|
|
(name, surname, guest, vfho, mug) = cells[:5]
|
|
|
|
years = cells[5:]
|
2004-09-07 22:01:05 +01:00
|
|
|
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):
|
2017-12-07 12:29:21 +00:00
|
|
|
sys.stderr.write("Error processing " + name + ". No attendances found\n")
|
2004-09-07 22:01:05 +01:00
|
|
|
sys.exit(1)
|
2017-12-07 21:59:49 +00:00
|
|
|
if(expos_caving and name != 'Rover Richardson' and name != 'Bier Tent'): headcount += 1
|
2004-04-24 16:03:55 +01:00
|
|
|
if mug: pics +=1
|
2004-09-07 22:01:05 +01:00
|
|
|
output += '<tr><td>'
|
|
|
|
if expos_caving == 0: output += '<span class="didntcave">'
|
2016-04-20 03:44:41 +01:00
|
|
|
output += name.replace('""', '"')
|
2004-09-07 22:01:05 +01:00
|
|
|
if expos_caving == 0: output += '</span>'
|
|
|
|
output += '</td><td>'
|
2004-04-24 16:03:55 +01:00
|
|
|
if guest: output += '§'
|
2004-09-07 22:01:05 +01:00
|
|
|
output += '</td><td>'
|
2004-04-24 16:03:55 +01:00
|
|
|
if vfho: output += '¤'
|
2004-09-07 22:01:05 +01:00
|
|
|
output += '</td><td>'
|
2005-06-18 01:06:04 +01:00
|
|
|
if mug: output += '<a href=%s><img alt=":-)" src="i/mug.png" /></a>' % mug
|
2005-06-22 23:45:54 +01:00
|
|
|
output += '</td>'
|
2004-04-24 16:03:55 +01:00
|
|
|
for y in xrange(len(years)):
|
|
|
|
if(years[y]):
|
|
|
|
m = str(76 + y)[-2:]
|
|
|
|
if(years[y]=='-1'):
|
|
|
|
m = '<span class="didntcave">'+ m + '</span>'
|
2004-09-07 22:01:05 +01:00
|
|
|
else:
|
2005-06-11 14:54:31 +01:00
|
|
|
try:
|
|
|
|
headcounts_byyear[y] += 1
|
|
|
|
except IndexError:
|
|
|
|
sys.stderr.write(repr(r) +":::"+ str(y) + "\n")
|
|
|
|
raise
|
2004-04-24 16:03:55 +01:00
|
|
|
output += '<td class="nonempty">' + m + '</td>'
|
|
|
|
else:
|
|
|
|
output += '<td></td>'
|
2016-04-20 04:19:10 +01:00
|
|
|
# print number of expos, non-caving in red. Only print numbers > 0
|
2018-02-17 20:38:12 +00:00
|
|
|
output += '<td style="text-align: right; width:36px; font-size:85%">'
|
2004-09-07 22:01:05 +01:00
|
|
|
if(expos_notcaving):
|
2016-04-20 04:19:10 +01:00
|
|
|
if(expos_caving):
|
2018-02-17 20:38:12 +00:00
|
|
|
output += '%d+<span class="didntcave">%d</span>' % (expos_caving, expos_notcaving)
|
2016-04-20 04:19:10 +01:00
|
|
|
else:
|
|
|
|
output += '<span class="didntcave">%d</span>' % expos_notcaving
|
2004-09-07 22:01:05 +01:00
|
|
|
else:
|
2016-04-20 04:19:10 +01:00
|
|
|
output += '%d' % expos_caving
|
|
|
|
output += '</td></tr>\n'
|
2004-09-07 22:01:05 +01:00
|
|
|
recordholders.append((expos_caving, name))
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
def collapse(m):
|
|
|
|
n = (m.span()[1]-m.span()[0]) / 9
|
|
|
|
if(n == 1): return m.group()
|
|
|
|
else: return '<td colspan="%d"></td>' % n
|
|
|
|
|
2004-09-07 22:01:05 +01:00
|
|
|
#output = re.sub(r'(<td></td>)+',collapse, output)
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
print """
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
|
<title>CUCC's Austria expeditions: Members</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../css/main2.css" />
|
|
|
|
<style type="text/css">
|
2018-02-17 20:17:09 +00:00
|
|
|
.didntcave { color: #dd0000 }
|
2004-04-24 16:03:55 +01:00
|
|
|
<!--
|
2004-09-07 22:01:05 +01:00
|
|
|
table.fancy { border-collapse: collapse; border: 2px solid black }
|
|
|
|
table.fancy td { border: 1px solid black; padding: 2pt }
|
|
|
|
table.fancy td.nonempty { background: #eee }
|
2004-04-24 16:03:55 +01:00
|
|
|
-->
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<!-- DO NOT EDIT THIS DOCUMENT BY HAND! It is automatically generated. -->
|
|
|
|
<h1>CUCC members and guests in Austria 1976 to present</h1>
|
|
|
|
|
2015-01-13 17:45:43 +00:00
|
|
|
<p>This is a pretty much complete list of all the personnel on %d CUCC
|
2004-09-07 22:01:05 +01:00
|
|
|
expeditions (there was no expo in 1986), together with the total number of
|
2015-01-13 17:45:43 +00:00
|
|
|
expeditions each has attended and the total number of people on each expedition.</p>
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
<p>Qualification for inclusion involves some active contribution to the
|
2015-01-13 17:45:43 +00:00
|
|
|
expedition such as going underground, surface surveying, sherpa-ing, camp-shopping or
|
2018-02-17 20:23:21 +00:00
|
|
|
diving for resurgences. Years marked in <span class="didntcave">red</span>
|
2004-04-24 16:03:55 +01:00
|
|
|
indicate some certainty that the person didn't go underground that year.
|
|
|
|
Persons marked in <span class="didntcave">red</span> are thought to have never
|
2004-09-07 22:01:05 +01:00
|
|
|
been underground on expo at all. Note that diving in <span lang="de-at">Altausseer
|
|
|
|
See</span> for the resurgence has been counted as underground:- it certainly
|
|
|
|
counts as effort expended in the pursuit of speleology!</p>
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
<p>In the table, a section mark (§) indicates someone who was an
|
2015-01-13 17:45:43 +00:00
|
|
|
individual guest of CUCC or of a CUCC member, or who was a member of UBSS or ULSA when
|
|
|
|
they were present as guest clubs in 1981,1982 or 2008-onwards. We don't guarantee to have
|
2004-04-24 16:03:55 +01:00
|
|
|
got all such people correctly marked. Similarly, the currency symbol (¤)
|
|
|
|
marks those who are (or were) individual members of the local Austrian group
|
|
|
|
<span lang="de-at">Verein für Höhlenkunde im Obersteier</span>. A
|
2015-01-13 17:45:43 +00:00
|
|
|
face icon indicates a link to a mugshot (and brief notes) in our
|
2017-12-07 21:59:49 +00:00
|
|
|
Rogues' Gallery. Two of the members listed are inanimate objects - no prizes for
|
|
|
|
guessing which without looking at the photos :-)</p>
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
<p>The table doesn't include the local cavers who have caved with us at various
|
2005-06-19 21:50:11 +01:00
|
|
|
times. These include particularly Karl Gaisberger
|
|
|
|
<a href="i/karl_gaisberger.jpg"><img alt=":-)" src="i/mug.png" /></a>,
|
|
|
|
Gunter Graf, Sepp
|
2004-04-24 16:03:55 +01:00
|
|
|
Steinberger and Robert Seebacher <a href="i/robert.jpg"><img alt=":-)"
|
2005-06-18 01:07:51 +01:00
|
|
|
src="i/mug.png" /></a>.</p>
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
<hr /><table class="fancy">
|
2004-09-07 22:01:05 +01:00
|
|
|
""" % len([t for t in headcounts_byyear if t > 0])
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
print output
|
|
|
|
|
2004-09-07 22:01:05 +01:00
|
|
|
print "<tr><td colspan=4><strong>Expo head count</strong></td>",
|
|
|
|
for y in headcounts_byyear:
|
|
|
|
print '<td style="text-align: right">%d</td>' % y,
|
|
|
|
|
2004-04-24 16:03:55 +01:00
|
|
|
print """
|
2004-09-07 22:01:05 +01:00
|
|
|
<td></td></tr>
|
|
|
|
</table>
|
|
|
|
<hr />
|
2004-04-24 16:03:55 +01:00
|
|
|
|
|
|
|
<p>%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.</p>
|
|
|
|
|
2004-09-07 22:01:05 +01:00
|
|
|
<p>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
|
2016-04-20 04:19:10 +01:00
|
|
|
print "%s (%d expos)," % (recordholders[0][1],recordholders[0][0])
|
2004-09-07 22:01:05 +01:00
|
|
|
for r in recordholders[1:k]:
|
2016-04-20 04:19:10 +01:00
|
|
|
print "%s (%d)," % (r[1],r[0]),
|
2004-09-07 22:01:05 +01:00
|
|
|
|
2017-05-20 02:34:19 +01:00
|
|
|
print """and %s (%d). Julian Todd holds the record for consecutive
|
|
|
|
expo attendance (10), (along with Mark Shinwell, but he didn't actually
|
2017-12-07 21:59:49 +00:00
|
|
|
go caving on all of those visits). A more obscure record of longest gap between expos has been held by various people since 2004 at 13, and then 17, years, but in 2017 was upped to 34 years by Phil Sargent, which is going to be extremely hard to beat!</p>""" % (recordholders[k][1],recordholders[k][0])
|
2004-09-07 22:01:05 +01:00
|
|
|
|
|
|
|
|
2017-12-07 21:59:49 +00:00
|
|
|
print """<p>Outside-expo caving happens from time to time, with Becka Lawson, Neil Pacey, Julian Todd and Wookey
|
|
|
|
joining various Arge and VfHO trips since about 2000. However, the much talked-about
|
2004-04-24 16:03:55 +01:00
|
|
|
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.</p>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
|
<ul id="links">
|
|
|
|
<li>Back to <a href="../../index.htm">CUCC Home page</a></li>
|
|
|
|
|
|
|
|
<li><b>Main Indices:</b>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../infodx.htm"><b>Index</b> to Expo</a> information pages</li>
|
|
|
|
<li><a href="../areas.htm">Description of CUCC's area</a> and split to subareas</li>
|
|
|
|
<li>Full <a href="../indxal.htm">Index to cave descriptions</a> in area 1623</li>
|
|
|
|
|
2005-06-12 12:31:07 +01:00
|
|
|
<li>Adjacent area <a href="../1626/index.html">1626</a></li>
|
2004-04-24 16:03:55 +01:00
|
|
|
<li>List of (links to) <a href="../pubs.htm">published reports and logbooks</a></li>
|
|
|
|
</ul></li>
|
|
|
|
<li><b>Pictures:</b>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../gall0.htm">Text only Index</a></li>
|
|
|
|
<li><a href="../gallery/0.htm">Index pages (with thumbnails)</a></li>
|
|
|
|
</ul></li>
|
|
|
|
<li>Other info:
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li>Table of <a href="../folk/index.htm">members of CUCC expeditions</a> 1976-present</li>
|
|
|
|
<li><a href="../others/index.htm">Other groups</a> who have worked in the area.</li>
|
|
|
|
</ul></li></ul>
|
|
|
|
</body>
|
2004-09-07 22:01:05 +01:00
|
|
|
</html>"""
|