This tool enables users to easily ingest data into a BYOC (Bring Your Own Collection) in Sentinel Hub / Copernicus Data Space Ecosystem.
- Clone this repository
- Choose one of the following methods to install the required dependencies:
pip install -r requirements.txtconda env create -f environment.yml
conda activate sentinel-byocThe tool uses a config.json file to securely store your credentials and configuration parameters.
Create a config.json file in the root directory of the project with the following structure:
{
"sentinel_hub_client_id": "your-sentinel-hub-client-id",
"sentinel_hub_client_secret": "your-sentinel-hub-client-secret",
"s3_username": "your-s3-username",
"s3_password": "your-s3-password",
"bucket_url": "your-s3-bucket-url"
}Replace the placeholder values with your actual credentials:
-
CDSE Sentinel Hub OAuth Credentials
sentinel_hub_client_id: Your Sentinel Hub Client IDsentinel_hub_client_secret: Your Sentinel Hub Client Secret
-
S3 Storage Access Credentials
s3_username: Your S3 storage usernames3_password: Your S3 storage passwordbucket_url: The URL of your S3 bucket (e.g., "eodata.dataspace.copernicus.eu")
You can run the ingestion pipeline by using the provided Jupyter Notebook: BYOC_Data_Ingestion.ipynb.