Skip to main content

HyBRIS

PyPI version License

Optical, radar, and hybrid indices to detect farming practices in Europe

This package offers functions and tools to handle Sentinel-1 and Sentinel-2 time series, and calculate hybrid indices.

Paolo Dal Lago, Lammert Kooistra, Nandika Tsendbazar, Kirsten de Beurs

Laboratory of Geo-Information Science and Remote Sensing (GRS), Wageningen University & Research

Please refer to DOI for more information: https://www.sciencedirect.com/science/article/pii/S0034425726003238

Install

pip install hybris

Requirements

To download Sentinel-1 and -2 time series, Earth Engine must be installed. To install the Google Earth Engine api:

pip install "hybris[gee]"

When your Google Earth Engine project is setup, it needs to be authenticated and initialized.

The Sentinel-1 preprocessing function uses the gee_s1_ard Python API; see its installation instructions in the function documentation. Clone the repository (https://github.com/adugnag/gee_s1_ard) inside the python environment you are using to make it work.

Quickstart

The example below reads prepared field-level CSV files, creates optical and radar indices, fuses them into a daily series, and detects farming events.

from hybris import (openSentinel1file, openSentinel2file, add_vis, add_vis_radar,
    calculate_hybris_vectorized, find_maxima, find_minima)

bands_s2 = ["B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B8A", "B11", "B12"]
bands_s1 = ["VV", "VH", "angle"]
s2 = add_vis(openSentinel2file("examples/data/Sentinel2_example.csv", bands_s2))
s1 = add_vis_radar(openSentinel1file("examples/data/Sentinel1_example.csv", bands_s1))
hybris = calculate_hybris_vectorized(s1, s2)
maxima = find_maxima(hybris)
minima = find_minima(hybris)

For a complete workflow including orbit selection, ground truth, validation, and plots, run examples/hybris_example.py.

Method summary

The HyBRIS methodology combines one optical and one radar index into a daily, field-level time series. Here, Sentinel-2 observations of the Bare Soil Index (BSI) and Sentinel-1 VH/VV observations are normalized and aggregated with a temporally weighted mean within a +/-12-day window. Closer observations have greater influence, which helps bridge irregular acquisitions and sensor-specific gaps. A centered rolling mean is used alongside the unsmoothed series to detect local minima and maxima associated with sowing, harvest, and tillage.

The index is unitless and is intended to stabilize complementary signals, not to estimate a physically true variable. Because percentile normalization is computed over the selected observation period, the time range affects the index amplitude.

Calculation of HyBRIS from inverted BSI (Sentinel-2) and VH/VV (Sentinel-1)

Repository layout

src/hybris/     Package implementation and public API
examples/       Runnable scripts and example input data
Dataset/        Research dataset and field-level time series
docs/           Figures and supporting documentation
tests/          Package smoke tests

Examples

More information

Citation

Paolo Dal Lago, Lammert Kooistra, Nandika Tsendbazar, Kirsten de Beurs, "Optical, radar, and hybrid indices to detect farming practices in Europe," Remote Sensing of Environment, volume 344, 2026, 115553, DOI: https://doi.org/10.1016/j.rse.2026.115553.

License

HyBRIS is released under the MIT License.

Metadata

Release files for hybris 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hybris 0.1.0
File Size Uploaded Provenance Actions
hybris-0.1.0.tar.gz 21.1 kB Without provenance Details for hybris-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hybris 0.1.0
File Interpreter ABI Platform Actions
hybris-0.1.0-py3-none-any.whl Python 3 none any Details for hybris-0.1.0-py3-none-any.whl

Total release size: 42.6 kB

Release files / hybris-0.1.0.tar.gz

Download URL hybris-0.1.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5ebf9e38620e2c2fb56719630415cf49d2fff6070b34a82a2174078787e3449f
BLAKE2b-256 checksum
How to use checksums
72c13b0ce9a6d99c486511f91e7f061c84d00198fbf13319d71cb86223f95ccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / hybris-0.1.0-py3-none-any.whl

Download URL hybris-0.1.0-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06c445de2985b8ab1565e4fe6753919da6b83278ebc34694bfda3c82e9ea4a20
BLAKE2b-256 checksum
How to use checksums
68760be8a2b59cacee1d4dae65962a4f11f0667a74e96c966bcee9e0cb46b92a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for hybris 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page