Actually a Thel-Mar weir would fit in a pipe and is a compound weir. You can find more at http://thel-mar.com/
Thel-mar weirs are available from the likes of Pollard Water, USABlueBook, etc.
Keep in mind, though, that you would have to either visually read the level / flow rate or use the...