Hello every one,
In SAC, we can write couple of variables in the header (T0~T10). Is there any similar approach to write and retrieve variables in Stream or Trace?
Best regards,
Reza
Hello every one,
In SAC, we can write couple of variables in the header (T0~T10). Is there any similar approach to write and retrieve variables in Stream or Trace?
Best regards,
Reza
Hi Reza,
Trace objects have a .meta attribute that is essentially just a dictionary, and can hold any keys and values you add to it. Just be careful not to overwrite the core keys, like ‘starttime’, ‘sampling_rate’, etc.
Best,
Jon