Tools \ EOreader
A remote-sensing library reading many optical and SAR constellations, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
Source codeMaturity : Stable | Categories : Data Access | License : | Producer : ICube-SERTIT
Overview
EOReader is a remote-sensing opensource python library reading many optical and SAR constellations, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
EOReader implements sensor-agnostic features:
-
load: Load many band types: satellite bands (optical or SAR) / index / cloud bands / DEM bands
-
stack: Stack all these type of bands
EOReader works mainly with:
-
xarrays.DataArray and xarrays.Dataset for raster data
-
geopandas.GeoDataFrames for vector data (extents, footprints…)
Usage example
A notebook that explore the different features of EOreader is available here
To quickly start with that library you can read the follow example:
from eoreader.reader import Reader
from eoreader.bands import *
# Sentinel-2 path
s2_path = "S2B_MSIL1C_20181126T022319_N0207_R103_T51PWM_20181126T050025.SAFE"
# Create the reader object and open satellite data
reader = Reader()
# The reader will recognize the constellation from its product structure
s2_prod = reader.open(s2_path)
# Load some bands and index
bands_opt = s2_prod.load([NDVI, GREEN, CLOUDS]) # for optical
# Create a stack with some bands
stack = s2_prod.stack([RED, GREEN, BLUE], stack_path="s2_rgb_stack.tif")
Resources
Tutorials
There is no available tutorial for this tool.