+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --use-size-track /working/870e4b94-dba7-4d58-84db-9d00616b2804/processing/data/profile.pdd.dat fit2bottom 2026-08-04T00:09:52 - INFO: Profile Alignment 0.0.42 2026-08-04T00:09:52 - INFO: Alignment track will be output to /working/870e4b94-dba7-4d58-84db-9d00616b2804/processing/data 2026-08-04T00:09:52 - INFO: The pipe shape track is not found in /working/870e4b94-dba7-4d58-84db-9d00616b2804/processing/data/pipe_shape.track.json 2026-08-04T00:09:52 - INFO: Falling back to the 3 built-in reference shapes. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-04T00:09:52 - INFO: Input: /working/870e4b94-dba7-4d58-84db-9d00616b2804/processing/data/profile.pdd.dat 2026-08-04T00:09:52 - INFO: Sonar: True 2026-08-04T00:09:52 - INFO: Method: fit2bottom 2026-08-04T00:09:52 - INFO: Shape: [PosixPath('/app/profile_alignment/ref_shapes/circle.shape.json'), PosixPath('/app/profile_alignment/ref_shapes/egg.shape.json'), PosixPath('/app/profile_alignment/ref_shapes/square.shape.json')] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-04T00:09:52 - INFO: Track format: json Reading PDD file in binary format... Completed! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Testing {%s} reference shapes to find the best match ... 3 0%| | 0/3 [00:00 Match Report: shape 1 is /app/profile_alignment/ref_shapes/circle.shape.json: 93.63% shape 2 is /app/profile_alignment/ref_shapes/square.shape.json: 68.95% shape 3 is /app/profile_alignment/ref_shapes/egg.shape.json: 37.42% The shape %s is being selected! Loading ... /app/profile_alignment/ref_shapes/circle.shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-04T00:10:40 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-04T00:10:40 - INFO: Pipe size track found at /working/870e4b94-dba7-4d58-84db-9d00616b2804/processing/data/pipe_size.track.json. 2026-08-04T00:10:40 - INFO: Reported size section 0: 889.0 mm, start: 1746487883022311036, end: 1746492278889415136 2026-08-04T00:10:40 - INFO: Calculating the size from 200 frames: section 1 ... 0%| | 0/200 [00:00