You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here we should use the one with the most recent date if we have multiple entries for the same location.
However, we must be careful we don't break circular services as then it is valid to have 2 entries in the schedule.
The same goes in the output schedules, we could filter out the duplicates which will fix an age old issue during disruption but again we must be careful of circular services.
The text was updated successfully, but these errors were encountered:
Related to this is 201908078783418 which, due to a bridge bash at West Malling is showing as cancelled throughout - except for 2 entries at MDE:
Now here, to me it looks like it should be running as the 2nd entry at MDE isn't cancelled and has a later update time.
Again, like above, there's 2 entries as the timetable has changed, so the apparently running entry only has a ptd whilst the cancelled entry is the original with both pta & ptd entries - making them distinct.
Right now I'm thinking this should go along the lines of:
If 2 entries for the same tiploc are in sequence then filter them so that the entry with the most recent forecast.date timestamp is the one used
This should then not break circular routes but could still cause an issue if another entry gets in between them - but it's better than showing a cancelled train when it isn't
This is an upstream issue in Darwin where it's possible for new entries to be put into a schedule during disruption.
I this case we have RID 201908018960827 which is the 1824 MAN - Buxton but terminates at Hazel Grove.
At Woodsmoor we show it calling at Hazel Grove twice due to 2 calling points:
To fix that we might be able to filter them out by looking at the forecast.date entries:
here we should use the one with the most recent date if we have multiple entries for the same location.
However, we must be careful we don't break circular services as then it is valid to have 2 entries in the schedule.
The same goes in the output schedules, we could filter out the duplicates which will fix an age old issue during disruption but again we must be careful of circular services.
The text was updated successfully, but these errors were encountered: