The passage is confused, and the commas undoubtedly misplaced, but without further revision to the grammar, the placement of the phrase at the end can only mean that the writer intended it to refer to the canal-- which may indeed have been so full of the red weed that the canal looked like a sponge rather than a waterway.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.