This repository contains a scaffold for the respository structure required for Euro Data Cube - Insights On Demand (aka BYOA Bring Your Own Algorithm) if the algorithm is provided through an OGC application package as defined trough CWL.
The sample algorithm uses this sample CWL file to generate the NDVI for S2L2A products as
- transparently resolved via
https://earth-search.aws.element84.com/v1/search?datetime=$time_range&intersects=$aoi&collections=sentinel-2-l2a
(also see parameters below) and - automatically staged-in (i.e. downloaded and bound) to the process.
While the EOEPCA ADES building block is internally used to execute the process as defined through CWL, this complexity is abstracted away by the BYOA engine.
From provider perspective it is only necessary to
- bring a specific CWL file to describe the algorithm
- define the resolution strategy via STAC API (e.g.
https://earth-search.aws.element84.com/v1/search
) to get the products automatically staged-in for processing - come up with a pricing model for the offer on EDC marketplace
Please consult the EDC documentation for more information.
This algorithm can be onboarded to the EDC platform using the following parameter specification:
[
{
"description": "Area of interest",
"id": "aoi",
"name": "Area of interest",
"optional": false,
"type": "bbox"
},
{
"description": "Time Range",
"id": "time_range",
"name": "Time Range",
"optional": false,
"type": "daterange"
}
]