Trying to work with UTCDateTime objects I get a an error that the replace method does not exist. I Currently have obspy 1.1.1 installed (via ubuntu package manager), example:
Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import obspy >>> print(obspy.__version__) 1.1.1 >>> from obspy.core import UTCDateTime >>> t = UTCDateTime() >>> t.replace(day=15) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'UTCDateTime' object has no attribute 'replace'
So basically wondering if this is a problem with my version of obspy or something else?