mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 23:04:35 +00:00
[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user