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

Drop unused locations upfront #207

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft

Drop unused locations upfront #207

wants to merge 3 commits into from

Conversation

nmdefries
Copy link
Collaborator

@nmdefries nmdefries commented Oct 14, 2021

Certain forecasters, like Imperial-ensemble2, only predict for select locations. This interferes with some of our as-of data selection logic and creates in the final score data an "NA" forecaster with "NA" ahead (hence the second facet of the plot) that causes plot shenanigans. Prevent by removing invalid locations (e.g. "US" if "AK" is selected) during initial filtering of score data, before as-of data is created and joined on.

Closes #160. Also interacts with #161.

@nmdefries nmdefries requested a review from krivard October 14, 2021 21:41
@nmdefries nmdefries marked this pull request as draft October 18, 2021 17:57
Base automatically changed from add-template-refactor-back-plus-patches to dev December 2, 2021 17:29
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 this pull request may close these issues.

1 participant