Commit 4dba7081 authored by Andrew Leonard's avatar Andrew Leonard
Browse files

Revert converter function for Time metdata

Turns out there was a formatting issue in mongodb which made it not work,
but which is now resolved.
parent 049cebe4
Pipeline #4159 failed with stage
in 36 seconds
......@@ -273,7 +273,7 @@ class KISClient(BaseClient):
"""
# Unit converters for 'description' fields
converters = {'ATMOS': lambda x: x * u.cm,
'DATE_': lambda x: Time(x),
'DATE_': lambda x: Time(x['$date'] * 1e-3, format='unix'),
'EXPTI': lambda x: x * u.s,
'HPLN_': lambda x: x * u.arcsec,
'HPLT_': lambda x: x * u.arcsec,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment