diff --git a/res_report.py b/res_report.py index f722d943a..cc47d7e4b 100644 --- a/res_report.py +++ b/res_report.py @@ -339,13 +339,11 @@ class ResourcesReport: print(f"Post process - Resampling {name.capitalize()}") self.resample(records, name) if self.config['resample_rate'] == "M": - if len(records) >= 24 * 60: - # and name in [ - # 'oil', - # 'coin', - # 'gem', - # 'gem_modified', - # ]: + if (len(records) >= 24 * 60 + and name not in [ + 'gem', + 'gem_modified', + ]): self.config['resample_rate'] = "H" self.config['timedelta'] = timedelta(hours=1) self.resample(records, name)