Skip to content

Commit

Permalink
Update nitrates_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell committed Mar 21, 2024
1 parent 48a770a commit 487d70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EcoFOCIpy/io/nitrates_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ def FilterSuna(self,rmse_cutoff=0.00025):
assert 'Fit RMSE' in self.data_frame.columns , 'Must provide a Fit RMSE column in data'

self.data_frame = self.data_frame[self.data_frame['Fit RMSE'] <= rmse_cutoff]
self.data_frame = self.data_frame.resample('1H').median()
self.data_frame = self.data_frame.resample('1H').median(numeric_only=True)

return self.data_frame

0 comments on commit 487d70e

Please sign in to comment.