Create v7 3d files, since that's all cavestats can handle

This commit is contained in:
Olly Betts 2015-07-21 07:40:56 +02:00
parent f1aa55b02c
commit cacde9fea7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
dataset_path = ../loser dataset_path = ../loser
surveydir_path = ../surveys surveydir_path = ../surveys
cavern_flags = -qq -s cavern_flags = -qq -s -v7
tar_flags = -cz --exclude "*/CVS" --ignore-case -f tar_flags = -cz --exclude "*/CVS" --ignore-case -f
svxtrace_cmd = ./svxtrace.py svxtrace_cmd = ./svxtrace.py

View File

@ -44,7 +44,7 @@ def print_caveline(number, l, d, w, cave):
def parse_csvfile(): def parse_csvfile():
caveslist = [] caveslist = []
print "Calculating SMK-system extent... ", print "Calculating SMK-system extent... ",
os.popen("cavern ../1623/smk-system -o noinfo/smk-system.3d") os.popen("cavern -v7 ../loser/smk-system -o noinfo/smk-system.3d")
l,d,w = map(float, chomp(os.popen(CS_BINARY + " noinfo/smk-system -c ").read()).split("\t")) 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&ouml;hlensystem</i>", "Autogen file" : ""}]) caveslist.append(["", l,d,w, {"Name" : "<i>Schwarzmooskogelh&ouml;hlensystem</i>", "Autogen file" : ""}])
print "done\nParsing CSV file" print "done\nParsing CSV file"