diff --git a/noinfo/create_dplong_table.py b/noinfo/create_dplong_table.py index 3e2365676..9ef58b25b 100755 --- a/noinfo/create_dplong_table.py +++ b/noinfo/create_dplong_table.py @@ -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" : "Schwarzmooskogelhöhlensystem", "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(""" - +
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.
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.
-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!)
+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.