Aggregate
Compare changes
- Alexander Hinz authored
+ 55
− 28
@@ -7,14 +7,18 @@ import pandas as pd
@@ -43,26 +47,41 @@ def wind(deg, speed):
@@ -70,8 +89,16 @@ def aggregatePeriod(df, pflags1, pflags2, aggregations):
@@ -79,20 +106,15 @@ def aggregatePeriod(df, pflags1, pflags2, aggregations):
@@ -114,6 +136,12 @@ def aggregateData(df, freq, config):
@@ -130,12 +158,13 @@ def procDevice(logger, device, freq, start_date, end_date):
@@ -149,7 +178,6 @@ def procDevice(logger, device, freq, start_date, end_date):
@@ -166,19 +194,18 @@ def main(station, device, start_date, end_date, freq, debug):