diff --git a/honeybee_radiance_postprocess/results/annual_irradiance.py b/honeybee_radiance_postprocess/results/annual_irradiance.py index 73af2c33..b3390637 100644 --- a/honeybee_radiance_postprocess/results/annual_irradiance.py +++ b/honeybee_radiance_postprocess/results/annual_irradiance.py @@ -172,11 +172,10 @@ def annual_metrics_to_folder( } for metric, data in pattern.items(): metric_folder = folder.joinpath(metric) - extension = metric.split('_')[0] for count, grid_info in enumerate(grids_info): d = data[count] full_id = grid_info['full_id'] - output_file = metric_folder.joinpath(f'{full_id}.{extension}') + output_file = metric_folder.joinpath(f'{full_id}.res') output_file.parent.mkdir(parents=True, exist_ok=True) np.savetxt(output_file, d, fmt='%.2f')