Skip to content

Fix Mseed Timing

Occasionally, the MiniSeedFactory will produce the following error.

ValueError: operands could not be broadcast together with shapes (X,) (Y,) (Z,)

Where X, Y and Z are the lengths of traces computed from UVW volts/bins. This only occurs when one of these lengths do not equal the other two. This is not a critical issue, remaining data is processed in the next processing run. However, to correctly handle these errors, volt/bin conversions should internally truncate traces to the shortest length found. This makes it so that nearly an entire interval is processed for a single trace, and any remaining data is processed in the next run.