Heavy rainstorms caused two floods in Thompson Memorial Library, damaging more than 1,500 books.