Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aeroval: heatmap data is also wrong if there's all NaN's in a season (related #639) #658

Closed
jgriesfeller opened this issue May 31, 2022 · 0 comments · Fixed by #661
Closed
Assignees

Comments

@jgriesfeller
Copy link
Member

Basically the same as #639 but for heatmap data:

The loops are basically the same at the heatmap data computation as at the map data computation:

for freq, coldata in data.items():
output[freq] = hm_freq = {}
use_dummy = True if coldata is None else False
for regid, regname in region_ids.items():
hm_freq[regname] = {}
for per in periods:
for season in seasons:
perstr = f"{per}-{season}"
if use_dummy:
stats = stats_dummy

use_dummy = True if coldata is None else False
needs to be moved into the seasons loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant