RasterType.find

static RasterType.find(file: Path | str)[source]

Gets the raster type corresponding to the input file

Parameters:

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

Returns:

the RasterType corresponding to the input file

Return type:

eolab.georastertools.product.RasterType