diff --git a/configs/algorithm_parameters_historical.yaml b/configs/algorithm_parameters_historical.yaml index 2a28029..ac347a4 100644 --- a/configs/algorithm_parameters_historical.yaml +++ b/configs/algorithm_parameters_historical.yaml @@ -321,6 +321,3 @@ spatial_wavelength_cutoff: 25000.0 browse_image_vmin_vmax: - -0.1 - 0.1 -# Number of NetCDF products to create in parallel. -# Type: number. -num_parallel_products: 3 diff --git a/src/disp_s1/main.py b/src/disp_s1/main.py index 2f1423c..06a629e 100644 --- a/src/disp_s1/main.py +++ b/src/disp_s1/main.py @@ -222,7 +222,7 @@ def create_products( near_far_incidence_angles = 30.0, 45.0 logger.info(f"Creating {len(out_paths.timeseries_paths)} outputs in {out_dir}") - algorithm_parameters = AlgorithmParameters.from_yaml( + AlgorithmParameters.from_yaml( pge_runconfig.dynamic_ancillary_file_group.algorithm_parameters_file ) # Group all the CSLCs by date to pick out ref/secondaries @@ -238,7 +238,6 @@ def create_products( los_north_file=los_north_file, near_far_incidence_angles=near_far_incidence_angles, water_mask=matching_water_binary_mask, - max_workers=algorithm_parameters.num_parallel_products, ) logger.info("Finished creating output products.") diff --git a/src/disp_s1/pge_runconfig.py b/src/disp_s1/pge_runconfig.py index 1963fa3..d4ec70b 100644 --- a/src/disp_s1/pge_runconfig.py +++ b/src/disp_s1/pge_runconfig.py @@ -213,9 +213,6 @@ class AlgorithmParameters(YamlModel): " creator." ), ) - num_parallel_products: int = Field( - 3, description="Number of NetCDF products to create in parallel." - ) model_config = ConfigDict(extra="forbid")