get_times_for_granule

HIRSPOD.get_times_for_granule(p, **kwargs)

For granule stored in path, get start and end times.

May take hints for year, month, day, hour, minute, second, and their endings, according to self.datefields

Parameters:
  • p (pathlib.Path) – path to granule

  • **kwargs – Any more info that may be needed

Returns:

Start and end time for granule

Return type:

(datetime, datetime)