work--surface domain management cannot also like the example because all of us have had to write bibliographyand the idea of "sources(booksarticlesvery nicely lends itself to being thought of as an "object but can the oop way of thinking help us in decomposing geosciences problemin this sectionwe consider class for managing surface domains ( latitude-longitude domaini present the task of defining the class as an exercise and give two possible solutions the exercise and solutionswhile valuable in and of themselvesoffer nice illustration of how oop enables atmospheric and oceanic scientists to write more concise but flexible code for handling scientific calculations exercise (defining surfacedomain class)define class surfacedomain that describes surface domain instances the domain is land or ocean surface region whose spatial extent is described by latitude-longitude grid the class is instantiated when you provide vector of longitudes and latitudesthe surface domain is regular grid based on these vectors surface parameters ( elevationtemperatureroughnessetc can then be given as instance attributes the quantities are given on the domain grid in additionin the class definitionprovide an instantiation method that saves the input longitude and latitude vectors as appropriately named attributes and creates - arrays of the shape of the domain grid which have the longitude and latitude values at each point and saves them as private attributes ( their names begin with single underscore