The book "Earth, Atmospheric, Ocean, and Planetary Sciences" by MIT is available in PDF format online. You can download the book from the MIT OpenCourseWare website, which provides free online access to course materials and publications.
Legitimate open-access platforms provide free, high-quality textbooks in PDF format: LibreTexts Geosciences earth atmospheric ocean and planetary sciences book pdf