geodata.Mask.get_res

geodata.Mask.get_res#

geodata.Mask.get_res(layers: Iterable[str] | None = None, product: bool = False) dict[str, tuple[float, float]]#

Get resolutions of layers.

Parameters:
  • layers (Iterable[str]) – The list of layers to get resolution. If not specified, select all layers in the object.

  • product (bool) – Whether the method returns the product of the grid cell height and width. By default this is set to False.

Returns:

A dictionary with layer names as keys and resolution as values.

Return type:

dict