Skip to content

Conversation

@uvchik
Copy link
Member

@uvchik uvchik commented Jan 13, 2020

Fixes #95.

Changes proposed in this pull request:

  • If there are nan values in the weather data a warning will raised. The message includes which columns contain nan values.

  • I moved the tests to the tools module, because the code would be duplicate (ModelChain and TurbineClusterModelChain)

I can add tests if you agree with this approach.

[ ] add tests

@uvchik uvchik added this to the v0.2.1 milestone Jan 13, 2020
stickler-ci and others added 3 commits January 13, 2020 15:57
…github.com:wind-python/windpowerlib into features/add_warning_if_nan_values_in_weather_data
@uvchik
Copy link
Member Author

uvchik commented Jan 13, 2020

@woutertP1 Please check if this warning would has helped you.

@SabineHaas , @birgits What do you think?

@uvchik uvchik requested a review from a team January 16, 2020 12:47
Copy link
Member

@SabineHaas SabineHaas left a comment

Choose a reason for hiding this comment

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

I wasn't aware of this problem. Thanks for opening the issue @woutertP1 and thanks for implementing @uvchik!

@uvchik uvchik merged commit a234e0e into dev Feb 12, 2020
@uvchik uvchik deleted the features/add_warning_if_nan_values_in_weather_data branch February 12, 2020 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NaN's in weather_df will result in only zero's as power_output

4 participants