API reference#
This page provides an auto-generated summary of eomatch’s API. For more details and examples, refer to the relevant chapters in the user guide.
Domain model#
|
Interface event of satellites crossing each other |
Return a STAC Item representing this matchup event. |
|
Reconstruct a MatchupEvent from a STAC Item. |
|
Prepare one scrappi query per collection/platform pair in this MatchupEvent. |
|
STAC Item ID for this matchup event. |
|
Return platform names joined by underscore. |
|
|
Container for |
|
Interface collocated products |
Returns polygon of collocation region for matchup products |
|
Returns earliest start time and latest stop time of matchup products |
|
Returns the absolute time difference between matchup product start times in seconds |
|
|
Returns the time difference |
Return match-up dataset by downloading the products if required, reading in data for each product and assembling a match-up DataTree. |
|
|
Return a STAC Item representing this matchup. |
|
Reconstruct a Matchup from a STAC Item. |
STAC Item ID for this matchup, or |
|
|
Container for |
Returns collection sets of matchups within matchup set |
Discovery#
|
Finder for collocated pairs of satellite image products. |
Run the full matchup discovery pipeline. |
|
Return an |
|
Filter a list of raw orbitx events against the bounds in the context config. |
|
|
Convert raw orbitx event dicts to |
|
Query scrappi for each event and build per-event |
Cataloguing#
|
STAC catalogue organising matchup events and matchup items. |
|
Add a MatchupEvent to the catalogue, returning its STAC Item. |
|
Add a Matchup and its source products to the catalogue, returning its STAC Item. |
|
Return MatchupEvents from the catalogue, each with its MatchupSet populated. |
|
Normalise hrefs and write the catalogue to disk. |
|
Open an existing catalogue from a root |
Download all source products for the given events and register each as a |
|
|
Add or replace a STAC asset on a product Item in the catalogue. |
|
Add or replace a STAC asset on a matchup event Item in the catalogue. |
|
Add or replace a STAC asset on a matchup Item in the catalogue. |
Add or replace a STAC asset on the matchup Collection (e.g. |
|
Add or replace a STAC asset on the matchup-events Collection (e.g. |
|
|
Remove a STAC asset from a product Item, optionally deleting the local file. |
|
Remove a STAC asset from a matchup event Item, optionally deleting the local file. |
|
Remove a STAC asset from a matchup Item, optionally deleting the local file. |
Remove a STAC asset from the matchup Collection, optionally deleting the local file. |
|
Remove a STAC asset from the matchup-events Collection, optionally deleting the local file. |
Central catalogue#
|
Push a local pystac catalogue into a pgSTAC database. |
|
Pull items from a STAC API and write them to a local pystac catalogue. |
Enrichment#
|
Apply enrichers to every matchup item in catalogue. |
|
Return the signed time difference between the two sensor overpasses. |
|
Return the area and centroid of the collocation region. |
|
Return the solar elevation angle at the collocation centroid midpoint. |
|
Return the fraction of the collocation region that lies over land. |
Pipeline#
|
Run |