mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-01-18 00:42:38 +00:00
Some updating of create_dplong_table script (needs more work still)
This commit is contained in:
parent
e8ab57ca30
commit
735ef8b883
@ -47,8 +47,10 @@ def parse_csvfile():
|
||||
os.popen("cavern -v7 ../loser/smk-system.svx -o noinfo/smk-system.3d")
|
||||
l,d,w = map(float, chomp(os.popen(CS_BINARY + " noinfo/smk-system -c ").read()).split("\t"))
|
||||
caveslist.append(["", l,d,w, {"Name" : "<i>Schwarzmooskogelhöhlensystem</i>", "Autogen file" : ""}])
|
||||
print "done\nParsing CSV file"
|
||||
cavetabfile = file("noinfo/CAVETAB2.CSV")
|
||||
print "done\nParsing Cave list"
|
||||
for cavefile in os.listdir("noinfo/cave_data"):
|
||||
|
||||
cavetabfiles = dir("noinfo/cave_data/")
|
||||
fieldnames=chomp(cavetabfile.next()).replace('"','').split(",")
|
||||
cavetab = csv.DictReader(cavetabfile, fieldnames)
|
||||
|
||||
@ -100,7 +102,7 @@ dump = file("noinfo/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>
|
||||
<!-- Do not edit this file - it is auto-generated. Edit create_dplong_table.py instead. -->
|
||||
<!-- Do not edit this file - it is auto-generated. Edit noinfo/create_dplong_table.py instead. -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
<title>CUCC's deepest and longest caves</title>
|
||||
@ -120,21 +122,19 @@ h3 {text-align: center}
|
||||
|
||||
<p>This page lists the lengths, depths and horizontal extents of those caves on
|
||||
the plateau for which we have survey centerline data. At present, that's only
|
||||
%d out of 250 or so, but the missing ones are mostly very small and obscure;
|
||||
%d out of 270 or so, but the missing ones are mostly very small and obscure;
|
||||
the notable exceptions are some caves explored by other groups (35, LA25,
|
||||
BS17), and CUCC caves 71, 92, 96 and 97.</p>
|
||||
|
||||
<p>The eighteen caves that now comprise the Schwarzmooskogel master system (32, 40,
|
||||
41, 78, 87, 88, 107, 115, 136, 142, 143, 144, 161, 204, 258 and 264) are listed separately in the table,
|
||||
41, 78, 83, 87, 88, 107, 115, 136, 142, 143, 144, 161, 204, 258 and 264) are listed separately in the table,
|
||||
although in some cases the divisions are more historical than structural or logical;
|
||||
but for comparison I have also included the measurements of the whole system.
|
||||
</p>
|
||||
|
||||
<p>In these tables "length" means the total length of survey legs, not just the
|
||||
horizontal components, but "extent" is the maximum horizontal distance between
|
||||
any two survey stations. (If anyone knows a good algorithm for finding the
|
||||
maximum 3D spatial diameter of a set of points, and is willing to implement it,
|
||||
please do so!)</p>
|
||||
<p>In these tables "length" means the total length of (non-duplicated)
|
||||
survey legs, not just the horizontal components, but "extent" is the
|
||||
maximum horizontal distance between any two survey stations.</p>
|
||||
|
||||
<p><a href="#deepest">Deepest caves</a> — <a href="#longest">Longest
|
||||
caves</a></p>
|
||||
|
Loading…
Reference in New Issue
Block a user