So now I am working on two kind of data sets, one is the real time data - train movement data, and another is the static data - train schedule data. In the train movement data, the element - train_id (e.x 365O39MR20) is used to identify the train while in the schedule data set, the element of identifying the train is main_train_uid , assoc_train_uid and CIF_train_uid (e.x Y64029).
Apparently, the train identity in two data sets are different, if I am receiving a real time data of the train, how can I link it to this train 's schedule since the train identities in 2 data sets don't match.
1. is it true that, usually there is no train movement message or train activation message at night, yes ?
2. And the activation message only appears in the morning when the train is activated. Once we skip the opportunity of activation message, there is no chance of linking schedule UID to a train ID in this day?
3. does the link of schedule UID to train ID change everyday or usually keep the same for a while ?
I just check the http://nrodwiki.rockshore.net/index.php/Train_Activation, and it says The activation message includes the schedule UID, schedule STP Indicator, and a 10-character ID (unique only within a calendar month) which is seen in all further message for a the train.But unfortunately I can't tell which element is the schedule UID, is that d1266_record_number being used to represent the schedule UID.
Moreover, if I know the schedule UID, can I link it to the train's schedule and finally get the train schedule in this day, which is in the schedule data set. or schedule UID doesn't matter a lot, since I can use the train UID and current date to look up the schedule.
One last is about the "assoc_days":"0010000" and "schedule_days_runs":"1111100" in the schedule data, what does its value mean exactly, duration of the schedule ? If I want the duration of schedule, I can of course get it from schedule_start_date and schedule_end_date, right ?