3.2.2. pypago.grid.create_grid¶
- pypago.grid.create_grid(coord, jmin=None, jmax=None, imin=None, imax=None)¶
Returns a Grid instance associated with the input coord argument. If it is a pypago.coord.GfdlCoords object, then it returns a
pypago.grid.GfdlGrid
object. Else, it returns apypago.grid.CommonGrid
object.- Parameters
- :param
pypago.coords.Coords
coord: Coordinate object associated with the grid file (longitude, latitude, mask of the entire domain, used in the file extraction)