What is this train doing?

In the morning I frequently am blocked by a train. I don’t mind too much, but it seems to be taunting me. It moves forward for a while, then stops and then goes back! Back and forth back and forth until I am ready to - well, never mind, I don’t want you to have to testify later. Anyway, what the heck is going on?

This anywhere near a railyard? It sounds like a train loading up cars. They move forwatrd until the rear of the train is beyond a switchpoint to a track section with cars to be loaded, then backs up to engage the coupling mechanism. Repeat until all cars are loaded.

Not as far as I know. York PA may have a railyard, but if so, I’m unaware of it.

There’s one.

And that’s exactly what’s happening. I live near a switchyard myself.

But it doesn’t have to be by a railyard. There are switching tracks that run beside the normal tracks. Cars will be dropped off on these tracks and then picked up later by a different train. These can be close to a plant or refinery that has some rail traffic.

I have first hand experience with this exact same thing, luckily the switching usually happens far enough from the crossing I have to take daily that I don’t get stuck by the tediously slow switching trains. It also happens a lot in the middle of the night, you can hear the train cars banging like mad.

It could have been servicing an industrial spur. For example, the tail light plant where I used to work had a spur out back, along the dock. When the train came to call:
It stopped at the switch, and left some cars on the track.

The switch was thrown, and part of the train ran down the spur, picking up two full boxcars of outgoing goods and two empty tank cars.

The train went back to the main track, and the switch was thrown back.

It backed up to pick up two empty boxcars and two tank cars full of plastic pellets.

Forward again past the switch, which was thrown again, then back down the spur.

Dropped off the empty (or full of empty cargo cages) boxcars and the full tank cars.

Back out to the main track, threw the switch, back up to reunite the rest of the train.

Then, the train left. All that took about 20 or 30 minutes, and a string of impatient motorists had to wait at a crossing.

A lot of jurisdictions have a time limit for a train blocking a public road, and if it is blocked longer than the limit, the railroad can be fined. There have even been cases of cops writing the engineers a ticket. Unfortunately, Pennslyvania does not have such a time limit.

From the FRA

I suspect you’re talking about West Market Street in York, near the Route 30 bypass. That is adjacent to the yard for MA & PA Railroad (Maryland & Pennsylvania), a short line handling goods to Hanover and other places.

I’d presume that ‘blocking’ a crossing suggests leaving a train parked across it? If it’s shunting, then surely it’s using the crossing?

I have some kind of spur or train facility near where I live–after the trains been blocking the roads (there’s a few seperated by a quarter-mile or so) for a certain length of time, railroad employees in trucks come out and seperate the cars just at one of the crossings. Wonder if that has to do with a legal time limit, or they’re just being nice…

In my city, it’s illegal for a train to block a crossing for more than 10 minutes total. There’s no distinction (that I’m aware of) between “using” and “blocking,” thus trains must be held to certain length/speed standards.

Note that this does not apply to the railyard and nearby crossing which lie outside the city limits.

In that .pdf I linked to, there are different limits in certain states if the train is moving or stopped, and sometimes exceptions from fines if there is a mechanical problem.

Most states only allowed 5 or 10 minutes total.