find_dir_for_time

MultiFileDataset.find_dir_for_time(dt)[source]

Find the directory containing granules/measurements at (date)time

For a given datetime object, find the directory that contains granules/measurument files for this particular time.

Parameters:

dt (datetime.datetime) – Timestamp for inquiry. In reality, any object with year, month, and day attributes works.

Returns:

pathlib.Path object pointing to to relevant directory