get_time_from_granule_contents

SingleMeasurementPerFileDataset.get_time_from_granule_contents(p)

Get datetime objects for beginning and end of granule

If it returns None, then use same as start time.

Parameters:

p (pathlib.Path) – Path to file

Returns:

2-tuple for start and end times

Return type:

(datetime, datetime)