OpenSR-Utils Preview Released: A package to handle patching, tiling and overlapping for SR Products

We’re happy to introduce OpenSR-Utils, a lightweight and flexible Python package for applying super-resolution to raw Sentinel-2 imagery using your own PyTorch or PyTorch Lightning models. Whether you’re working with .SAFE folders straight from Copernicus or standard .tif files, this utility handles everything from patching and inference to georeferenced output saving—making it easier than ever to apply SR models to real satellite data.

What Can You Do with OpenSR-Utils?

  • Seamlessly read Sentinel-2 .SAFE format or custom TIFF images

  • Apply SR to 10m and 20m bands separately, using different models

  • Process images in overlapping patches to reduce edge artifacts

  • Automatically write georeferenced outputs at the original resolution

  • Support for both torch.nn.Module and LightningModule, with multi-GPU acceleration enabled for the latter

  • Includes an experimental artifact reduction mode using eliminate_border_px and overlap parameters

Whether you’re doing large-scale inference, testing custom models, or integrating SR into an operational EO pipeline, OpenSR-Utils simplifies the heavy lifting.

See full usage and examples on GitHub or explore the docs here.

⚠️ Note: Some functionalities like eliminate_pixel are still experimental—use with caution. Best results are currently seen with overlap=40 and eliminate_border_px=20.

Usage Example

				
					import opensr_utils
from opensr_utils.main import windowed_SR_and_saving 

# Create SR Object
file_path = "/yourfilepath/S2A_MSIL2A_20230729T100031_N0509_R122_T33TUG_20230729T134559.SAFE/" # define unzipped folder location of .SAFE format
sr_obj = windowed_SR_and_saving(file_path) # create required class object

# Create Model
from yourmodel import sr_model_10m,sr_model_20m
model_10m = sr_model_10m()
model_20m = sr_model_20m()

# perform windowed SR - 10m
sr_obj.start_super_resolution(band_selection="10m",model=model_10m,forward_call="forward",overlap=20, eliminate_border_px=10)
# perform windowed SR - 20m
sr_obj.start_super_resolution(band_selection="20m",model=model_20m,forward_call="forward",overlap=20, eliminate_border_px=10)
				
			

Recent Posts

No-Code SR Demo is now live!

This demo, aimed at non-technical users, allows you to enter your coordinates and create a super-resolution product on your custom Sentinel-2 acquisition. Immediately judge wether SR can be useful for you application!

OpenSR Team @Living Planet Symposium

The OpenSR team joined ESA’s Living Planet Symposium 2025 to present our latest advances in Sentinel-2 super-resolution, dataset standards, and workflows. From latent diffusion models to FAIR-compliant data access with TACO, our tools aim to make high-resolution Earth observation more accessible and actionable.

New Release: OpenSR-UseCases Package

A lightweight validation toolkit to benchmark segmentation performance across low-, super-, and high-resolution imagery. Quantifies how well super-resolution models improve object detection and segmentation accuracy in real-world tasks. Ideal for researchers who want to go beyond visual inspection and measure actual downstream performance gains.

New Preprint: A Radiometrically and Spatially Consistent Super-Resolution Framework for Sentinel-2

We’ve published a new preprint presenting SEN2SR, a deep learning framework for super-resolving Sentinel-2 imagery with radiometric and spatial fidelity. The model leverages harmonized synthetic data, hard constraints, and xAI tools to achieve artifact-free enhancements at 2.5 m resolution.

RGB-NIR Latent Diffusion Super-Resolution Model Released!

Our Latent diffusion model, including weights, for the RGB-NIR bands of Sentinel-2 has been released.

New Publication: LDSR-S2 Model Paper

Our diffusion-based super-resolution model for Sentinel-2 imagery has been published in IEEE JSTARS! The open-access paper introduces a latent diffusion approach with pixelwise uncertainty maps—pushing the boundaries of trustworthy generative modeling in Earth observation.

SEN2NAIP v2.0 Released — A Major Boost for Sentinel-2 Super-Resolution

We’ve released SEN2NAIP v2.0, a large-scale dataset designed for training and validating super-resolution models on Sentinel-2 imagery. The dataset includes thousands of real and synthetic HR-LR image pairs, making it a cornerstone for future SR research in Earth Observation.

New Publication: SEN2NAIP published in ‘Scientific Data’

The dataset paper has been published in 'Scientific Data'.

The OpenSR team contributes to Flood Mapping for the Valencian Flash Floods

Our team at the University of Valencia has released an interactive satellite flood map of the recent Valencia flash floods, using Landsat-8 and Sentinel-2 imagery combined with a machine learning segmentation model. Leveraging super-resolution techniques, we enhanced Sentinel-2 data to 2.5m resolution, enabling more precise flood extent mapping for post-disaster analysis.

OpenSR-Utils Preview Released: A package to handle patching, tiling and overlapping for SR Products

We’ve released a preview of OpenSR-Utils, a Python package to apply super-resolution models on raw Sentinel-2 imagery. With multi-GPU support, georeferenced output, and automatic patching, it’s a practical toolkit for real-world remote sensing pipelines.

SUPERIX: Intercomparison Excercise

Presenting SUPERIX: a community-driven benchmark to rigorously compare super-resolution models for Sentinel-2 data. Using real-world datasets and tailored metrics, SUPERIX aims to uncover the true impact of SR techniques on remote sensing accuracy.

Team attends ESA SUREDOS Workshop in Frascati

Our team attended the ESA SUREDOS Workshop to discuss the role of super-resolution in enhancing Earth Observation data. The event explored cutting-edge deep learning techniques and the importance of reliable, domain-specific validation for scientific and operational EO applications.

New Publication: OpenSR-Test theoretical framework has been published

OpenSR-test is now published in IEEE GRSL! Our new paper introduces a rigorous benchmark for evaluating super-resolution in remote sensing with real-world datasets and meaningful metrics.

OpenSR-Test Framework and Datasets Released

Our framework to validate supre-resolution results is now published. It can take any SR model and create sophisticated validation metrics over mutliple datasets, enhancing the comparability of methodologies.

OpenSR-Degradation Released: Package to create Syntehtic Training Data

We’ve released OpenSR-Degradation, a toolkit to generate synthetic Sentinel-2-like imagery from NAIP using statistical, deterministic, and variational models. This open-source pipeline enables large-scale training and benchmarking for cross-sensor super-resolution.