unifhy.RotatedLatLonGrid.spans_same_region_as

RotatedLatLonGrid.spans_same_region_as(rotated_grid, ignore_z=False)

Compare equality in region spanned between the RotatedLatLonGrid and another instance of RotatedLatLonGrid.

For each axis, the lower bound of their first cell and the upper bound of their last cell are compared.

Parameters
rotated_grid: RotatedLatLonGrid

The other RotatedLatLonGrid to be compared against RotatedLatLonGrid.

ignore_z: bool, optional

If True, the dimension coordinates along the Z axes of the RotatedLatLonGrid instances will not be compared. If not provided, set to default value False (i.e. Z is not ignored).

Returns

bool