You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
The text was updated successfully, but these errors were encountered: