Skip to content

Commit

Permalink
T -> min for time index frequency in sky_class
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Oct 15, 2024
1 parent 0b1d139 commit 6ef4949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsrdb/utilities/sky_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def add_validation_data(self, df):
)
ti_deltas_minutes = pd.Series(ti_deltas).dt.seconds / 60
ti_delta_minutes = int(mode(ti_deltas_minutes)[0])
freq = '{}T'.format(ti_delta_minutes)
freq = '{}min'.format(ti_delta_minutes)
df = df.drop(['ghi_ground', 'clear'], axis=1)
surf_df = self.surfrad.get_df(
dt_out=freq, window_minutes=self._window_min
Expand Down

0 comments on commit 6ef4949

Please sign in to comment.