swiggumj/SchedScrape

Sort wiki output, merge consecutive entries

Closed this issue · 4 comments

Wiki output doesn't appear to be sorted nicely within blocks, so there should be control over how to sort the entire list. Also, consecutive entries (i.e. those that run from one day to the next) should be identified and merged.

At the moment, I'm writing output to a temp file and doing things like cat temp | grep Aug | sort -r to get the output I want. Maybe this is fine, but it might be good to have tools available to do all of this within the scraper.

Need to do this for the GBO scraper too.

Complete for AO P2780, though still need merging rules for P2945. GBO merging needs work too (as well as general implementation in SchedScrape).

This is going to be MUCH easier working with an astropy Table in Sched. Therefore, I'm going to start by switching back to that.