eomatch.MatchupEvent

eomatch.MatchupEvent#

class eomatch.MatchupEvent(collections: List[str], platforms: List[str], start_time: datetime, stop_time: datetime, latitude_minimum: float, longitude_minimum: float, latitude_maximum: float, longitude_maximum: float, context: EOMatchContext | None = None, assets: Dict[str, Asset] | None = None)[source]#

Interface event of satellites crossing each other

Parameters:

products – list of product info dictionaries (from scrappi.return()

__init__(collections: List[str], platforms: List[str], start_time: datetime, stop_time: datetime, latitude_minimum: float, longitude_minimum: float, latitude_maximum: float, longitude_maximum: float, context: EOMatchContext | None = None, assets: Dict[str, Asset] | None = None) None[source]#

Methods

__init__(collections, platforms, start_time, ...)

from_stac_item(item)

Reconstruct a MatchupEvent from a STAC Item.

get_scrappi_queries()

Prepare one scrappi query per collection/platform pair in this MatchupEvent.

plot([ax, show_bbox, tick_step])

Plot the product footprints for all matchups in this event's matchup_set, coloured by collection.

to_stac_item()

Return a STAC Item representing this matchup event.

Attributes

matchup_set

platformstring

Return platform names joined by underscore.

stac_id

STAC Item ID for this matchup event.