cronnevik / nor2qml

Apache License 2.0
2 stars 0 forks source link

Error: Index 1 out of bounds for length 1 #1

Closed fontiela closed 2 years ago

fontiela commented 2 years ago

I'm running standalone converter of NOR2QML. When I convert the file NORDIC format to QUAKEML I get the following error:

Number of events: 221
-------------------------------------
Errors found in file and are ignored:
File: collect.out | Row: 28 | Error: Index 1 out of bounds for length 1 | LineText: QS09 EZ IS       1736 15.01                              70   -54.8 0  562 289 
File: collect.out | Row: 28 | Error: Index 1 out of bounds for length 1 | LineText: QS09 EZ IS       1736 15.01                              70   -54.8 0  562 289 
File: collect.out | Row: 8 | Error: Index 1 out of bounds for length 1 | LineText: QG04 EZ EP   1 C 23 6 56.71                             169   -0.06 7 0.96 131 
File: collect.out | Row: 12 | Error: Index 1 out of bounds for length 1 | LineText: QB01 HZ EP   4 C 23 6 57.22                             153    0.36 0 2.53 232 
File: collect.out | Row: 16 | Error: Index 1 out of bounds for length 1 | LineText: QG05 EZ EP   2   23 6 57.31                             149    0.43 5 2.93 273 
File: collect.out | Row: 20 | Error: Index 1 out of bounds for length 1 | LineText: QG03 EZ EP   3 D 23 6 57.38                             148    0.48 2 3.08 188 
.
.
.
File: collect.out | Row: 10 | Error: Index 1 out of bounds for length 1 | LineText: QG06 EZ EP   1 C  628 56.48                             113    0.34 7 5.38   5 
File: collect.out | Row: 14 | Error: Index 1 out of bounds for length 1 | LineText: QS08 EZ IP   1 D  628 56.27                             111    0.16 7 5.55 268 
-------------------------------------
creating file...
file created at path: /Users/joaofontiela/nor2qml/converter-standalone/target/quakeml.xml
Conversion finished after 1 seconds

I didn't realize the error since the other stations, of the same event, were converted.

cronnevik commented 2 years ago

Thank you for reporting this issue. The issue was due to a new implementation of weight conversion. It has now been fixed.

fontiela commented 2 years ago

To let you know that it's working fine. Thank you for your fast support.