add process data

master
François Boulogne 1 month ago
parent 5294d7adbc
commit dcb75614aa

@ -1 +1 @@
__version__ = '0.1.5.4' __version__ = '0.1.5.5'

@ -2,6 +2,8 @@ import pandas as pd
import numpy as np import numpy as np
import yaml import yaml
import os.path
from scipy.signal import savgol_filter from scipy.signal import savgol_filter
@ -30,6 +32,13 @@ def load_data_RH_logger(filepath, every=1):
return df.iloc[::every] return df.iloc[::every]
def process_data_RH_logger(filepath):
df = load_data_RH_logger(filepath, every=1)
h5path = os.path.splitext(filepath)[0]
h5path += '-processed.h5'
df.to_hdf(h5path, key='data')
def load_metadata(filepath): def load_metadata(filepath):
""" """

Loading…
Cancel
Save