sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

SHINY: add times to states and commands outputs #168

Closed taldcroft closed 4 years ago

taldcroft commented 4 years ago

Description

This adds times (in CXC seconds) to states and commands. In looking at real use cases these columns are typically needed and the impact of adding them by default is not so bad.

It also converts columns in the CommandsTable from bytes to unicode. I found that Chandra.Time.date2secs failed for bytes input. This could be fixed, but that failure points to other subtle problems that can be encountered using bytestring values (even though astropy Table does a reasonable job of hiding that with the unicode sandwich).

Testing