eomatch.enrich.time_diff.time_diff#
- eomatch.enrich.time_diff.time_diff(matchup) Dict[str, Any][source]#
Return the signed time difference between the two sensor overpasses.
Uses
products[1].start_time - products[0].start_timewhere products are sorted alphabetically by collection name, matching the order stored byMatchup. The absolute value equals thematchup:time_diff_absproperty already written byto_stac_item().- Parameters:
matchup –
Matchupto enrich.- Returns:
{"time_diff_s": float}