The File-Level Metadata Data (FLMD) parser is a lightweight python script that can produce a summary of fields based on column headers within a Comma-separated Values (CSV). The script enables a way to extract certain metadata fields from CSV data files. An optional configuration file can be used to select specific column headers to extract a smaller subset of values. The script can be used on a single file, or it can be given a directory to process groups of files in bulk. The FLMD parser outputs the metadata is a JSON and can be configured to update the source file or produce an external companion file.
# ESS-DIVE-META
Extract file-level metadata from csv files in a directory.