Skip to content

Conversation

@s-boardman
Copy link
Contributor

@s-boardman s-boardman commented Mar 2, 2023

Addresses #321 by correcting the calculation of the period in forecast_period coordinates with bounds. Currently the code tries to repeat a conversion of the values for the bounds into hours which results in an incorrect value. In addition the units of the forecast_period coordinate are not set to hours even though the values are converted to hours.

I suspect the testing I've done could be expanded / improved so I'm particularly keen for feedback which could help improve the coverage.

@lbdreyer lbdreyer self-assigned this Mar 7, 2023
Copy link
Member

@lbdreyer lbdreyer left a comment

Choose a reason for hiding this comment

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

This is brilliant! Thanks for your contribution @s-boardman !

What you have done with the testing is sufficient so I'm happy to just merge this in.

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