Merge LI-6800 logs¶
Pool several LI-6800 logs or CSVs into one file, so you can fit them together with a CurveID per curve.
LI-6800 native logs, .xlsx exports and plain CSVs can be mixed. Each is
reduced to a plain table first (the LI-6800 header block and units row are
removed). The rows are then written under one header containing every column
from every file.
Curve IDs¶
- No file has a CurveID column: one is added, set to each file's label (its name without the LI-6800 date-and-time prefix or extension).
- Files already have CurveIDs: they're kept, unless two files use the same
value. LI-6800 logs often all start at 1. In that case every value is
prefixed with its file's label, so curves from different files stay apart,
and the result reports
"namespaced": true.
Output¶
Without --out, the merged CSV is printed. With --out, it's written to the
file, and pk prints a summary with:
files: each input and whether it was convertedcurves: distinct CurveIDsrows: rows writtenwarnings
Mixed light columns
If some files log Qabs and others only Q, the merged file has both
columns. The fitter prefers Qabs, so rows that only have Q would be
dropped as incomplete. pk concat warns when this would happen. Merge
logs recorded the same way.