|
|
|
@ -9,14 +9,14 @@ def load_data_RH_logger(filepath):
|
|
|
|
|
header = f.readline()
|
|
|
|
|
header = header.strip('# ').rstrip('\n').split('|')
|
|
|
|
|
header.append('X') # Empty col...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
df = pd.read_csv(filepath, sep=' ', names=header, skiprows=1)
|
|
|
|
|
df = df.drop(columns='X')
|
|
|
|
|
df = df.drop(np.arange(1))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
df['dm_m'] = (df['weight'] - df['weight'].iloc[0]) / df['weight'].iloc[0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Crop data
|
|
|
|
|
#df = df.drop(df[df['time'] < 0.02 * 3600].index)
|
|
|
|
|
df = df.reset_index()
|
|
|
|
|