eurodatacube / eodash-catalog

MIT License
1 stars 0 forks source link

eodash-catalog

This repository allows generation of STAC catalogs based on the configuration yaml files provided in the repository. The configuration options are described in the Wiki.

The generation of the catalog runs automatically through github actions when pushing/merging to main branch. The generated STAC catalogs are deployed through github pages.

A preview of the catalogs can be seen using the Stac Browser

Here are preloaded preview links for the catalogs available through gh-pages:

Development

In order to run the catalog generation locally, install the eodash_catalog tool and run the generation locally via

pip install eodash_catalog
eodash_catalog

Optionally you can generate only a subset of collections using the command line arguments:

eodash_catalog <collection1_file_name> <collection2_file_name>

The catalogs are saved in the build folder. If you want to test the generated catalog locally (either in the Stac Browser or with the eodash client) we recommend using npm http-server, especially to avoid possible CORS issues you can run it for example with following command: npx http-server -p 8000 --cors when located in the build folder.