This is true for other people in other places, but the Chinese records are quite detailed. Of course, the Wikipedia article tries to link the ancient stories to some river floods, or something like that.
https://en.wikipedia.org/wiki/Great_Flood_(China)
The Great Flood of Gun-Yu (Chinese: 鯀禹治水), also known as the Gun-Yu myth,[1] was a major flood event in ancient China that allegedly continued for at least two generations, which resulted in great population displacements among other disasters, such as storms and famine. People left their homes to live on the high hills and mounts, or nest on the trees.[2] According to mythological and historical sources, it is traditionally dated to the third millennium BCE, or about 2300-2200 BCE, during the reign of Emperor Yao.
https://en.wikipedia.org/wiki/Jie_of_XiaDuring the reign of King Jie of Xia, there was a great climatic change. Legends hold that the paths of the sun and moon changed, the seasons became confused, and the five grains dried up. Ghouls cried in the country and cranes shrieked for ten nights.
As Jie's reign went on, the histories record unusual and increasingly dire natural phenomena. These began in the 10th year of Jie's reign, when five stars were seen in the sky in alignment and a meteor shower occurred, followed by an earthquake
Records from the later Qin Dynasty say that during the last year of Jie's reign, ice formed during the summer mornings and frost occurred through July. Heavy rainfall toppled buildings, hot and cold weather arrived in disorder, and crops failed.