Skip to content

Commit

Permalink
Update suna (#318)
Browse files Browse the repository at this point in the history
* Update rcm_parser.py

* Update rcm_parser.py

* Update nitrates_parser.py
  • Loading branch information
shaunwbell authored Mar 21, 2024
1 parent 483d9d7 commit d323b8e
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 d323b8e

Please sign in to comment.