CorentinLouis / SPACE_labelling_tool

SPectrogram Analysis and Cataloguing Environment (SPACE) labelling tool
MIT License
2 stars 4 forks source link

Time formatting causes issues #7

Closed smangham closed 3 years ago

smangham commented 3 years ago

The year-day-of-year.fractional-day format from a baseline year of origin is a little bit difficult to work with, and has caused some bugs. We would prefer if the years were defined ISO style, e.g. as a string containing YYYY-MM-DD HH:MM:SS[.ffff] so 6pm on 31/12/2004 would be 2004-12-31 18:00:00 not 2004364.75. As a second choice, standard MJD would be preferable but is much less human-readable. As a third choice, a float encoding of the ISO date would be an option e.g. 20041231.180000 but this isn't ideal as it's not really a float.

smangham commented 3 years ago

We have decided on string format ISO date style, just waiting for the data files to be rejigged into this format. The work for this is in the feature_time_simple branch.

smangham commented 3 years ago

Now the data is available in a fixed format, we can remove the band-aid fix and merge into dev, so I can pull dev into my refactor branch.

smangham commented 3 years ago

\