eoforeststac.catalog.root.build_catalog#
- eoforeststac.catalog.root.build_catalog(versions: Mapping[str, List[str]] | None = None, *, write: bool = True, internal_href_base: str = 's3://dog.atlaseo-glm.eo-gridded-data/collections', build_browser: bool = False, browser_publish_base: str = 'https://s3.gfz-potsdam.de/dog.atlaseo-glm.eo-gridded-data/collections', browser_write_base: str | None = None, catalog_id: str = 'EOForestSTAC', description: str = 'A thematic atlas of forest Earth observation datasets, bringing together global and regional products on biomass, carbon cycling, disturbance, canopy structure, and forest demography to support integrated ecosystem analysis.', title: str = 'EOForestSTAC – EO Forest STAC Catalog', providers: list[dict] | None = None, license_: str = 'various', keywords: list[str] | None = None, about_url: str | None = 'https://github.com/simonbesnard1/eoforeststac', documentation_url: str | None = None) Catalog[source]#
Build the internal EOFOREST root catalog and optionally also write a browser-friendly mirror.
- Internal catalog:
links & write destinations are internal_href_base (typically s3://…)
- Browser mirror:
JSON links use browser_publish_base (https://…), but files are written to browser_write_base (typically s3://…/public) to avoid https write errors.
- Returns:
The internal (s3://) catalog object.
- Return type: