sisppeo.readers.reader.Reader¶
- class sisppeo.readers.reader.Reader(input_product, requested_bands, geom=None, **_ignored)[source]¶
Bases:
abc.ABC
Abstract class inherited by every specific reader.
- __init__(input_product, requested_bands, geom=None, **_ignored)[source]¶
Inits Reader with specific settings.
- Parameters
input_product – The path of the input product (multispectral spaceborne imagery).
requested_bands – A list of bands to be extracted.
geom – A dict containing geographical information that define the ROI. 4 keys: geom (a shapely.geom object), shp (a path to an ESRI shapefile), wkt (a path to a wkt file) and srid (an EPSG code).
**_ignored – Unused kwargs sent to trash.
Methods
__init__
(input_product, requested_bands[, geom])Inits Reader with specific settings.
Creates a xr.Dataset out of Reader params and extracted information.
Opens the input product and extracts bands and metadata.