Hello I am new at ObsPy, so I am customizing my chart, so as you know when you plot the .sac data, Its time is in UTC time I need to convert to Local Time ( America/Mexico_City), anyone knows how to do that? Thnaks
I am using the example from ObsPy tutorial:
from obspy.core import read >>> singlechannel = read(‘https://examples.obspy.org/COP.BHZ.DK.2009.050’)
st = read()
tr = st[0]
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.plot(tr.times(“matplotlib”), tr.data, “b-”)
ax.xaxis_date()
fig.autofmt_xdate()
plt.show()