windkit.spatial.equal_spatial_shape

windkit.spatial.equal_spatial_shape(obj_a, obj_b)[source]

Check if two spatial objects have the same shape.

Parameters:
  • obj_a (xr.Dataset or xr.DataArray) – Spatial object.

  • obj_b (xr.Dataset or xr.DataArray) – Spatial object.

Returns:

True if the objects have the same shape, False otherwise.

Return type:

bool