MV2¶
-
commonGrid
(a, b, axes)[source]¶ Common Grid
- Parameters
- commonGrid(a,b,axes)tests if the grids associated with variables a, b are equal
and consistent with the list of axes.
- If so, the common grid is returned, else None is returned.
- a and b can be numpy arrays, in which case the result is None.
- The common grid is ‘consistent’ with axes if the grid axes (e.g., the axes of
- latitude and longitude coordinate variables) are members of the list ‘axes’.
- If the grid(s) of a, b are rectilinear, the result is None, as the grids
- are implicitly defined by the axes.