Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rdtools/soiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, daily_normalized_energy, daily_insolation, precip=None):
'daily frequency')

if self.precip is not None:
if self.pm.index.freq != 'D':
if self.precip.index.freq != 'D':
raise ValueError('Precipitation series must have '
'daily frequency')

Expand All @@ -64,7 +64,7 @@ def _calc_daily_df(self, day_scale=14, clean_threshold='infer',
clean_threshold : float or 'infer', default 'infer'
If float: the fractional positive shift in rolling median for
cleaning detection.
If 'infer:' automatically use outliers in the shift as the
If 'infer': automatically use outliers in the shift as the
threshold

recenter : bool, default True
Expand Down