where the biggest issue is the last line printed: TimeReferencType.Relative. miniseed data is dogmatically UTC time standard.
The following trivial function is an easy workaround for a parallel workflow:
def set_tref(d):
d.tref = TimeReferenceType.UTC
return d
where you just use that function in map operator to fix the problem. We still need to fix it though as it is blatantly wrong. I think the main fix needs to be applied to index_mseed_file as it should be setting the metadata attribute "time_standard" and as the print(doc) statement shows that is not set in that or any other wf_miniseed the current container creates.
BTW I think this problem has been around for a while. I didn't touch index_mseed_file in the major revision of Database in the current container.
I'm not sure if this bug is in index_minseed or how the new version of read_data handles miniseed data. The problem is easily seen in this output:
generates:
where the biggest issue is the last line printed:
TimeReferencType.Relative
. miniseed data is dogmatically UTC time standard.The following trivial function is an easy workaround for a parallel workflow:
where you just use that function in map operator to fix the problem. We still need to fix it though as it is blatantly wrong. I think the main fix needs to be applied to index_mseed_file as it should be setting the metadata attribute "time_standard" and as the print(doc) statement shows that is not set in that or any other wf_miniseed the current container creates.
BTW I think this problem has been around for a while. I didn't touch index_mseed_file in the major revision of Database in the current container.