Closed mpvginde closed 2 years ago
Hi Michiel,
Thanks a lot for your message and finding this potential bug! I'll pick it up in one of the coming days and I'll directly check why this passed our tests. ;)
Just to double check, which pysteps version are you using?
Thanks Ruben.
It's version 1.6.1 (#274)
Dear pysteps developers,
I recently ran into to the following error when making a steps blended nowcast with an ensemble of NWP models. The error I got:
I have been able to trace back the error to the fact that in blending/skill_scores.py the function _clim_regrvalues calls the _blending.clim.calc_climskill function:
without the n_models keyword, which then defaults to n_models=1. In the case that no previous skill file exists, the default skill is set, but only for 1 model. In the case you run with multiple nwp models, the n_model index is thus out of bounds.
Hope this is somewhat clear. Michiel Van Ginderachter RMI