Skip to content

Commit

Permalink
Add diagnostic output for reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
bolny committed Jan 16, 2025
1 parent 49bb4ad commit ce710cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/reducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ def calculate_weighted_means(grouped_forecast_data: dict[dict[str, GeoDataFrame]
if zone_name not in result:
result[zone_name] = {}
result[zone_name][forecast_time] = weighted_mean
print(f"Calculated weighted mean for {zone_name} at {forecast_time}: {weighted_mean}")
return result

0 comments on commit ce710cf

Please sign in to comment.