diff --git a/systems/diagoutput.py b/systems/diagoutput.py index 643f4d9172..d0793816ae 100644 --- a/systems/diagoutput.py +++ b/systems/diagoutput.py @@ -165,7 +165,9 @@ def forecast_scalars(self): for instrument in instrument_list: scalar = float( - system.forecastScaleCap.get_forecast_scalar(instrument, rule)[-1] + system.forecastScaleCap.get_forecast_scalar(instrument, rule).iloc[ + -1 + ] ) if pooling: # will be overwritten for each instrument