OpenSAR Insight – From space to action: AI-powered satellites detecting floods, dark vessels, and radio interference instantly
OpenSARInsight
OpenSARInsight is an early-phase project developing ML-ready datasets and algorithms for direct insight generation from raw SAR data. This is a first step toward efficient onboard implementation of end-to-end SAR inference pipelines for low-latency applications.
This project has been funded and supported by ESA’s Φ-lab.
This repository contains all software required to generate AI-ready datasets from Sentinel-1 SAR, preprocess SAR imagery, train deep learning models, validate their performance, and perform inference across multiple Earth Observation applications.
Current supported applications include:
- Vessel Detection
- Flood Detection
- Radio Frequency Interference (RFI) Detection
Authors
- Indra Space (profile)
- INTA (National Institute of Aerospace Technology) (profile)
- Universidad de Alcalá de Henares (profile)
Project Reference
OpenSARInsight
Repository Structure
backend/
├── dataset_generation_scripts/
│ ├── sentinelhub-scene-downloader/
│ ├── DVD_dataset_generation/
│ ├── FD_dataset_generation/
│ ├── RFI_dataset_generation/
│ ├── L0_preparation/
│ ├── l0_to_range_compressed/
│ ├── SLC_to_FullRaw/
│ ├── orbital_file_downloader/
│ ├── L1_tiling/
│ └── dataset_splitting/
│
├── docker/
├── pipeline/
│ ├── main/
│ ├── data_preprocessing/
│ ├── dvd_use_case/
│ ├── RFI_usecase/
│ └── geocoding_block/
│
├── SARFI/
├── model_validation/
├── configuration/
├── tests/
└── README.md
Getting Started
1. Setup the Docker Environment
The recommended way to run the backend is inside the provided Docker container.
See:
Typical workflow:
- Build the Docker image.
- Configure
docker_dev.env.
- Launch the development container.
- Install the internal dependencies.
2. Download Sentinel-1 Data
Use the SentinelHub downloader located in
Documentation:
3. Generate Training Datasets
Dataset generation tools are located inside
Each use case has its own dedicated pipeline.
4. Train / Evaluate / Run Models
The main pipeline entry point is
backend/pipeline/main/main_pipeline.py
General syntax:
python main_pipeline.py \
--model <model> \
--mode <mode> \
--tool <tool> \
--extra-args "<args>"
To list all available options:
python main_pipeline.py --list
Complete documentation:
Main Components
Dataset Generation
Location:
This module contains all utilities required to build AI-ready datasets from Sentinel-1 products.
Each directory contains its own README with detailed usage instructions.
Docker Environment
Location:
Provides a fully reproducible development environment including:
- PyTorch
- CUDA
- SNAP
- SAR processing libraries
- Internal OpenSAR packages
See:
AI Processing Pipeline
Location:
Provides training, inference and evaluation for all supported AI models.
Components
Documentation:
SARFI
Location:
SARFI converts timestamped latitude/longitude coordinates into Sentinel-1 SLC coordinates.
Documentation:
Model Validation
Location:
Contains utilities for evaluating model performance across the supported use cases.
Configuration
Location:
Contains shared configuration files used across the project.
Supported AI Models
Current models include:
| Model |
Task |
vd_large |
Vessel Detection |
vd_small |
Knowledge-distilled Vessel Detection |
rfi_large |
RFI Segmentation |
rfi_small |
Lightweight RFI Segmentation |
📊 Supported Processing Levels
The backend currently supports processing at multiple Sentinel-1 data levels:
| Processing Level |
Supported |
| RAW (Level-0) |
Yes |
| Range Compressed |
Yes |
| SLC |
Yes |
| GRD |
Yes |
Documentation
Every major component contains its own dedicated documentation.
Main documentation:
Dataset generation documentation:
Dataset Hosting
The datasets used by the OpenSAR project are hosted on the OpenSAR Insight organization on Hugging Face.
Hugging Face Organization: https://huggingface.co/opensar-insight
The repository hosts datasets for the different OpenSAR use cases, including:
- Vessel Detection
- Flood Detection
- Radio Frequency Interference (RFI) Detection
Datasets contain products at multiple Sentinel-1 processing levels, including:
- Level-0 RAW
- Range Compressed
- Single Look Complex (SLC)
- Ground Range Detected (GRD)
To download datasets using the Hugging Face Hub:
pip install -U huggingface_hub
huggingface-cli login
Example:
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="opensar-insight/<dataset_name>",
repo_type="dataset",
local_dir="./data"
)
Alternatively, datasets can be downloaded directly from:
https://huggingface.co/opensar-insight
Each dataset repository contains: