7 inf = Info.Info(inFile=[
"strip??.laz"], screenLogLevel=opals.Types.LogLevel.none)
8 inf.enduranceMode =
True
15 print(f
"Individual statistics of {len(stats)} files")
17 if a.isSetErrorMessage():
20 print(f
"\tError occurred while during file {a.getFilename()}")
21 print(f
"\t\t{a.getErrorMessage()}")
23 print(f
"\tDetails on file {a.getFilename()}")
24 box = a.getBoundingBox()
25 print(f
"\t\t{a.getPointCount()} points with bounding box ({', '.join([ '%.3f' % d for d in box])})")
32 assert(len(inf.statistic) == 1)
33 merged_stats = inf.statistic[0]
34 print(
"\nMerged statistics of all files:")
35 print(f
"\tDetails on files {merged_stats.getFilename()}")
36 box = merged_stats.getBoundingBox()
37 print(f
"\t\t{merged_stats.getPointCount()} points with bounding box ({', '.join(['%.3f' % d for d in box])})")