grids.base.GridBase.ndim# property GridBase.ndim: int# The number of spatial dimensions in the grid. This is inferred from the associated coordinate system’s number of dimensions. Returns: The number of dimensions in the grid. Return type: int