1. I require the Darwin Push Port (DPP) data for a piece of research I am doing. I will only require specific stations when the DPP allows you to select stations and not just the whole network but I know currently DPP is not allowing this option.
2. I have a little experience and understanding of ruby coding (having spent many hours googling) and have downloaded ruby interactive via http://rubyinstaller.org/
3. I know from reading the wikipages that I need to download a stomp client but from there I am lost as to how everything links together.
The bottom line is that I require the timetabled running for certain trains and then the actually running for these trains. I then need to observe which trains are delayed and then why they are delayed. From my knowledge I thought that only the DPP data realeased on the 31st March (I know it is already out) is the only one giving information as to the nature of delays (if known). Consequently would you recommend I use the newly released DPP data or the older network rail data feeds?
I have realised that this is going to be a very steep learning curve however I am dedicating this whole week to it so have plenty of hours hopefully. I am going to have to get to grips with this otherwise I am going to have to sit and watch trains on the live feed all day for a while!I also appreciate that to process the data I am going to need some more knowledge, my plan was to get 2 months data and during this time to set up the code to analyse the data.I had also heard that the new DPP data was going to be easier to work with!
What would you suggest my next steps are? Download a stomp client and attempt to write some code (do i write this code in the stomp client or on a java platform which then links the 2)? Which stomp client is the best for what I want or are they all equally as hard/usable?
I didn't know that any data was archived from the https://datafeeds.nationalrail.co.uk/, I only thought I could subscribe to a live feed? Where do I get the archived data and what programme should I play round with it in?
And with your last point you would advise setting up the processing and collection at the same time to save future faffing around?
ie so it is only calling the data I want?
Thanks, just the small problem of an error message saying "An Error Occurred opening that folder on the FTP server. Make Sure you have permission to access that folder. Details: The Connection with the server was reset." is thwarting me at the moment when I type in ftp://datafeeds.nationalrail.co.uk into windows explorer and then enter my username and password. I will have a look on google to solve the issue then have a look at the files.
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To post to this group, send email to openrail...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If using IE to ftp (yuk), rather than an ftp client like filezilla, the url format is
ftp://username:pass...@datafeeds.nationalrail.co.uk/
HTH
Nigel.
If using IE to ftp (yuk), rather than an ftp client like filezilla, the url format is
Error: Server returned unroutable private IP address in PASV reply
--
Quote: Who is my server? (You can see I am new to this!) The former. In Passive mode they send a 10.x.y.z IPv4 which is a private, unroutable IPv4 that does not work over public connections. Your client is doing the same in Active mode. Since you both are behind NAT operation is not possible without configuration.Is it the national rail data feeds or the University who provide my wifi or something else? As you seem to be behind campus NAT (without any control over) you can only use Passive mode. Servers not working in Passive mode can't be reached, no way around in this case (unless the server and yourself are both in the same LAN). |
On 31 Mar 2015, at 16:57, Andrew Carson <apcar...@gmail.com> wrote:I had a week but my supervisor has given me until the darwin pushport lets you specify by TIPLOC to get it sorted (As we want to keep the amount of data down, don't want the whole network really!!) so I have a few weeks (although I have 10,000 other words to write, the joy of a masters!!). So I have windows 8 on my computer and I am prepared to try anything that I can get working!
So from the advise from the 2 of you (which is very kind of you to try and help) it would probably be best is to write some code for stomp on Java or ruby? Also do I need a VPS to process the data (I know they cost, but not too much)
And Peter I have got my settings as you do above, no idea what the problem is, tried everything with the firewall, turned it off, opened all ports etc. Tried plain ftp, active mode, passive mode etc so may have to give up with that/try it on my home wifi at the weekend.
On reflection, there's probably some good reasons why it's been set up this way. I believe actually that STOMP isn't the be all and end all of it anyway. It's a way of connecting to Active MQ. .And after all, there are all these myriad options available. I'd also say once you have STOMP installed and working it IS quite straightforward. It is poorly supported out there though and googlings for answer can lead you down all sorts of roads.
Hi AndrewOn 30 Mar 2015, at 11:22, Andrew Carson <apcar...@gmail.com> wrote:I didn't know that any data was archived from the https://datafeeds.nationalrail.co.uk/, I only thought I could subscribe to a live feed? Where do I get the archived data and what programme should I play round with it in?On the ‘My Feeds’ page, there’s details for an FTP server. Log in to there and in one of the directories, you’ll find a load of pPort log files from the current day. Download these - they’re in XML, one record per line.And with your last point you would advise setting up the processing and collection at the same time to save future faffing around?
ie so it is only calling the data I want?You could do it either way - collect and process the messages in real-time, or you could collect the messages during the course of the day and process them after the event if you didn’t need to run real-time.Peter