Skip to content
Snippets Groups Projects
Commit fef96a03 authored by Falco Weichselbaum's avatar Falco Weichselbaum
Browse files

changed helpers/statistics.py 299 AND 325 ahead_names to the actual times,...

changed helpers/statistics.py 299 AND 325 ahead_names to the actual times, because non monotonically rising window lead times can occur (it was a simple range before)
parent 6f29d408
No related branches found
No related tags found
6 merge requests!319add all changes of dev into release v1.4.0 branch,!318Resolve "release v1.4.0",!317enabled window_lead_time=1,!314include #313,!310Resolve "allow non-monotonic window lead times in helpers/statistics.py ahead_names definition",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #72462 passed
......@@ -296,7 +296,7 @@ class SkillScores:
:return: skill score for each comparison and forecast step
"""
ahead_names = list(range(1, window_lead_time + 1))
ahead_names = list(self.external_data.ahead.data)
combinations, combination_strings = self.get_model_name_combinations()
skill_score = pd.DataFrame(index=combination_strings)
for iahead in ahead_names:
......@@ -322,7 +322,7 @@ class SkillScores:
:return: all CASES as well as all terms
"""
ahead_names = list(range(1, window_lead_time + 1))
ahead_names = list(self.external_data.ahead.data)
all_terms = ['AI', 'AII', 'AIII', 'AIV', 'BI', 'BII', 'BIV', 'CI', 'CIV', 'CASE I', 'CASE II', 'CASE III',
'CASE IV']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment