+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --use-size-track /working/1d08ce56-a9c5-40de-84a7-96ea191cb38f/processing/data/profile.pdd.dat fit2bottom 2026-08-04T00:08:12 - INFO: Profile Alignment 0.0.42 2026-08-04T00:08:12 - INFO: Alignment track will be output to /working/1d08ce56-a9c5-40de-84a7-96ea191cb38f/processing/data 2026-08-04T00:08:12 - INFO: The pipe shape track is not found in /working/1d08ce56-a9c5-40de-84a7-96ea191cb38f/processing/data/pipe_shape.track.json 2026-08-04T00:08:12 - INFO: Falling back to the 3 built-in reference shapes. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-04T00:08:12 - INFO: Input: /working/1d08ce56-a9c5-40de-84a7-96ea191cb38f/processing/data/profile.pdd.dat 2026-08-04T00:08:12 - INFO: Sonar: True 2026-08-04T00:08:12 - INFO: Method: fit2bottom 2026-08-04T00:08:12 - 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:08:12 - 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: 83.38% shape 2 is /app/profile_alignment/ref_shapes/square.shape.json: 66.89% shape 3 is /app/profile_alignment/ref_shapes/egg.shape.json: 49.73% The shape %s is being selected! Loading ... /app/profile_alignment/ref_shapes/circle.shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-04T00:08:44 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-04T00:08:44 - INFO: Pipe size track found at /working/1d08ce56-a9c5-40de-84a7-96ea191cb38f/processing/data/pipe_size.track.json. 2026-08-04T00:08:44 - INFO: Reported size section 0: 889.0 mm, start: 1746487883022311036, end: 1746492278889415136 2026-08-04T00:08:44 - INFO: Calculating the size from 200 frames: section 1 ... 0%| | 0/200 [00:00