[svn r6985] More prospecting guide work. Also I could have sworn I added in coords for 174-6 but I must have forgotten to commit, oops.

This commit is contained in:
dave
2005-06-25 00:17:41 +02:00
parent 89fde4cf48
commit 68bf1b5f17
10 changed files with 1277 additions and 848 deletions

View File

@@ -34,10 +34,12 @@ def print_caveline(number, l, d, w, cave):
if cave["Autogen file"]: # single caves
dplong.write("""<td class="name"><a href="%s">%s</a></td>""" % (cave["Autogen file"], find_name(cave)))
dplong.write("""<td>%.1f</td><td>%.1f</td><td>%.1f</td></tr>\n""" % (l,d,w))
dump.write("%s\t%d\t%d\n" % (number, l, d))
else: # virtual entries for cave systems
dplong.write("""<td class="name">%s</td>""" % find_name(cave))
dplong.write("""<td><i>%.1f</i></td><td><i>%.1f</td><td><i>%.1f</i></td></tr>\n""" % (l,d,w))
def parse_csvfile():
caveslist = []
print "Calculating SMK-system extent... ",
@@ -87,6 +89,7 @@ def parse_csvfile():
caveslist = parse_csvfile()
dplong = file("dplong.htm", "w")
dump = file("noinfo/prospecting_guide_scripts/lengths.dat", "w")
dplong.write("""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>