-
-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Description
Hi, I am using SPOTY's SCEUA algorithm to optimize the VIC model. I want to keep the parameter combinations of each calculation, but I find that the number of parameter combinations in the output csv file is less than iterations, for example, iterations=500, len(params)=208.
sampler = spotpy.algorithms.sceua(cal_setup, dbname=name, dbformat='csv')
sampler.sample(iterations)
results_df = pd.DataFrame(np.array(sampler.getdata()))
columns_to_save = results_df.columns[:7] # 获取前7列的列名
filtered_df = results_df[columns_to_save]
filtered_df.columns = ['like1', 'binfil', 'Ds','Ds_max', 'Ws', 'Soil_D2', 'Soil_D3']
filtered_df.to_excel(outCal + paramfile, sheet_name='param', index=False)
How can I get the VIC parameters for each calculation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels