diff --git a/geomagio/pcdcp/PCDCPFactory.py b/geomagio/pcdcp/PCDCPFactory.py index c5fb2c0f45bd9413647b50ef437d4009b143d645..7f30568c296530f735fc00e382345f9425207af0 100644 --- a/geomagio/pcdcp/PCDCPFactory.py +++ b/geomagio/pcdcp/PCDCPFactory.py @@ -144,8 +144,9 @@ class PCDCPFactory(TimeseriesFactory): endHour = str(int(ending/60.0)) endMinute = str(int(ending%60.0)) - start = year + yearday + "T" + startHour + ":" + startMinute + "00.0" - end = year + yearday + "T" + endHour + ":" + endMinute + "00.0" + start = year + yearday + "T" + startHour + ":" + \ + startMinute + ":" + "00.0" + end = year + yearday + "T" + endHour + ":" + endMinute + ":" + "00.0" starttime = obspy.core.UTCDateTime(start) endtime = obspy.core.UTCDateTime(end)