Skip to content

Commit 4bafcdd

Browse files
removed not--needed logging
1 parent 8816304 commit 4bafcdd

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

packages/common/src/bag3d/common/utils/geodata.py

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -278,30 +278,13 @@ def pdal_info(
278278
output_logging="BUFFER",
279279
)
280280

281-
logger.info(f"PDAL info output: {output}")
282-
logger.info(f"PDAL info return code: {return_code}")
283-
284281
if "Global encoding WKT flag" in str(output):
285282
logger.warning(f"Pdal failed for tile {file_path} with output {output}.")
286-
# logger.warning("Setting --readers.las.nosrs true")
287-
# cmd_list.append("--readers.las.nosrs true")
288-
# return_code, output = pdal.execute(
289-
# "pdal",
290-
# command=" ".join(cmd_list),
291-
# local_path=file_path,
292-
# silent=(not verbose),
293-
# output_logging="BUFFER",
294-
# )
295-
# # Remove the first line
283+
# Remove the first line
296284
output_lines = output.split("\n")
297285
if len(output_lines) > 1:
298286
logger.warning(f"Removing first line from PDAL output : {output_lines[0]}")
299287
output = "\n".join(output_lines[1:])
300-
else:
301-
output = ""
302-
303-
logger.info(f"PDAL info output: {output}")
304-
logger.info(f"PDAL info return code: {return_code}")
305288

306289
output_processed = output.replace("\\u0000", "")
307290

0 commit comments

Comments
 (0)