Skip to content

Commit

Permalink
minor formatting issue in soiling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoyer committed Aug 10, 2024
1 parent e9a2552 commit 612c9f1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions rdtools/soiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,12 +677,13 @@ def _calc_monte(self, monte, method="half_norm_clean"):
valid_fraction = self.analyzed_daily_df["valid"].mean()
if valid_fraction <= 0.8:
warnings.warn('20% or more of the daily data is assigned to invalid soiling '
'intervals. This can be problematic with the "half_norm_clean" '
'and "random_clean" cleaning assumptions. Consider more permissive '
'validity criteria such as increasing "max_relative_slope_error" '
'and/or "max_negative_step" and/or decreasing "min_interval_length".'
' Alternatively, consider using method="perfect_clean". For more'
' info see https://github.com/NREL/rdtools/issues/272')
'intervals. This can be problematic with the "half_norm_clean" '
'and "random_clean" cleaning assumptions. Consider more permissive '
'validity criteria such as increasing "max_relative_slope_error" '
'and/or "max_negative_step" and/or decreasing '
'"min_interval_length". Alternatively, consider using '
'method="perfect_clean". For more info see '
'https://github.com/NREL/rdtools/issues/272')
monte_losses = []
random_profiles = []
for _ in range(monte):
Expand Down

0 comments on commit 612c9f1

Please sign in to comment.