RasterType.get_group

RasterType.get_group(file: Path | str, group: str) str[source]

Extracts a group from the input file using the product pattern

Parameters:
  • file (Path or str) – Product name or path to analyse

  • group (str) – Name of the group to extract

Returns:

Group extracted from the raster file

Return type:

str