Northeast Corridor, Surfliner, and other real-world timetables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shawmut
    Senior Member

    • Oct 2008
    • 548
    • Albuquerque, New Mexico, USA
    • General

    #16
    Originally posted by rman
    Folks, if you just want to play my timetables, there's no need to touch autotable.exe. You can download ready-made .timetable-or files from here. (GitHub sign-in required, unfortunately; it's not up to me. I can upload to somewhere else by request.) autotable is for developers. You would use it to modify information that's specified in the base recipe, like consist and path names, station wait times, and speed limits - or to build a new timetable for another route.

    Was I perhaps not clear enough in the repository text? Do you think I should clarify?
    Oddly enough, and even though I do have a GitHub account, when I click on your "here" link I just get a list of actions you've done by date and time. If I go to <>Code and click on the big green Download button, the resulting zip file does NOT have the individual .timetable-or files, just the timetablelist-or file plus the individual .yaml files. So for example, for USA1A you find the All Northeast Corridor.timetablelist-or file, plus the individual .yaml files like "Amtrak - Fri Aug 2018.yaml."

    So that's why I used autotable, and I have to say following your instructions it works to a "T" ... very impressive. Like user "curley" this has given me lots of ideas and using autotable is really very, very easy.

    But I'll be doggone if I can find those ready-made timetable-or files ...

    David

    Comment

    • rman
      Member
      • Nov 2011
      • 99
      • California, USA

      #17
      Originally posted by Shawmut
      Oddly enough, and even though I do have a GitHub account, when I click on your "here" link I just get a list of actions you've done by date and time. If I go to <>Code and click on the big green Download button, the resulting zip file does NOT have the individual .timetable-or files, just the timetablelist-or file plus the individual .yaml files.
      You were almost there! You want to select the latest commit and download the "All timetables" artifact.

      Comment

      • Shawmut
        Senior Member

        • Oct 2008
        • 548
        • Albuquerque, New Mexico, USA
        • General

        #18
        Originally posted by rman
        You were almost there! You want to select the latest commit and download the "All timetables" artifact.
        Ah, thanks, Ryan; see it now. Almost feels like cheating getting them ready made

        Quick question: what do the 2 Dash9's coupled together represent? I've been switching out the default stock for some actual MARC stock and would like to do the same for these.

        Thanks,

        David

        Comment

        • rman
          Member
          • Nov 2011
          • 99
          • California, USA

          #19
          Originally posted by curley
          No, this is just the base game. Guess I can make a mini-route and try that.
          Originally posted by gammaray84
          So, i guess if you don't have mini-route, it will not work?
          Okay, so I've figured out the issue - autotable's loader was erroring out if you didn't have an MSTS data folder that was perfectly structured. So if you had a stray folder in your ROUTES\ folder, for example, you were sunk. It had nothing to do with mini-routes versus full installs.

          I have released a hotfix to fix the issue. Hopefully, the program will now work for both of you.

          Originally posted by curley
          I like the idea and it would be great to use on some routes like Cajon 4.2 and heavy commuter routes like some of the UK and Indian Railways ones, just a little interesting that it seems to only work on mini-routes.
          Stay tuned, I have a Cajon Pass timetable in the works.

          Also, side note - the GTFS format has seen scant adoption outside of North America and Europe, so you might have trouble finding data for railways outside of those regions. I had wanted to produce a timetable for the default Tokyo-Hakone route but was frustrated by the lack of data.

          Comment

          • rman
            Member
            • Nov 2011
            • 99
            • California, USA

            #20
            Originally posted by Shawmut
            Quick question: what do the 2 Dash9's coupled together represent? I've been switching out the default stock for some actual MARC stock and would like to do the same for these.
            Just an MP36 double header, that's all.

            Comment

            • gammaray84
              Senior Member
              • Dec 2018
              • 180

              #21
              Yes it is working. Thank you for your work. Very interesting thing you got here i must say.
              Looking forward to more timetables in the future.

              Have a good day all

              Comment

              • rman
                Member
                • Nov 2011
                • 99
                • California, USA

                #22
                Cajon Pass is up!

                Comment

                • Shawmut
                  Senior Member

                  • Oct 2008
                  • 548
                  • Albuquerque, New Mexico, USA
                  • General

                  #23
                  Originally posted by rman
                  Just an MP36 double header, that's all.
                  I rather thought that, see photos below. Many thanks again, Ryan.

                  David

                  MARC_1.jpg MARC_2.jpg MARC_3.jpg

                  Comment

                  • rman
                    Member
                    • Nov 2011
                    • 99
                    • California, USA

                    #24
                    Looking beautiful!

                    Comment

                    • curley
                      Member
                      • Sep 2006
                      • 65
                      • San Diego

                      #25
                      Working fine now. Thanks for your help and thanks for the Cajon timetables!
                      Ryan

                      Comment

                      • rman
                        Member
                        • Nov 2011
                        • 99
                        • California, USA

                        #26
                        Two more routes today: Glorieta Pass (Amtrak/Rail Runner) and the Piedmont Corridor (Amtrak).

                        Comment

                        • rman
                          Member
                          • Nov 2011
                          • 99
                          • California, USA

                          #27
                          Cardinal and Hoosier State timetables have been added for the Monon route. There's also a New Haven Line timetable that... sort of works. There are massive backups during rush hour.

                          Comment

                          • juk123
                            New Member
                            • May 2013
                            • 5

                            #28
                            Hey rman, I appreciate your efforts with automating the OR timetable creation which is a tedious process. However, when creating a TT with this GTFS http://cdn.buenosaires.gob.ar/datosa...renes-gtfs.zip all i get is an error:
                            C:\Users\franio\Downloads\DODADTKI_MSTS\autotable-1.1-amd64\autotable-1.1-amd64>
                            autotable.exe "C:\MSTS\Train Simulator" "C:\Users\franio\Downloads\DODADTKI_MSTS
                            \autotable-1.1-amd64\autotable-1.1-amd64\FCGBMv3.yaml
                            Loading MSTS/ORTS installation ...
                            Reading recipe ...
                            Traceback (most recent call last):
                            File "D:\Projects\autotable\venv\lib\site-packages\pandas\core\indexes\base.py
                            ", line 2897, in get_loc
                            File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get
                            _loc
                            File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get
                            _loc
                            File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.has
                            htable.PyObjectHashTable.get_item
                            File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.has
                            htable.PyObjectHashTable.get_item
                            KeyError: 'agency_id'

                            During handling of the above exception, another exception occurred:

                            Traceback (most recent call last):
                            File "D:\Projects\autotable\venv\lib\site-packages\cx_Freeze\initscripts\__sta
                            rtup__.py", line 40, in run
                            File "D:\Projects\autotable\venv\lib\site-packages\cx_Freeze\initscripts\Conso
                            le.py", line 37, in run
                            File "autotable/main.py", line 456, in <module>
                            File "autotable/main.py", line 88, in main
                            File "autotable/main.py", line 280, in load_config
                            File "autotable/main.py", line 159, in load_gtfs
                            File "D:\Projects\autotable\autotable\gtfs.py", line 45, in __init__
                            File "D:\Projects\autotable\venv\lib\site-packages\pandas\core\frame.py", line
                            2995, in __getitem__
                            File "D:\Projects\autotable\venv\lib\site-packages\pandas\core\indexes\base.py
                            ", line 2899, in get_loc
                            File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get
                            _loc
                            File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get
                            _loc
                            File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.has
                            htable.PyObjectHashTable.get_item
                            File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.has
                            htable.PyObjectHashTable.get_item
                            KeyError: 'agency_id'

                            Comment

                            • rman
                              Member
                              • Nov 2011
                              • 99
                              • California, USA

                              #29
                              Hi juk123,

                              I have released a new autotable version, 1.1a, that should now load your feed successfully. You can find it here.

                              Comment

                              • aj47484
                                New Member
                                • Oct 2020
                                • 4

                                #30
                                Hey guys, I'm a new user of Python. The Autotable solution to Timetable editing has got my interest and after many hours trying to make sense of it all I'm still lost after countless error messages. So I'd like to start from scratch and follow the tutorial on github. Any help would be amazing thanks.

                                Quickstart

                                Download autotable

                                Under 1.1 hotfix I click the "Assets" drop down and save the file autotable-1.1a-amd64.zip 151MB I'm guessing the GTFS kit is included with the internal reader and needs no downloading?

                                Comment

                                Working...