preprocessor.steps package
Submodules
preprocessor.steps.browse_report module
- preprocessor.steps.browse_report.apply_browse_report_georeference(input_filename: str, target_filename: str, browse: dict)[source]
preprocessor.steps.calc module
- preprocessor.steps.calc.calc_formula(source_dir: str, target_dir: str, preprocessor_config: dict, inputs: Dict[str, dict], target_filename: str, formula: str, data_type: str = 'Float32', nodata_value: float | None = None, creationOptions: List[str] = [])[source]
- preprocessor.steps.calc.calc_step(source_dir: str, target_dir: str, preprocessor_config: dict, formulas: List[dict], group_by: str | None = None, sort_by: str | None = None, order: List[str] | None = None, ensure_no_data: int | float | complex | bool | None = None, data_file_globs: List[str] = [])[source]
preprocessor.steps.georeference module
- preprocessor.steps.georeference.corner_georef(input_filename: str, target_filename: str, corner_names: List[str] | None = None, gcp_srid: int = 4326, warp: bool = False)[source]
- preprocessor.steps.georeference.fix_geotrans(input_filename: str, target_filename: str, warp_options: dict | None = None)[source]
- preprocessor.steps.georeference.gcp_georef(input_filename: str, target_filename: str, order: int = 1, projection: str = 'EPSG:4326', tps: bool = False, warp_options: dict | None = None)[source]
- preprocessor.steps.georeference.gcps_from_borders(size: Tuple[float, float], coords: Tuple[List[float], List[float], List[float], List[float]])[source]
- preprocessor.steps.georeference.georeference_step(source_dir: str, target_dir: str, preprocessor_config: dict, geotransforms: List[dict], data_file_globs: List[str] = [])[source]
- preprocessor.steps.georeference.gsc_footprint_georef(input_filename: str, target_filename: str, no_data: int | float | None = None)[source]
preprocessor.steps.output module
preprocessor.steps.stack module
- preprocessor.steps.stack.create_groups(group_by, filenames)[source]
Creates groups of files based on group_by configuration check if we have a group_by regex. If yes, use the first re-group to group by. Fallback is basename of file as the only groupname
preprocessor.steps.subdataset module
Module contents
- preprocessor.steps.calc_step(source_dir: str, target_dir: str, preprocessor_config: dict, formulas: List[dict], group_by: str | None = None, sort_by: str | None = None, order: List[str] | None = None, ensure_no_data: int | float | complex | bool | None = None, data_file_globs: List[str] = [])[source]
- preprocessor.steps.extract_subdataset_step(source_dir: str, target_dir: str, preprocessor_config: dict, subdataset_types: Dict[str, str] | None = None, data_file_globs: List[str] = [])[source]
- preprocessor.steps.georeference_step(source_dir: str, target_dir: str, preprocessor_config: dict, geotransforms: List[dict], data_file_globs: List[str] = [])[source]