find_most_recent_granule_before

ERAInterim.find_most_recent_granule_before(instant, **locator_args)

Find granule covering instant

Find granule started most recently before instant.

Parameters:
  • instant (datetime.datetime) – Time to search for datetime for which a granule is sought beginning of dataset.

  • **locator_args – Any other keyword arguments that the particular dataset needs. Commonly, satname is needed.

Returns:

pathlib.Path object for sought granule.