eoio.readers.sentinel3_olci.reader module#
eoio.readers.sentinel3_olci.reader - Sentinel-3 OLCI L1 reader adapter.
This module provides a thin, modern adapter that exposes a simple BaseReader
compatible reader following the sentinel2.reader pattern but re-using the
existing, well-tested implementation in eoio.readers.s3_olci_l1.
- class eoio.readers.sentinel3_olci.reader.OLCIL1Reader(path: Path | str, vars_sel: Dict[str, Any] | None = None, subset: Dict[str, Any] | None = None, read_params: Dict[str, Any] | None = None)[source]#
Bases:
BaseRasterReaderSentinel-3 OLCI L1 reader.
This adapter follows the
eoio.readers.*.readerstyle: it accepts the standard BaseReader constructor arguments and exposesopen()which returns an xarray.Dataset.- Variables:
default_read_params – Default read parameters for the reader.
all_read_params – Documentation strings for supported read params.
- all_read_params = {'chunks': "None/{'x':X,'y':Y}", 'include_uncertainties': 'True/False', 'metadata_level': 'all/basic/None', 'save_extracted': 'True/False', 'use_chunks': 'True/False'}#
- default_read_params: Dict[str, Any] = {'chunks': None, 'include_uncertainties': True, 'metadata_level': 'all', 'save_extracted': False, 'use_chunks': False}#
- classmethod get_extension() str[source]#
Return the extension of the extracted Sentinel-3 OLCI product.
- Returns:
File extension for extracted SEN3 products.
- open_dataset() Dataset[source]#
Open the Sentinel-3 OLCI product and return an xarray.Dataset.
The method resolves configuration, reads coordinate and image data, attaches metadata and optionally includes auxiliary data and masks.
- Returns:
An xarray Dataset representing the opened OLCI product.
- resolve_subset(subset: Dict[str, Any] | None) ResolvedROISubset | None[source]#
Resolve the subset of the OLCI product.
- Parameters:
subset – Subset of the OLCI product.
- Returns:
Resolved ROI subset.