Closed grabarczyk-t closed 7 years ago
Looks reasonable, thanks for figuring this out.
Would you be willing to submit this as a pull request? That would make it a lot easier for me.
And would you be ok with including this file being used as data for a test case?
Would you be willing to submit this as a pull request?
Sure. I will do that shortly
would you be ok with including this file being used as data for a test case?
I have to ask the owner of that file first. I will let you know when i get the answer
I asked about the file, and its ok to use it here as test data
fixed in 1.7.3
The attached file LGCD_signal001958.part.txt contains a few control header records. Reading it with SeisFile library causes an exception:
The reason for that seem to be wrong handling of continued records. The record with sequNum 3 ends with the following data: (note the two spaces at the end)
It should be added to the SeedRecord as a PartialBlockette, but the problem is that it is just ignored.
changing lines 79-140 in class edu.sc.seis.seisFile.mseed.ControlRecord to:
seems to fix the problem