unifhy.BritishNationalGrid.spans_same_region_as

BritishNationalGrid.spans_same_region_as(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
grid: BritishNationalGrid

The other BritishNationalGrid to be compared against BritishNationalGrid.

ignore_z: bool, optional

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

Returns

bool