I’m trying to plot a stream with multiple traces from one station using the ‘relative’ option to make them all start at the same time. It doesn’t work, and the resulting plot uses true time for all the traces.
Any ideas what I am doing wrong? I’m new to both python and obspy and could well be doing something stupid.
This is the stream:
11 Trace(s) in Stream:
MV.MSS1.--.SHZ | 2022-08-01T02:50:06.800000Z - 2022-08-01T03:08:29.500000Z | 100.0 Hz, 110271 samples
MV.MSS1.--.SHZ | 2022-08-01T09:52:30.300000Z - 2022-08-01T10:30:03.500000Z | 100.0 Hz, 225321 samples
MV.MSS1.--.SHZ | 2022-08-17T18:24:57.900000Z - 2022-08-17T19:46:32.800000Z | 100.0 Hz, 489491 samples
MV.MSS1.--.SHZ | 2022-08-21T11:41:11.600000Z - 2022-08-21T17:04:43.400000Z | 100.0 Hz, 1941181 samples
MV.MSS1.--.SHZ | 2022-08-29T21:01:16.000000Z - 2022-08-29T21:16:40.400000Z | 100.0 Hz, 92441 samples
MV.MSS1.--.SHZ | 2022-08-30T21:00:10.700000Z - 2022-08-30T21:16:17.800000Z | 100.0 Hz, 96711 samples
MV.MSS1.--.SHZ | 2022-09-02T10:21:06.100000Z - 2022-09-02T10:44:17.400000Z | 100.0 Hz, 139131 samples
MV.MSS1.--.SHZ | 2022-09-02T23:54:49.700000Z - 2022-09-03T03:34:15.200000Z | 100.0 Hz, 1316551 samples
MV.MSS1.--.SHZ | 2022-09-20T11:53:36.600000Z - 2022-09-20T12:23:27.600000Z | 100.0 Hz, 179101 samples
MV.MSS1.--.SHZ | 2022-09-22T16:57:23.300000Z - 2022-09-22T18:43:30.800000Z | 100.0 Hz, 636751 samples
MV.MSS1.--.SHZ | 2022-09-30T09:08:21.900000Z - 2022-09-30T10:10:38.300000Z | 100.0 Hz, 373641 samples
This is my code:
stMSS1.plot( outfile=filePlot, size=(1920,1024), linewidth=0.1, equal_scale=False, automerge=False, type='relative' )