Closed geordie666 closed 2 years ago
Hold off on merging this. I need to make a change.
Should be good now. No further changes expected.
Code looks good, with the caveat that I haven't tried running/testing it.
For consideration, I see that mtl-done-tiles.ecsv treats ZDATE and ARCHIVEDATE as strings, while tiles-specstatus.ecsv treats QANIGHT(=ZDATE), LASTNIGHT, and ARCHIVEDATE as integers, which is mildly inconvenient when matching the two files. Options:
I'll note that this discrepancy pre-dates this PR in ZDATE vs. QANIGHT+LASTNIGHT; ARCHIVEDATE just adds to the discrepancy.
As long as we're breaking backwards compatibility I can change those columns over to integers for ease-of-comparison. It'll take me a little time, though. So, we just have to remember to block MTL updates in the interim.
I made @sbailey's requested change. I'll merge this once tests pass and tag 2.0.0
so we can continue with "normal mode" MTL updates.
This PR adds an
ARCHIVEDATE
column to the data model for the MTL done files (mtl-done-tiles.ecsv
andscnd-mtl-done-tiles.ecsv
).It also includes the convenience script that was used to add the intial
ARCHIVEDATE
values to the MTL done files.