ska-sa / astrokat

General observation framework for the MeerKAT telescope
BSD 2-Clause "Simplified" License
2 stars 4 forks source link

set timezone of start_time parsed by yaml to None #79

Closed xinyuwu closed 4 years ago

xinyuwu commented 4 years ago

when yaml loads the file, it converted start_time to date with timezone if the data string has 'Z' in it. Need to remove the timezone, or will get error: TypeError: can't subtract offset-naive and offset-aware datetimes