eomatch.status.status#
- eomatch.status.status(api_url: str, config=None) None[source]#
Print a status summary of the central catalogue to stdout.
Connects to the STAC API at api_url and reports item counts and date ranges for every collection. Works against both the internal (
/api/) and external (/external/) endpoints.Item counts are read from the
contextextension in pgSTAC search responses and shown as?when unavailable.Example:
from eomatch.status import status status("http://your-server:8000/api/")
- Parameters:
api_url – base URL of the STAC API (e.g.
http://server:8000/api/).config – path to a eomatch YAML config file, or a dict of overrides. If
None, the package defaults are used. Thequery.api_urlconfig key is used when api_url is not given.