Hi Earthworm Team
I was developing a python program to read and extract information from the file containing picks. These picks were generated by pick_FP module and were extracted from PICK_RING and written to text file.
Problem:
When I was processing pick time, I got this error in IDLE (python IDE)
'ValueError: second must be in 0..59'
When I inspected the line responsible for error in pick file, it was like this:
8 160 180 585 S.C.N.L. ?0 20230222043660.000
The seconds field contains 60 whereas it should be this:
8 160 180 585 S.C.N.L. ?0 20230222043700.000
Problem in report.c:In report.c file, these statements are responsible for this problem.
if ( thun == 100 )
tsec++, thun = 0;
There should be some extra check for this rare case.
Regards
Jamil