pysiral.scripts.l2proc
Classes
Functions
|
Main entry point for the Level-2 Processor job. |
Module Contents
- pysiral.scripts.l2proc.l2proc(processing_period: dateperiods.DatePeriod = None, l2_settings: str | pathlib.Path = None, l2_outputs: List[str | pathlib.Path] = None, exclude_months: List[int] = None, source_dataset_id: str = None, l1p_version: str = None, force_l2def_record_type: bool = False, use_multiprocessing: bool = False, multiprocessing_num_cores: int = None) None
Main entry point for the Level-2 Processor job.
This function initializes the Level-2 processor with the provided settings and processes the Level-1P data files for the specified time range.
- Parameters:
processing_period – Start date for processing in [year, month, [day]] format.
l2_settings – Path to the Level-2 settings file or its identifier.
l2_outputs – List of output definitions for Level-2 products.
exclude_months – List of months to exclude from processing (1-12).
source_dataset_id – Version of the input data (optional).
l1p_version – Version of the Level-1P data (optional).
force_l2def_record_type – If True, forces the use of a specificLevel-2 definition record type.
use_multiprocessing – If True, enables multiprocessing for the processor.
multiprocessing_num_cores – Number of CPU cores to use for multiprocessing (optional).