Hi Chris
On 27 Jan 2015, at 10:09, Chris Bailiss <
cbai...@gmail.com> wrote:
> Is there any downloadable documentation available from Network Rail about this? e.g. a lot of the CIF documentation can be downloaded in PDF form, so just wondering if there are any PDFs or similar about these proposed changes.
There’s an updated spec and a list of changes, but at the moment it’s at the consultation stage so I can’t distribute it. However, once the CIF Specification is formally reissued, I’ll update the copy on the wiki.
> Also, while we are on the topic of CIF, have there been any developments in the discussions about the scheduling / creation times for the CIF files? - to eliminate the delayed updates that seem to happen sometimes.
There have been - there are two options we’re looking at:
1. Produce JSON data at 2200 (or 0001) each day regardless of whether a CIF file has already arrived - so there should always be JSON data available by a certain time every night, even if it’s empty
2. Produce JSON data as soon as the CIF file has arrived, which will result in JSON data being available at some time or, if there was a problem generating the CIF file on Network Rail’s side, no data
Both of these have their plus and minus points, and both are under consideration. After doing some analysis, there are only a very small number of ‘A for B’ schedules that come through on CIF, so producing JSON at the same time each day may, if the file arrives after that time, result in one or two trains for which there’s no schedule.
What’s your preference? And if anyone else is reading who consumes CIF, what preference do you have?
Peter