project8 / mosquito

Labview interface of the exTorr RGA XT100
MIT License
2 stars 1 forks source link

RGA timestamp timezone #15

Open wcpettus opened 6 years ago

wcpettus commented 6 years ago

The RGA sends its spectrum claiming a zulu timestamp, but actually sending a PT timestamp. From the dragonfly slow-control logger: 2018-07-20T09:05:40[DEBUG ] dripline.core.message(135) -> from_dict is: {u'timestamp': u'2018-07-20T09:05:05Z', u'msgtype': 4, u'sender_info': {u'service_name': u'rga_interface'...

  1. Mosquito is wrong, you should not arbitrarily label a timestamp zulu if you didn't convert it to UTC
  2. For consistency in the Project8 framework, we should ensure that we do convert to UTC. Otherwise the dragonfly service which punches the data into the DB will be confused.