I just moved and I live literally window to a freight train line, unfortunately it scares the crap out of my cats and so I’m trying to find out what the schedule is so that I can close the windows for them, and maybe put a little raspberry pi display screen saying something like “next train arriving in…” Next to my window

  • Dr. Bob
    link
    fedilink
    English
    13
    edit-2
    19 days ago

    I don’t know what it’s like where you live, but as rule, who knows? There are scheduled trains which are notoriously unreliable, but also unscheduled trains. Basically whenever there is enough cargo to justify a train it gets put out on the tracks and they move it when they can. Caveat: this is for Canada and is largely based on info from some former neighbors who were conductors and brakemen.

    My sympathy to your cats.

    • @yokonzoOP
      link
      English
      6
      edit-2
      19 days ago

      So real shit they don’t track freight trains? That seems kind of inefficient if I’m honest.

      Then again I’m not a train professional so what do I know

      • Album
        link
        fedilink
        English
        10
        edit-2
        19 days ago

        Freight is definitely tracked but not necessarily scheduled in regular intervals. This is true for both trains and ships. Like it costs so much and the world isn’t always that consistent.

        But yeah like cp/cn/CSX/ns/BNSF etc all know what’s on their lines and where.

        However these lines are fully private unlike aviation so there is no requirement to publically provide any data.

        For planes position data doesn’t even come from the airline but a govt mandated transponder that communicates on public frequency on the aircraft and private websites use a network of recieving radios donated or not spread across the world to provide the public with a service they also try to profit off of. This doesn’t exist for trains as far as I know. And I don’t think for ships either.

      • Dr. Bob
        link
        fedilink
        English
        518 days ago

        They track them, but they’re not all scheduled. If there is enough cargo there they put on a “special” and they will move it between the scheduled trains. Train scheduling and tracking is an art unto itself.

  • @[email protected]
    link
    fedilink
    English
    619 days ago

    There are groups out there that monitor train routes. And some publish to the Web.

    In theory you could hook up an software defined radio and listen to train transponders yourself and give yourself a warning if one is nearby.

  • @yokonzoOP
    link
    English
    3
    edit-2
    19 days ago

    Hey coding nerds, I know you’re nearby, do you think I’d be able to use tensorflow or something to identify an incoming train with this view?

    • @[email protected]
      link
      fedilink
      English
      318 days ago

      You could, but if this is taken from another window in the same building you’ll likely only get ~10 seconds of warning.

      If you could put a couple cameras a mile or so down each direction on the track you could get an earlier warning system

      • @yokonzoOP
        link
        English
        1
        edit-2
        18 days ago

        This is taken from my window, and I’m not sure how I feel about leaving expensive equipment out in a suburban area for anyone to pick up and run off with