Text this: Flow invariants in a channel obstructed by a line of inclined rods