RasterType.get_date

RasterType.get_date(file: Path | str) datetime[source]

Extracts the timestamp of the raster from the input file

Parameters:

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

Returns:

Timestamp of the input file

Return type:

datetime.datetime