Skip to content

A minor fix is included in weatherbenchX's interpolation to handle conflicting coordinates when trying to evaluate gridded head predictions against hold-out stations. - #237

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_940714413
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_940714413

Conversation

@copybara-service

Copy link
Copy Markdown

A minor fix is included in weatherbenchX's interpolation to handle conflicting coordinates when trying to evaluate gridded head predictions against hold-out stations.

…nflicting coordinates when trying to evaluate gridded head predictions against hold-out stations.

PiperOrigin-RevId: 940714413

@sylvesterkaczmarek sylvesterkaczmarek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new station test uses a time coordinate, but select_bin_thresholds_by_time_from_chunk() only checks valid_time (or init_time/lead_time). That input falls through and returns the full threshold array unchanged, so the added [2, 3] expectation cannot pass. Should time be handled as the valid-time coordinate here?

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.

2 participants