Commit bb040bb5 authored by David Schäfer's avatar David Schäfer
Browse files

bump saqc

parent 04a383d2
......@@ -119,11 +119,13 @@ def flagFromFile(data, field, flags, fname, **kwargs):
return data, flags
def resultStack(result):
def resultStack(data, flags):
assert (data.columns == flags.columns.get_level_values(0).drop_duplicates()).all()
t0 =
variables = []
for col in result.columns:
var = result[col].round(8)
for col in data.columns:
var = flags[col]
var["data"] = data[col].round(8)
var.index = pd.MultiIndex.from_product([[col], var.index])
return pd.concat(variables)
......@@ -143,7 +145,7 @@ def main(infile, outfile, configfile):
saqc = fromConfig(fname=configfile, data=dios, scheme="dmp")
df_out = resultStack(saqc.result)
df_out = resultStack(, saqc.flags)
writeParquet(df_out, outfile)
Subproject commit 78930a9f2410ac04588c1b7bf6a814f1b114315f
Subproject commit 679e887cbe8abe2f2c7af411ab84a500431108ed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment