Add functionality to clear location codes
From a user: I have received some miniSEED files where loc codes were added, and they should not have been. I have dataless SEED from the same source that does not have the loc code, and the source has told me that the presence of loc codes in the miniSEED was in error.
I’d like to use fixhdr to remove the erroneous loc codes, but I can find no way to do so. It looks like fixhdr can add or change a loc code, but cannot remove one.
Is there a way to do this that I have not found? If not, can a feature be added to fixhdr to remove loc codes? I could suggest maybe a button next to the location substitute value on the global modify tab and maybe something added to fixhdr template files, but I really don’t care how it is implemented, just so long as it can do the task. For NSLC nomenclature, I think only loc code is permitted to be empty – the other three fields must always have a value, so it’s the only one that needs this feature.