nwm_region_mgr.formreg.select_formulation.select_formulation#
- nwm_region_mgr.formreg.select_formulation.select_formulation(config, vpu, df_score, gdf_vpu)[source]#
Head function to select formulations for catchments in the VPU.
- Return type:
DataFrame- Parameters:
config – cs.Config Configuration object containing settings for the regionalization.
vpu – str Vector Processing Unit (VPU) for which to select formulations.
df_score – pd.DataFrame DataFrame containing summary scores for each formulation and calibrated basin.
gdf_vpu – Optional[gpd.GeoDataFrame] GeoDataFrame of the VPU polygons, used for spatial operations where needed.
- Returns:
- pd.DataFrame
DataFrame with selected formulations and their scores.