Skip to content

Instantly share code, notes, and snippets.

@thiseldo
Created June 12, 2014 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiseldo/3eafef51ac8c4439870b to your computer and use it in GitHub Desktop.
Save thiseldo/3eafef51ac8c4439870b to your computer and use it in GitHub Desktop.
Example train signal data
Sample data logged from Networkrail train descriptor feed.
2 trains are shown, the columns show the from and to berths/Signals.
For example, C104 is the signal on platform 1 at Thatcham station.
DW = Down Westbury, i.e. route is heading from Reading to Westbury.
UW = Up Westbury, i.e. route is heading form Westbury to Reading.
Reading to Newbury, starting 06:13
Timestamp,Train,From,To
1402550357000,2K24,DW39,0800
1402550426000,2K24,0800,0804
1402550614000,2K24,0804,0808
1402550694000,2K24,0808,DW45
1402550908000,2K24,DW45,C100
1402551002000,2K24,C100,C102
1402551249000,2K24,C102,C104
1402551434000,2K24,C104,DW51
1402551562000,2K24,DW51,0822
1402551601000,2K24,0822,0824
1402551752000,2K24,0824,R867
Bedwyn to Reading, starting 06:13
Timestamp,train,From,To
1402550169000,2K25,0841,UW64
1402550271000,2K25,UW64,UW63
1402550337000,2K25,UW63,0845
1402550390000,2K25,0845,0847
1402550575000,2K25,0847,K103
1402550668000,2K25,K103,UW57
1402550876000,2K25,UW57,K105
1402550939000,2K25,K105,UW55
1402551105000,2K25,0861,0865
1402551253000,2K25,0865,0873
1402551390000,2K25,0873,0875
1402551538000,2K25,0875,0877
1402551766000,2K25,0877,UW48
1402551865000,2K25,UW48,C105
1402552026000,2K25,C105,0881
1402552145000,2K25,0881,0885
1402552353000,2K25,0885,0887
1402552423000,2K25,0887,0895
1402552627000,2K25,0895,UW39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment