Catalogue
NB: This documentation is for developer that want to implement a new Catalogue Provider. For documentation on how to use the catalogue, see User-Guide/Catalogue.
Add a new Catalogue
- In file
catalog/scenes.go, add newProvider instantiation inScenesInventory()method. - For a new constellation/satellite: in file
catalog/common/naming.goadd the constellation name and modifyGetConstellationFromStringmethod. - Add configuration parameters (credentials, endpoint) in
cmd/catalog/main.goandcmd/workflow/main.go. - Implement new catalog in
interface/catalogfollowing the interface:
type ScenesProvider interface {
Supports(c common.Constellation) bool
SearchScenes(ctx context.Context, area *entities.AreaToIngest, aoi geos.Geometry) (entities.Scenes, error)
}
SearchScenes method returns a list of available scenes
- Update the documentation:
- docs/user-guide/catalog.md to describe the new catalogue and explain how to configure it.
- docs/user-guide/payload.md to describe the specific parameters to set in the payload-file to request this catalogue.