mtuq icon indicating copy to clipboard operation
mtuq copied to clipboard

Please avoid using SAC headers after the initial mtuq.read() call

Open rmodrak opened this issue 2 years ago • 0 comments

To allow support for other file formats beyond SAC, please try to adopt the following

  • the initial mtuq.read() call handles all file format dependent metadata parsing
  • after that, metadata are stored in a common internal structure that works the same regardless of the original file format
  • in particular, this means not using observed data SAC headers at any point after the initial mtuq.read() call
  • the whole motivation is that data processing and inversion functions should work the same, regardless of the original file format

rmodrak avatar Feb 17 '23 19:02 rmodrak