From d323b8eac62622284c1a66297889cd84b984e221 Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Thu, 21 Mar 2024 10:59:07 -0700 Subject: [PATCH] Update suna (#318) * Update rcm_parser.py * Update rcm_parser.py * Update nitrates_parser.py --- src/EcoFOCIpy/io/nitrates_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EcoFOCIpy/io/nitrates_parser.py b/src/EcoFOCIpy/io/nitrates_parser.py index 34f349e..0f5aaed 100644 --- a/src/EcoFOCIpy/io/nitrates_parser.py +++ b/src/EcoFOCIpy/io/nitrates_parser.py @@ -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