eomatch.enrich.time_diff.time_diff

Contents

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_time where products are sorted alphabetically by collection name, matching the order stored by Matchup. The absolute value equals the matchup:time_diff_abs property already written by to_stac_item().

Parameters:

matchupMatchup to enrich.

Returns:

{"time_diff_s": float}