The story of the flood spans roughly three chapters of the Torah, yet it has no practical Halachic value. It describes numerous miraculous events that have no relation to the Jewish people and tradition.
Neither it has any scientific knowledge or value that can be learned from, moreover, it contradicts the empirical findings in practically every aspect.
Noah wasn't a Jew, so his behavior can't be exemplary for us, saving himself from the flood and then getting drunk is not something to brag about.
The judgment of sinners, as described, was also pretty meaningless for the history: G-d didn't try to stop them but thought that building the Arc alone will suffice to signal them Heavenly rage and justify the extermination of humanity.
Unlike the Exodus, G-d didn't have to fight other gods or forces, so He wasn't so "tremendous" and praiseworthy.
IMHO, the story could easily be summarized in a couple of short sentences saving the ink for expounding some more useful pearls of wisdom, such as "Love thy neighbor" and the rest of it would be saved for Midrashim.
Did anybody address the necessity of the Torah to lengthen the story so much? In other words, why it was absolutely necessary to present this story in such great detail?
Note: I don't say we learn nothing from it, we learn from everything I only question the length. Please do not comment "we do learn that or that".